Closed kumarpatel closed 6 years ago
Thanks for reporting the issue with the feature board, I will speak with Canny about the issue.
Re in-app messaging, you can use it now, see https://twitter.com/mikediarmid/status/1032673313418616833
We'll look at getting some docs added on the website to indicate how to add the SDKs etc - for now, the docs linked there are pretty straight-forward.
Loving react-native-firebase
and the support we provide? Please consider supporting us with any of the below:
React Native Firebase
and Invertase
on Twitter @kumarpatel hello, the board issues have been fixed! 👌 Thanks for reporting.
I am curious, is this functionality in? If so from what version. Thanks for all the hard work!
@brenwell it's just an SDK which needs installing, nothing for us to do on the lib.
Gotcha. Thanks
@Salakar is firebase in-app messaging added to react-native-firebase?
Yes. I have used it, at least
@brenwell can you share me the docs for integration
If I remember correctly this has no React native specific code. Simple follow the standard iOS and Android Firebase installation guides and then start sending
have tried all the possible! still i'm not receiving firebase inapp messages. Don't know what could be the reason. have went through https://firebase.google.com/docs/in-app-messaging/get-started
@brenwell Do you have any idea where things can go wrong
Firebase in-app messages aren't working atleast i'm not able to test them with instance id
platform: android
@GaneshSaiKumar "all the possible", but you don't list the things? Did you read the blog entry from the firebase team and debug each step one by one to make sure your app works with APNS and FCM works with APNS, so console->FCM->APNS->app works, vs just console->FCM->app? It's a different pathway so FCM->app doesn't indicate much. https://firebase.googleblog.com/2017/01/debugging-firebase-cloud-messaging-on.html
@mikehardy updated my comment plz go through again
Very strange. Seems easy enough based on the docs. You killed and reopened the app? You are sure your instanceid is correct? Have you tried with the rnfirebase-starter example clean just as a test run? (I always use a new firebase API there first, personally, to keep tests simple and focused)
yeah i've closed and reopend app still not able to get in app message modal in app. Does firebse in-app messages need FCM integrated? or FIAM alone is an entity?
haven't tried with react-native-firebase-starter but created a new react-native project to test and added firebase to it. not able to figure out the issue
I think i was using pod 'Firebase/Messaging'
not pod 'Firebase/InAppMessagingDisplay'
not sure what the difference is now
@mikehardy react-native-firebase-starter doesn't have fire base in app messages added by default
I've added following line alone to the downloaded project implementation 'com.google.firebase:firebase-inappmessaging-display:17.1.1' as mentioned here https://firebase.google.com/docs/in-app-messaging/get-started
and tired sending an in-app message. Didn't work
Strange. I have no personal experience with in-app messaging yet. It seems like it should be easy but obviously not. Maybe some hook or listener isn't attached between react-native-firebase and the firebase android sdk. Or did a simple web sdk test. I'm just brainstorming at this point though - sorry no real answers.
@Salakar @Ehesp Hey guys can you please take a look into this!!
From the link above it says
In-App Messaging is an essential complement to notifications sent via Firebase Cloud Messaging.
Maybe you need both pods?
might be! but react-native-firebase-starter kit comes with FCM by default. So, even then it should be working at least with starter kit
You have to enable API manually from google console to receive message successfully.
Question 1:- In this popup the background color is not shown. It is always white (infact I changed the color on firebase console as per guidelines ). How can I change the background color?
Question 2:- In this popup is always triggering in splash screen. I want it to trigger in main activity. How to do it?
You have to enable API manually from google console to receive message successfully.
where exactly?
@Anshuman71 after enabling of API try min 10 times of open/closing application or it may take 1-2 hr to get a message successfully(Only for first time).
https://console.developers.google.com
API & Services -> Enable API & Service -> search InAppMessaging -> Enable
https://firebase.google.com/docs/in-app-messaging/
Posted this request at https://boards.invertase.io/react-native-firebase but the post doesn't seem to show even after filtering via search. Load more button doesn't work either. Which is why I created this feature request issue instead.