react-native-notifications icon indicating copy to clipboard operation
react-native-notifications copied to clipboard

No known class method for selectors 'didUpdatePushCredentials:forType:' && 'didReceiveRemoteNotification:'

Open ahmadworks opened this issue 7 years ago • 3 comments

When i add this method to appDelegate.m I get these 2 errors in X-Code, I get these errors

No known class method for selector 'didUpdatePushCredentials:forType:' No known class method for selector 'didReceiveRemoteNotification:'

- (void)pushRegistry:(PKPushRegistry *)registry didUpdatePushCredentials:(PKPushCredentials *)credentials forType:(NSString *)type
{
  [RNNotifications didUpdatePushCredentials:credentials forType:type];
}

- (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(NSString *)type
{
  [RNNotifications didReceiveRemoteNotification:payload.dictionaryPayload];
}

ahmadworks avatar Apr 30 '19 21:04 ahmadworks

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

stale[bot] avatar Jul 24 '19 18:07 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Jul 31 '19 19:07 stale[bot]

@ahmadworks did you find any solution for above.

reactdevrocks avatar Aug 07 '19 09:08 reactdevrocks