Nothing here yet.
No blogs yet.
It's almost OK, just have to bind your event handler to have the this reference to reference your component. Option a) define your method as arrow function ... onButtonPress = () => { // ... } ... Option b) bind explicitly onPress={ this .onButtonPress.bind( this )} Option c) bind implicitly onPress={( event ) => this .onButtonPress( event )} Cheers! See more React Native and JavaScript stuff at https://blog.benestudio.co
You have to implement natively both on iOS and Android. After that you can handle the event when your app is opened through a deep link: https://facebook.github.io/react-native/docs/linking.html Have a look at https://branch.io/. It can help you to avoid the implementation and testing of the corner cases and can manage marketing campaigns as well.