diff --git a/docs/guide.md b/docs/guide.md index 86d1699..23d8d80 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -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); } // ... 其它代码 }