mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 01:26:10 +08:00
bugfix for diffWithIpa
This commit is contained in:
@@ -133,7 +133,7 @@ public class UpdateContext {
|
||||
}
|
||||
|
||||
public String getBundleUrl() {
|
||||
return getBundleUrl("assets://index.android.bundle");
|
||||
return this.getBundleUrl((String)null);
|
||||
}
|
||||
|
||||
public String getBundleUrl(String defaultAssetsUrl) {
|
||||
|
@@ -123,4 +123,14 @@ public class UpdateModule extends ReactContextBaseJavaModule{
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void clearFirstTimeMark() {
|
||||
UiThreadUtil.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
updateContext.clearFirstTimeMark();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user