Skip to content

Commit 25c382e

Browse files
authored
Merge pull request #794 from react-native-webrtc/fix_react_context
Use reactContent instead of getReactApplicationContext to avoid invalid catalyst instance error
2 parents a0d5c33 + ee6e42a commit 25c382e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ public void checkPhoneAccountPermission(ReadableArray optionalPermissions, Promi
588588
allPermissionaw.pushString(allPermission);
589589
}
590590

591-
getReactApplicationContext()
591+
this.reactContext
592592
.getNativeModule(PermissionsModule.class)
593593
.requestMultiplePermissions(allPermissionaw, new Promise() {
594594
@Override

0 commit comments

Comments
 (0)