BookmarkSubscribeRSS Feed
TouchInstinct
Calcite | Level 5

Report of bag of handler push notifications on ios app:
Steps:
1. run application
2. press lock screen button
3. send push
4. wait push
5. open push
6. unlock phone(enter password)
7. method is called

func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
         SASCollector.handleMobileMessage(userInfo, with: application)
}


8. Method of SASMobileMessagingDelegate2  is not called in this case. 

func action(withLink link: String, type: SASMobileMessageType) { }


And method return true

SASCollector.handleMobileMessage(userInfo, with: application)


9. if swap the 5 and 6 step, method SASMobileMessagingDelegate2 is called

func action(withLink link: String, type: SASMobileMessageType) { }


All setting for application was took from document:

SAS® Customer Intelligence 360: User’s Guide


at paragraph:

Apple Production and Development Certificates and Keys for Enabling Push Services


What am I doing wrong?

 

 

3 REPLIES 3
TouchInstinct
Calcite | Level 5

yes, I am doing as described in this documentation, but this bugs is happened always

Method is not called

func action(withLink link: String, type: SASMobileMessageType) { }



ChrisNZ
Tourmaline | Level 20

One for tech support I reckon, this is a niche product a few people here would have used (though you never know, one is enough...).

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1323 views
  • 0 likes
  • 2 in conversation