Update guide.md
This commit is contained in:
parent
c51c944430
commit
51843c2c1d
@ -82,7 +82,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
||||
@Override
|
||||
protected String getJSBundleFile() {
|
||||
return UpdateContext.getBundleUrl(this);
|
||||
return UpdateContext.getBundleUrl(MainApplication.this);
|
||||
}
|
||||
// ... 其它代码
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user