b8ne / react-native-pusher-push-notifications

Manage pusher interest subscriptions and notification events in Javascript.
MIT License
97 stars 85 forks source link

Warning: You should call `pushNotifications.start` from the `AppDelegate.didFinishLaunchingWith` #75

Open daveslutzkin opened 3 years ago

daveslutzkin commented 3 years ago

Not a huge issue but looks like the underlying library would prefer pushNotifications.start to be called on init, which makes sense.

[PushNotifications]: Warning: You should call `pushNotifications.start` from the `AppDelegate.didFinishLaunchingWith`

It's kinda weird that this library does init and register in a single call (setInstanceId) - surely they should be separate?

jocabedRios commented 1 month ago

Hi! Did you find any way to fix it?