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...).

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 693 views
  • 0 likes
  • 2 in conversation