React-native-notifications: No known class method for selectors 'didUpdatePushCredentials:forType:' && 'didReceiveRemoteNotification:'

Created on 30 Apr 2019  路  3Comments  路  Source: wix/react-native-notifications

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];
}
馃彋 stale

Most helpful comment

@ahmadworks did you find any solution for above.

All 3 comments

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.

The issue has been closed for inactivity.

@ahmadworks did you find any solution for above.

Was this page helpful?
0 / 5 - 0 ratings