How to Setup Push Notifications in React Native (iOS & Android)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I cannot add a constructor to the anonymous function (the way the app is made now) How do I get around this?

nialllonergan
Автор

After RN 60, it won't work as the Push Notification library is not part of the RN core anymore. The article is outdated as well. And I am getting the error: Object is not a constructor in React Native when using pubnub-react:
this.pubnub = new PubNubReact({
publishKey: '-',
subscribeKey: '-'
})

jolly
Автор

there is no Token key section, only certification section? where to find that

Qaysgh
Автор

i can't find RCTPushNotification.xcodeProj in ? Then, how should I add this manually?

chaitalikadam
Автор

how do I send notifications from server?

simonrajter
Автор

I meet an error
```
ExceptionsManager.js:84 Unknown argument type 'UNNotificationRequest' in method -[RNCPushNotificationIOS addNotificationRequest:]. Extend RCTConvert to support this type.
```
but I search lots of site and cannot get solved, anyone can help me? I'm new to this tech

annewang
Автор

Hi! I am getting

I tried the solutions mentioned in error log. But There is nothing to change.

How to fix it?

msalih
Автор

Token option no longer available? Only allowing for certificate option.

echodesignsolutions
Автор

There no option to upload p8 file on dashboard seems page changed

funnymemesvideo
Автор

Who the hell wants to do that when its basically a damn text. Ill just email on my at&t

lorenzosalinas
visit shbcf.ru