Skip to content

Commit 00ef852

Browse files
committed
Updated to properly expose to RCT EXPORT METHOD, please forgive the commits this is my first time doing this
1 parent 15e9259 commit 00ef852

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ios/RNCallKeep/RNCallKeep.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,15 @@ + (void)initCallKitProvider {
273273
[self requestTransaction:transaction];
274274
}
275275

276+
RCT_EXPORT_METHOD(isCallActive:(NSString *)uuidString)
277+
{
278+
#ifdef DEBUG
279+
NSLog(@"[RNCallKeep][sendDTMF] key = %@", key);
280+
#endif
281+
NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:uuidString];
282+
[RNCallKeep isCallActive: uuidString]
283+
}
284+
276285
- (void)requestTransaction:(CXTransaction *)transaction
277286
{
278287
#ifdef DEBUG

0 commit comments

Comments
 (0)