Giter Site home page Giter Site logo

Comments (11)

jbolter avatar jbolter commented on July 24, 2024 1

Ok guys I solved it... I think the react-native-navigation docs should be updated for iOS to include this tidbit.

launchOptions is not passed to the bridge if you use the default AppDelegate example from the react-native-navigation docs.

You need to use this to start the app (passing launchOptions) so that the push notification that was pressed is available to the bridge.

[[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation launchOptions:launchOptions];

Once the launchOptions are passed to the bridge you should see the notificationOpened handler is firing as expected.

from react-native-notifications.

enahum avatar enahum commented on July 24, 2024 1

I can confirm that the solution form @jbolter works as a charm. Thanks my friend

from react-native-notifications.

lughino avatar lughino commented on July 24, 2024

Same problem here!

from react-native-notifications.

tnortman avatar tnortman commented on July 24, 2024

+1

from react-native-notifications.

enahum avatar enahum commented on July 24, 2024

not working in IOS 10.3.1, any news?

from react-native-notifications.

d4vidi avatar d4vidi commented on July 24, 2024

@enahum which version of RNN are you using?

from react-native-notifications.

enahum avatar enahum commented on July 24, 2024

@d4vidi im on RNN 1.1.72

from react-native-notifications.

lodev09 avatar lodev09 commented on July 24, 2024

Same here :)

from react-native-notifications.

enahum avatar enahum commented on July 24, 2024

I really don't know anything about Objective-C but I'm wondering if this has anything to do with it https://github.com/wix/react-native-navigation/blob/master/ios/RCCManager.m#L41

from react-native-notifications.

d4vidi avatar d4vidi commented on July 24, 2024

@bruchim Could you possibly help these guys out? They're using <2 navigation version. This issue has been open for a while now.

from react-native-notifications.

jbolter avatar jbolter commented on July 24, 2024

I'm having the same problem and am also using react-native-navigation < v2. Scratching my head here trying to figure out why these handlers don't seem to be called.

from react-native-notifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.