FilipFD

nxt_Facebook_request_problem

Jul 2nd, 2021 (edited)
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. func logRequest_problemEvent(
  2.     name: String
  3.     message: String
  4.     sessionHash: String
  5.     userId: String
  6. ) {
  7.     let parameters = [
  8.         AppEvents.ParameterName("name").rawValue: name,
  9.         AppEvents.ParameterName("message").rawValue: message,
  10.         AppEvents.ParameterName("sessionHash").rawValue: sessionHash,
  11.         AppEvents.ParameterName("userId").rawValue: userId
  12.     ]
  13.  
  14.     AppEvents.logEvent(.init("request_problem"), parameters: parameters)
  15. }
Add Comment
Please, Sign In to add comment