Skip to content

Commit 430c71d

Browse files
committed
fix: improve stability of local video view on android
1 parent f6c94bd commit 430c71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/sendbird/calls/reactnative/module/CallsCommonModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class CallsCommonModule(private val root: CallsModule): CommonModule {
6666

6767
override fun initialize(appId: String): Boolean {
6868
RNCallsLogger.d("[CommonModule] initialize()")
69-
return SendBirdCall.init(root.reactContext, appId)
69+
return SendBirdCall.init(root.reactContext.applicationContext, appId)
7070
}
7171

7272
override fun authenticate(authParams: ReadableMap, promise: Promise) {

0 commit comments

Comments
 (0)