evollu / evollu/react-native-fcm

Not receiving notifications on my device

Open
#464 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

Hey I am running this project on my android 7 device,i am able to get local notifications.
But I am not receiving the server notification.
When i click on the send notification/send data/send notification and data/schedule notification i get an error in the console as below:

'Send notification response', { type: 'default',
status: 401,
ok: false,
statusText: undefined,
headers:
{ map:
{ 'alt-svc': [ 'quic=":443"; ma=2592000; v="39,38,37,36,35"' ],
'x-frame-options': [ 'SAMEORIGIN' ],
'x-content-type-options': [ 'nosniff' ],
server: [ 'GSE' ],
'cache-control': [ 'private, max-age=0' ],
date: [ 'Fri, 14 Jul 2017 04:46:52 GMT' ],
'x-xss-protection': [ '1; mode=block' ],
expires: [ 'Fri, 14 Jul 2017 04:46:52 GMT' ],
'content-type': [ 'text/html; charset=UTF-8' ] } },
url: 'https://fcm.googleapis.com/fcm/send',
_bodyInit: '\n\nUnauthorized\n\n\n

Unauthorized

\n

Error 401

\n\n\n',
_bodyText: '\n\nUnauthorized\n\n\n

Unauthorized

\n

Error 401

\n\n\n' }

I am using react native 0.46.1 version and react-native-fcm 7.1.0 version.
Please need assistance on this issue to receive remote notifications.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.