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

remove blockupdate

This commit is contained in:
sunnylqm
2024-03-20 21:47:44 +08:00
parent 71e5b947d3
commit f2aec36705
7 changed files with 1 additions and 74 deletions

View File

@@ -239,18 +239,6 @@ public class UpdateModule extends ReactContextBaseJavaModule {
});
}
@ReactMethod
public void setBlockUpdate(ReadableMap options) {
final int until = options.getInt("until");
final String reason = options.getString("reason");
UiThreadUtil.runOnUiThread(new Runnable() {
@Override
public void run() {
updateContext.setBlockUpdate(until, reason);
}
});
}
@ReactMethod
public void setUuid(final String uuid) {
UiThreadUtil.runOnUiThread(new Runnable() {