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?
I have no experience doing this, but have you seen this page?
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) { }
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...).
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.
Ready to level-up your skills? Choose your own adventure.