1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-18 01:26:10 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

bugfix for diffWithIpa

This commit is contained in:
tdzl2003
2016-04-04 23:45:29 +08:00
parent 063c14ab45
commit 0caf003b8d
4 changed files with 33 additions and 15 deletions

View File

@@ -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) {

View File

@@ -123,4 +123,14 @@ public class UpdateModule extends ReactContextBaseJavaModule{
}
});
}
@ReactMethod
public void clearFirstTimeMark() {
UiThreadUtil.runOnUiThread(new Runnable() {
@Override
public void run() {
updateContext.clearFirstTimeMark();
}
});
}
}