After implementing firebase dependencies to show firebase-in-app-massage. It works properly but one time. Then, If I again send message its not working..
Asked
Active
Viewed 1,686 times
3

Frank van Puffelen
- 565,676
- 79
- 828
- 807

Synonian_raj
- 154
- 1
- 13
-
could you provide some code so we might be able to find out why it's not working? – Quinn Aug 09 '19 at 13:07
-
Nope, I only put dependencies of Firebase-in-app-massage. implementation 'com.google.firebase:firebase-inappmessaging-display:18.0.2' implementation 'com.google.firebase:firebase-core:17.0.1' – Synonian_raj Aug 09 '19 at 13:11
2 Answers
1
Firebase In-App Messaging will show each message at most once per day on a device, to prevent spamming the user. Jason covered that topic in this #AskFirebase episode.
It also by default only retrieves messages from the server once per day. Since this makes testing hard, you can mark you device as a test device as shown in the documentation on sending test messages.

Frank van Puffelen
- 565,676
- 79
- 828
- 807
-
It means, I have not to worried... Its working fine ???? And also i have not to write some extra code – Synonian_raj Aug 09 '19 at 14:32
-
hello frank ...my inapp message only works test message (like it shows only when put instance id and test) but when i publish that campaign it shows running whenn it will published?? – Wini Dec 09 '20 at 07:56
0
As described in the firebase in-app messaging document, it retrieves messages from the server once per day (on both iOS and Android)
To conserve power, Firebase In-App Messaging only retrieves messages from the server once per day. That can make testing difficult, so the Firebase console allows you to specify a test device that displays messages on demand.

MyNT
- 108
- 1
- 6