1

I have implemented Salesforce SDK on iOS & Android, the MessageOpened is ok after iOS 9 device received push notification.

But it's not working with iOS 10 device & Anroid device. Any one has faced this issue?

  • 1
    Do you have setEtAnalyticsEnabled(true) in the ETPushConfig that you're passing to configureSdk() on Android? You must enable analytics in order for the SDK to collect any analytics data and send it to the Marketing Cloud servers. – Bill Mote Apr 10 '17 at 14:47
  • 1
    is that option really affect? I will try – Jared Chu Apr 11 '17 at 2:12
  • Yes. If you fail to enable analytics in your ETPushConfig then you should have no expectation of receiving analytics. – Bill Mote Apr 11 '17 at 12:18
5
+50

Based on your comment in response to my original question in comments:

Please enable analytics when you call configureSdk(). This will result in analytics data being transmitted to the MarketingCloud servers.

Setting an OpenDirect delegate will have no bearing on the analytics being transmitted as it merely provides a delegate for the message to be displayed after the notification has been displayed and opened.

Android Docs regarding Analytics: ENABLING ANALYTICS

iOS Docs regarding Analytics: ENABLING ANALYTICS

  • 1
    ya, analytics enabling solved the problem. Thank you – Jared Chu Apr 12 '17 at 2:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.