react-native-update 10.19.3 → 10.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@ public class UpdateModuleImpl {
106
106
  }
107
107
 
108
108
  private void loadBundleLegacy() {
109
- final Activity currentActivity = getCurrentActivity();
109
+ final Activity currentActivity = mContext.getCurrentActivity();
110
110
  if (currentActivity == null) {
111
111
  return;
112
112
  }
@@ -171,7 +171,7 @@ public class UpdateModule extends ReactContextBaseJavaModule {
171
171
  }
172
172
 
173
173
  private void loadBundleLegacy() {
174
- final Activity currentActivity = getCurrentActivity();
174
+ final Activity currentActivity = mContext.getCurrentActivity();
175
175
  if (currentActivity == null) {
176
176
  return;
177
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.19.3",
3
+ "version": "10.19.4",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {