Add Notifications To existing app

#1

Hi. I have a fully functional app that uses it’s own login process and everything else, meaning I’m not using Firebase or anything like that.I just received a new requirement to send notifications to users on demand.

My question is, what is the best way to implement this? And please point to a tutorial or an example that I could use

Thank you

#2

I would suggest trying this one: https://webcache.googleusercontent.com/search?q=cache:quDMaAUjEEoJ:https://ampersandacademy.com/tutorials/materialize-css/push-notification-in-ionic-2-native-plugin-version-2-3-with-firebase-hosting-service-provider+&cd=1&hl=en&ct=clnk&gl=vn

The original link has been down but the cached version is still working.

1 Like
#3

Sending Push Notifications to app users plays a very import role in marketing the product, notifying the user related info etc. In e-commerce, automated user specific Push Notifications plays a vital role to market new products arrival, offers, delivery time etc.

As hn162 suggested, you can try the tutorial from ampersandacademy using firebase.

#4

I tried the tutorial, it’s forcing me to use pod which introduced a whole other set of issues when I tried to build and deploy. I spent more than 12 hours trying to get it to work. I never even heard of pod prior to this.

I’m going to try to see if I could use ionic native firebase plugin without the push plugin recommended in the tutorial.

Anyone have any other suggestions?

#5

I told the user that adding push notifications to the app would probably take 5-6 hours. 5-6 days later and still not working… :face_with_symbols_over_mouth: :face_with_symbols_over_mouth:

#6

After going back and forth on all different suggestions online, I went back to using the push plugin as @hn162 suggested. It seems like it is working but when I sent a notification to an ios device I get the following error:
2019-01-20 16:09:20.704333-0500 4.13.0 - [Firebase/Messaging][I-FCM002019] FIRMessaging received data-message, but FIRMessagingDelegate’s-messaging:didReceiveMessage: not implemented

I tried all types of suggestions to remedy this but I can’t find one that works. If anyone has any idea please post it

#7

I finally got it to work! I followed this link https://angularfirebase.com/lessons/ionic-native-with-firebase-fcm-push-notifications-ios-android/

After having tried multiple different tutorials and suggestions I started again with a clean clone of my source in a new folder and followed the exact instructions in the link above. The only thing I didn’t use was the firebase datastore since I’m not using Firebase for that

ionic 3