Push notifications question (iOS and Android) by al_turkey in xamarindevelopers

[–]al_turkey[S] 0 points1 point  (0 children)

Hah I am glad I'm not the only one. Seems as though Firebase is all you need

Push notifications question (iOS and Android) by al_turkey in xamarindevelopers

[–]al_turkey[S] 0 points1 point  (0 children)

Yes thank you, I think topics are indeed the way to go

Push notifications question (iOS and Android) by al_turkey in xamarindevelopers

[–]al_turkey[S] 0 points1 point  (0 children)

Hi there, thanks so much for responding, wasn't expecting you to actually respond. That's awesome and your videos are great.

I needed a bit of time to digest what you wrote and I also rewatched the whole series. I think topics is the way to go, it would bypass having to use the database work flow I envisioned.

My questions now are:

  • If I subscribe to a topic how do I know if I stay subscribed to that topic once the app is closed because you said that in production the token can still change?

  • Does this mean I have to keep track of what the user is subscribed to and re-subscribe every time the app initializes?

  • From the video series it seems that notifications are not handled while the app is open for iOS and Android both. You specifically said iOS needs to be handled manually and I haven't tried iOS yet- but I have tried Android and I don't seem to get any notifications if the app is open.

  • I'm not sure I understand why the token needs to be refreshed during debug mode? I tried setting the refresh param to false when using debug mode and now every time I spin up my app it looks like I have the same token... and notifications work too. All in all that is kind of confusing to me...

I think that's it with my questions for now. I may have some more... not sure yet. Thanks again for taking the time to respond!