DEV Community

Discussion on: How to pass initial props from Android native.

Collapse
 
lmichailian profile image
Lucas Michailian

Excelent post! A question: How if I want do this but onResume lifecycle ??

Collapse
 
ryohlan profile image
Ryohlan

Thank you :)

This is for initialization.

You should use NativeEventEmitter ;)
facebook.github.io/react-native/do...

Collapse
 
lmichailian profile image
Lucas Michailian

Thanks for your reply !

Collapse
 
silajitbukaisil profile image
Silajit Sil

{this.props.message} .... This is not showing anything on the screen. And even though there is no error also. Can you please help what is wrong here?

Thread Thread
 
ryohlan profile image
Ryohlan

Hi, I tried it on v0.58. It works successfully.

This props can receive only entry point which the default is App.js.