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 {
90
90
} ;
91
91
92
92
checkIfBusy = ( ) =>
93
- Platform . OS === 'ios'
93
+ isIOS
94
94
? RNCallKeepModule . checkIfBusy ( )
95
95
: Promise . reject ( 'RNCallKeep.checkIfBusy was called from unsupported OS' ) ;
96
96
97
97
checkSpeaker = ( ) =>
98
- Platform . OS === 'ios'
98
+ isIOS
99
99
? RNCallKeepModule . checkSpeaker ( )
100
100
: Promise . reject ( 'RNCallKeep.checkSpeaker was called from unsupported OS' ) ;
101
101
@@ -116,9 +116,9 @@ class RNCallKeep {
116
116
RNCallKeepModule . setCurrentCallActive ( ) ;
117
117
} ;
118
118
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 )
122
122
: Promise . reject ( 'RNCallKeep.reportUpdatedCall was called from unsupported OS' ) ;
123
123
}
124
124
You can’t perform that action at this time.
0 commit comments