zoho / salesiq-mobilisten-android-sample

Sample App to integrate SalesIQ Android SDK (Mobilisten)
https://mobilisten.io/
14 stars 4 forks source link

FirebaseInstanceId does not work with firebase com.google.gms:google-services:4.3.8 #29

Closed hungkoala closed 3 years ago

hungkoala commented 3 years ago

got error when update to com.google.gms:google-services:4.3.8

please update

Angu-G commented 3 years ago

Hello @hungkoala, We hope you have mentioned the API used to enable the push notification. As we have already mentioned in our React-Native repo, you can make use of the token that you get from onNewToken() method directly in our API. Will update the same in doc. You can refer to the example code below.

@Override
public void onNewToken(String token){
   ZohoSalesIQ.Notification.enablePush(token, --true/false--);
}
Angu-G commented 3 years ago

@hungkoala We are closing the issue here since it is followed up in another thread.