Open fuadnassar90 opened 4 years ago
some of our developers tried to implement it from native code for android and ios and that work as fine when app in background. but push notification does not work when app in forground. we can provide you a full demo project of that. What should you do ? just fix callback method and create a cn1lib for that, it doesn't need more than 1 day from you.
note: this way doesn't need a pro account to send push notification.
@javieranton-zz Thank you to helping, i can see your msg in my email and we will testing that.
@fuadnassar90 I put it all otgether here have a look https://collaborativegroups.blogspot.com/2020/05/implementing-native-android-ios-push-in.html
Wow really you are a strong programmer it's an amazing thing Thank you so much Best Regards
Thx, learning as I go... just hope this enables the community to create some awesome push stuff that currently is a bit tricky... go CN1
Yeb, it would be so nice if this was added to cn1 by @shannah @codenameone
To be fair CN1's own implementation (with subscription) is fantastic if you're looking for a straightforward implementation that's out-of-the-box. The difficulty lies in that it kind of stops you from implementing it yourself. It kind of makes CN1 a difficult framework to work with when its beauty is the simplification it offers and also lowers the quality of the apps built with it as they can't customize push to their own needs. It was a brilliant idea when push was new and simple but nowadays there are so many use cases. Anyway hope this works for you and for anyone trying to find a way through this
our developers need to send push notification from firebase to android and iOS devices,