We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 437975a commit 17daf05Copy full SHA for 17daf05
1 file changed
android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java
@@ -106,7 +106,7 @@ public void onDownloadFailed(Throwable error) {
106
}
107
108
private void loadBundleLegacy() {
109
- final Activity currentActivity = getCurrentActivity();
+ final Activity currentActivity = mContext.getCurrentActivity();
110
if (currentActivity == null) {
111
return;
112
0 commit comments