S Sonny_vonShark New Member Oct 6, 2022 #1 Hello all, I am new to B4A and I have followed Erel's tutorial exactly how he shown in his video including Firebase. My problem is though that when the notification is displayed on my phone, I have to swipe it away so when I run the B4J side of it again, it pops up again. It does not do anything if the notification is still displayed, no stacking no nothing. I wish to configure it so that when I run debug or release multiple times that the notifications stack. Plus I wish to also have notifications with different messages relating to an activity the app or the user(me) did or so and not sure how to set that up.
Hello all, I am new to B4A and I have followed Erel's tutorial exactly how he shown in his video including Firebase. My problem is though that when the notification is displayed on my phone, I have to swipe it away so when I run the B4J side of it again, it pops up again. It does not do anything if the notification is still displayed, no stacking no nothing. I wish to configure it so that when I run debug or release multiple times that the notifications stack. Plus I wish to also have notifications with different messages relating to an activity the app or the user(me) did or so and not sure how to set that up.
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2022 #2 Make sure to set a different id for each message: Code: n.Notify(1) Sonny_vonShark said: Plus I wish to also have notifications with different messages relating to an activity the app or the user(me) did or so and not sure how to set that up. Click to expand... You can do it either in the server side or the client. Upvote 1
Make sure to set a different id for each message: Code: n.Notify(1) Sonny_vonShark said: Plus I wish to also have notifications with different messages relating to an activity the app or the user(me) did or so and not sure how to set that up. Click to expand... You can do it either in the server side or the client.
S Sonny_vonShark New Member Oct 7, 2022 #3 Erel said: Make sure to set a different id for each message: Code: n.Notify(1) You can do it either in the server side or the client. Click to expand... Thanks! That n.Notify IDs worked! If I change it to n.Notify(DateTime.Now) that works like a charm. Upvote 0
Erel said: Make sure to set a different id for each message: Code: n.Notify(1) You can do it either in the server side or the client. Click to expand... Thanks! That n.Notify IDs worked! If I change it to n.Notify(DateTime.Now) that works like a charm.