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

feat: add restartApp (#488)

This commit is contained in:
陈赳赳
2025-04-08 16:00:15 +08:00
committed by GitHub
parent 7a9f579327
commit 1767fe37fa
8 changed files with 91 additions and 0 deletions

View File

@@ -97,6 +97,11 @@ public class UpdateModule extends NativePushySpec {
UpdateModuleImpl.reloadUpdate(updateContext, mContext, options,promise);
}
@Override
public void restartApp(Promise promise) {
UpdateModuleImpl.restartApp(updateContext, mContext, promise);
}
@Override
public void setNeedUpdate(ReadableMap options,Promise promise) {
UpdateModuleImpl.setNeedUpdate(updateContext, options,promise);