Skip to content

Commit e3974c4

Browse files
authored
Update Readme.md (change AppDelegate.m) (#54)
I added 'payload:nil' to the RNCallKeep call since this is required to stop xcode from throwing error about not having a selector.
1 parent 87d1a91 commit e3974c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Make sure you enabled the folowing in `Xcode` -> `Signing & Capabilities`:
140140
NSString *handle = payload.dictionaryPayload[@"handle"];
141141

142142
// --- You should make sure to report to callkit BEFORE execute `completion()`
143-
[RNCallKeep reportNewIncomingCall:uuid handle:handle handleType:@"generic" hasVideo:false localizedCallerName:callerName fromPushKit: YES];
143+
[RNCallKeep reportNewIncomingCall:uuid handle:handle handleType:@"generic" hasVideo:false localizedCallerName:callerName fromPushKit: YES payload:nil];
144144

145145
completion();
146146
}

0 commit comments

Comments
 (0)