Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initWithBridge. initialProperties 在rn中获取不到对应的数据 #74

Open
kaixiniOSTT opened this issue Nov 15, 2018 · 1 comment

Comments

@kaixiniOSTT
Copy link

RCTRootView *rootView = [[RCTRootView alloc]initWithBridge:_bridge moduleName:@"app" initialProperties:@{@"isDebug":@"sad"}];

class Router
console.log('app initprops :' + this.props.isDebug)
app initprops : undefined

@kaixiniOSTT
Copy link
Author

kaixiniOSTT commented Nov 15, 2018

react-native init. is ok
dvanative git app cannot get then initprops params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant