File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ class RNCallKeep {
9090 } ;
9191
9292 checkIfBusy = ( ) =>
93- Platform . OS === 'ios'
93+ isIOS
9494 ? RNCallKeepModule . checkIfBusy ( )
9595 : Promise . reject ( 'RNCallKeep.checkIfBusy was called from unsupported OS' ) ;
9696
9797 checkSpeaker = ( ) =>
98- Platform . OS === 'ios'
98+ isIOS
9999 ? RNCallKeepModule . checkSpeaker ( )
100100 : Promise . reject ( 'RNCallKeep.checkSpeaker was called from unsupported OS' ) ;
101101
@@ -116,9 +116,9 @@ class RNCallKeep {
116116 RNCallKeepModule . setCurrentCallActive ( ) ;
117117 } ;
118118
119- reportUpdatedCall ( uuid , localizedCallerName ?: String ) {
120- return Platform . OS === 'ios'
121- ? _RNCallKit . reportUpdatedCall ( uuid , localizedCallerName )
119+ reportUpdatedCall ( uuid , localizedCallerName ) {
120+ return isIOS
121+ ? RNCallKeepModule . reportUpdatedCall ( uuid , localizedCallerName )
122122 : Promise . reject ( 'RNCallKeep.reportUpdatedCall was called from unsupported OS' ) ;
123123 }
124124
You can’t perform that action at this time.
0 commit comments