mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-13 17:45:34 +08:00
remove old method
This commit is contained in:
@@ -461,15 +461,6 @@ public class CodePushNativeModule extends ReactContextBaseJavaModule {
|
||||
promise.resolve(false);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void restartApp(boolean onlyIfUpdateIsPending) {
|
||||
// If this is an unconditional restart request, or there
|
||||
// is current pending update, then reload the app.
|
||||
if (!onlyIfUpdateIsPending || mSettingsManager.isPendingUpdate(null)) {
|
||||
loadBundle();
|
||||
}
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void saveStatusReportForRetry(ReadableMap statusReport) {
|
||||
mTelemetryManager.saveStatusReportForRetry(statusReport);
|
||||
|
||||
Reference in New Issue
Block a user