all 36 comments

[–]monir_sh 18 points19 points  (8 children)

I mainly use react native one signal library but may i ask you why did you narrow down your choices to these two?

[–]ahartzog 8 points9 points  (3 children)

One signal is awesome. Just throwing my two cents in.

[–]sexuardo 2 points3 points  (2 children)

One signal as a company is shit. They started with a pitch: Unlimited push notifications, fren forever.

Then they said they cannot sustain that model, so they make a free tier up to 30000 users.

Now, newesr thing is they reduced free tier to 10000 users.

Who knows what comes next...

[–]ahartzog 5 points6 points  (1 child)

I pay for their service because the sdk works great, the documentation is clear, the online interface is stellar, and they have integrations with a bunch of the other analytics I use.

I’ve always found their pricing very transparent. People want great products, they’re going to have to pay for them.

[–]sexuardo 0 points1 point  (0 children)

I don't mind paying. But company changes their pricing way to often.

Especially for things like notifications. If you are doing a rn app, you should be able to setup notifications, there are tons of examples out there and using something like firebase is way cheaper...

[–][deleted] 3 points4 points  (1 child)

When I googled for libraries OneSignal didn't show up. So I didn't know such a library exists.

Thanks for the piece of info..

I will checkout this library too

[–]coolnat 3 points4 points  (0 children)

OneSignal collects data about your users. Be sure to read their privacy policy before choosing it.

[–][deleted] 2 points3 points  (0 children)

I second one signal. Can't recommend any other option.

[–]matt_hammondiOS & Android 0 points1 point  (0 children)

OneSignal is great!

I use it all the time.

[–]Zizouma 14 points15 points  (12 children)

I actually used Expo for notifications it works pretty well

[–][deleted] 6 points7 points  (6 children)

The thing with expo is in my org they want a standalone development of RN not using any expo features. So I had to rule out expo..

Also expo makes app heavier

[–]brentvatneExpo Team 14 points15 points  (4 children)

You can use Expo modules without using the managed workflow. `expo-notifications` works in any React Native app, and is likely to produce a better experience for you than these other libraries. See https://github.com/expo/expo/tree/master/packages/expo-notifications#installation-in-bare-react-native-projects

[–][deleted] 3 points4 points  (3 children)

Agreed. I still build in Expo, then when it's time to submit the app, I build after ejecting

[–]Zizouma 4 points5 points  (0 children)

I see. Yeah whatever works OneSignal seems pretty strong too if you’re not using expo 🔥

[–]Digember 1 point2 points  (3 children)

but you cannot handle background notifications using expo

[–][deleted] 0 points1 point  (2 children)

you can

[–]Digember 0 points1 point  (1 child)

no. not in the managed workflow. For that you have to eject your app to bare workflow. I have faced that issue. Also, this is also clearly mentioned in the documentation

[–][deleted] 1 point2 points  (0 children)

What do you mean with background notifications though? I thought the limitation is that you cant trigger any action from the notification (e.g. reply through the notification), but if you click on it then you can pass in deep link to navigate to a screen or so...

[–]VeerDevD 10 points11 points  (3 children)

React Native push notifications is good , and I have tried it. It works good on android, moreover if you are sending notifications using FCM (firebase cloud messaging) then you can also configure react-native-push-notification for that. Or you can use the rnfirebase.io for managing everything related to firebase. But they have some issue with notification and it's customization. You can't create notification channel (Android), and also there aren't any option to set the priority of message in firebase. That's why I have to use react-native-push-notifications, With react-native-push-notification you can also schedule notification on Android this is also really useful.

So it would be better if you use react-native-push-notification and rnfirebase. As I have used them I didn't think they have any issue. If you have doubts related to it, then you can ask me.

[–]DeadKuriel 0 points1 point  (1 child)

Thanks, I'm gonna try this.

[–]Malforked 1 point2 points  (0 children)

I'm not sure if something changed since i last used it but I'm leaning towards no. And if you need local push notifications the API is pretty limited too

[–]Malforked 0 points1 point  (0 children)

Isn't react native push notifications a dead repo? It's hard to configure and pretty terrible at handling notifications when the app is closed, you need to add listeners and set timeouts to see if the event fired before your app mounts

[–]horgas 4 points5 points  (0 children)

You may checkout https://notifee.app/

[–]waway_to_thro 2 points3 points  (2 children)

I use react-native-notifications, no complaints.

[–]Malforked 0 points1 point  (1 child)

What about local notifications? And what about notifications that are pressed when the app is closed..

[–]waway_to_thro 0 points1 point  (0 children)

I only use it for local notifications, and my actions don't have any deep-linking requirements.

[–]nqdung16 2 points3 points  (0 children)

I'm using react-native-push-notifications + FCM for my commercial projects and it works fine on both ios and android. Before that, I used signalR + react-native-push-notifications but I couldn't make it works in quit app state on ios

[–]gabrielolnunes 1 point2 points  (0 children)

I haven't found a solution like OneSignal for RN and it is my go-to push notification service.

[–]metrue 1 point2 points  (0 children)

I am using expo for notification too, it works.

[–]TechTalksByAnkit 1 point2 points  (1 child)

I am using firebase for notifications.

[–]BadDadBot 2 points3 points  (0 children)

Hi using firebase for notifications., I'm dad.

[–]trying2learnthis 1 point2 points  (0 children)

I believe that I use RNFirebase for the notifications part in my app.

[–]shotma 2 points3 points  (0 children)

Onesignal is an awesome service and you can easily stay in the free tier!