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

I can't init push notification

Open AngelDev0329 opened this issue 1 year ago • 5 comments

I am getting this error when init push notification using this code

RNPusherPushNotifications.setInstanceId(Pusher.PUSHER_INSTANCE_ID);
 ERROR  TypeError: Cannot read property 'setAppKey' of null

AngelDev0329 avatar Jan 20 '23 15:01 AngelDev0329

I got the same.

I updated react-native in v0.71.3

arochedy avatar Mar 08 '23 14:03 arochedy

My bad I forgot to add this

packages.add(new RNPusherPushNotificationsPackage()); // << Make sure this line is here in mainApplication.java

arochedy avatar Mar 10 '23 08:03 arochedy

Same issue on android

traxx10 avatar Jul 13 '23 15:07 traxx10

@arochedy can you share the steps for manual installation?

Lakshyakatarmal avatar Jun 20 '24 06:06 Lakshyakatarmal

**traxx10 ** com

did you find any solution?

Lakshyakatarmal avatar Jun 20 '24 06:06 Lakshyakatarmal