You must have done the following steps in order the for tests to work:

  1. Installed release version of the application containing the FA SDK on a test device

  2. Done at least 1 session on the test device (this means opening the application and make the session)

  3. If you have an iOS device, you need to have accepted the register for push

  4. Wait. It can up to 20min top to generate the push token.

  5. Get your device id. You can get it from the device observer.

  6. Either use the button "Send push notification" available in the device observer, or use the "Message" > "In-device preview" tab in the campaign creation flow 

  7. You should see a message "Successful push notification sent"

Troubleshooting:
iOS 

  • Check if a .p12 push certificate has been uploaded for the app you are currently testing. If you don't have a valid certificate, you will get this error:

  • Check if you have accepted to receive push notifications for this app. The default system pop-up should be displayed if you just installed the app

  • Check the logs coming up from your device in the device observer and check the "Server received POST request for: /api/notification" see if your device is optin for push notifications.

If those fields retrieve false, it means there is an integration issue. Please contact your developers. 

  • Check if the token comes up in the device observer or not. The logic of checking is the following: You need to put "Token" in the search bar and check the first logs that come up in the list. In that way you are sure that you will be able to send push notifications via your SDK. 

       PLEASE NOTE: If you are using another SDK implemented at the same time with FollowAnalytics SDK which is using Swizzling, it may cause problems of sending token. Disabling swizzling may solve the problem and token can be sent without problem.


Android

  1. If you have a mismatchSenderId error. Please first check if the FCM key field in your app (admin) is filled with the right FCM key. If yes, please check with your dev team if the right google-services.json file (it has to match the exact package name of the app) has been added to your project.

  2. Check the logs coming up from your device in the device observer and check the "Server received POST request for: /api/notification" see if your device is optin for push notifications.

Did this answer your question?