React-native-notifications: Can someone show me a RNN and RNNotifications example please?

Created on 11 Jan 2019  路  8Comments  路  Source: wix/react-native-notifications

I am currently trying to integrate react-native-notifications with react-native-navigation and even though I read the wiki about it I am still finding it hard to understand how to do so, for example: where do I need to put the code needed for the subscription (https://github.com/wix/react-native-notifications/blob/master/docs/subscription.md)? Can someone please show me an example using RNN (preferably version 1 if possible) together with RNNotifications? Thanks

馃彋 stale

Most helpful comment

The question was related to the use of React Native Navigation and React Native Notifications. There's specific instructions about integrating these libraries. The example pointed to has a basic build and doesn't include RNN. It appears that the RNN instructions are outdated as there are expected libraries that no longer exist in the latest builds of RNN. Does anyone have a more recent integration example they can post?

All 8 comments

Hi @lfa9603, this repo including an example. You can find it here https://github.com/wix/react-native-notifications/tree/master/example.
Hopefully, it will help you.

Thanks a lot! @moshekagan

The question was related to the use of React Native Navigation and React Native Notifications. There's specific instructions about integrating these libraries. The example pointed to has a basic build and doesn't include RNN. It appears that the RNN instructions are outdated as there are expected libraries that no longer exist in the latest builds of RNN. Does anyone have a more recent integration example they can post?

@lfa9603 @rickgonzalez Here's an example https://github.com/RocketChat/Rocket.Chat.ReactNative

@diegolmello doesn't seem to be relevant since we are talking about react-native-navigation V2 and not react-navigation (which is completely different) as specified in the package.json for the project you linked. I can see in one of the commits that it was changed to react-navigation. Was it running before with RNNv2? and if so, could you point me to the respective commit? and may I ask what was the reason for this?

@sorin-f-wiredelta I'm sorry about that. We migrated 3 days ago.
Until this commit we were using RNN with react-native-notifications.
We switched to react-navigation because it's too hard to maintain an app with RNN.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

Was this page helpful?
0 / 5 - 0 ratings