apptentive / apptentive-react-native

Apptentive SDK module for React Native
https://learn.apptentive.com/article-categories/react-native/
BSD 3-Clause "New" or "Revised" License
15 stars 19 forks source link

Android Push Notifications #107

Open Ayat11 opened 4 years ago

Ayat11 commented 4 years ago

We are trying to make android push notifications work, we only found support in the native module as stated in the readme , and since we are using react-native-firebase messaging, it would be easier to have the native methods mapped to JS code, so we did map the method setPushNotificationIntegration to use it directly in the js code and pass the fcm token, and it is working, so the logs show V/Apptentive: [Apptentive Queue] [CONVERSATION] Setting push provider: 0 with token e4VabJo4z.... which means that the native method is invoked fine, we setup the integration with Apptentive push and added our firebase server key, but we still can't receive any notifications on our side.

Are we missing something here? is your firebase integration working properly at the moment? are you planning to support push notifications in the react native sdk anytime soon?

Thanks!

CaseyApptentive commented 4 years ago

Hi @Ayat11 ! Great question. We currently support Firebase for native release and do not expose SDK functions to Javascript.

I'd be happy to share your feedback with my product team.

We only use push for notifying customers of replies from Message Center. Another option that you could use is to reply to customers via email. I know that this isn't the same experience as push, but I wanted to give you other options in case it helps free you up.

Can you email me directly support@apptentive.com with details on which app you're working on, then I can help coordinate your best options with your Customer Success Manager?

Thanks.