React-native-push-notification: iOS Push Notification is not working

Created on 8 Jul 2020  Ā·  15Comments  Ā·  Source: zo0r/react-native-push-notification

Question

Apple push notification have stopped working in our app using your plugin. We previously had this working using the same version of your plugin and same versions of our app components. In addition we can no longer send a Test Notification via the Firebase Cloud messaging. The Push Token is generating and I have already uploaded the .p8 certificate and .p12 into Firebase.
Are you able to recommend a solution to this problem?

iOS version - 13.3.1
@react-native-community/push-notification-ios": "^1.1.1
"react-native-push-notification": "git+https://[email protected]/zo0r/react-native-push-notification.git",
xCode - 11.2.1

Most helpful comment

Hi @minaonlyone

{
    "results": [
        {
            "registration_token": "ezaqzjcXdjg:APA91bEFtZ5pTSZF7d4MV-irhnfm4kN2lXAXUis7UueOBQcRCU6cD7KFe8fd-wtdR4QE82sbZc1HewGinGp_KooYmHLBS8xnBOy0ZI6yN3yrfVZVjw9q",
            "apns_token": "79daeb845c74afd8392e13a66b883f55263c174134",
            "status": "OK"
        }
    ]
}

This result from api, and i test in firebase, keep not working.

Are you using sandbox or production environment..
Try requesting with false and true sandbox value and use the registration_token when testing in fcm.

sandbox : Boolean to indicate sandbox environment (TRUE) or production (FALSE)

All 15 comments

Hi @igeeganage
How can you be sure you are on the same version, since you are pulling directly github ?
Also, this bug is related to iOS, you should look at https://github.com/react-native-community/push-notification-ios

Hi @Dallas62 again
This not working in ios 13.4, but device token is received. I have already follow this step https://github.com/react-native-community/push-notification-ios keep not working.
You have solution for this?

Can you post part of the token ? its probably not fcm registeration token...
Check this section To learn how to get the FCM token not APNS.

Hi @Dallas62 again
This not working in ios 13.4, but device token is received. I have already follow this step https://github.com/react-native-community/push-notification-ios keep not working.
You have solution for this?

@minaonlyone Thanks for your help.

@minaonlyone Thanks for your help.

Let us know if this solved your problem.

Hi @minaonlyone

{
    "results": [
        {
            "registration_token": "ezaqzjcXdjg:APA91bEFtZ5pTSZF7d4MV-irhnfm4kN2lXAXUis7UueOBQcRCU6cD7KFe8fd-wtdR4QE82sbZc1HewGinGp_KooYmHLBS8xnBOy0ZI6yN3yrfVZVjw9q",
            "apns_token": "79daeb845c74afd8392e13a66b883f55263c174134",
            "status": "OK"
        }
    ]
}

This result from api, and i test in firebase, keep not working.

Hi @minaonlyone

{
    "results": [
        {
            "registration_token": "ezaqzjcXdjg:APA91bEFtZ5pTSZF7d4MV-irhnfm4kN2lXAXUis7UueOBQcRCU6cD7KFe8fd-wtdR4QE82sbZc1HewGinGp_KooYmHLBS8xnBOy0ZI6yN3yrfVZVjw9q",
            "apns_token": "79daeb845c74afd8392e13a66b883f55263c174134",
            "status": "OK"
        }
    ]
}

This result from api, and i test in firebase, keep not working.

Are you using sandbox or production environment..
Try requesting with false and true sandbox value and use the registration_token when testing in fcm.

sandbox : Boolean to indicate sandbox environment (TRUE) or production (FALSE)

@minaonlyone thanks for your help, now is work. Sorry this my first ios app. šŸ˜„

Its okay.. glad to help you :+1:

Hi All,

Still I’m having a same issue. could you guys help me to fixed this issue

Thanks,
Ishan
From: minaonlyone notifications@github.com
Reply-To: zo0r/react-native-push-notification reply@reply.github.com
Date: Monday, 13 July 2020 at 2:12 pm
To: zo0r/react-native-push-notification react-native-push-notification@noreply.github.com
Cc: Kaveh Saket igeeganage@contactpoint.com.au, Mention mention@noreply.github.com
Subject: Re: [zo0r/react-native-push-notification] iOS Push Notification is not working (#1512)

Its okay.. glad to help you šŸ‘

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/zo0r/react-native-push-notification/issues/1512#issuecomment-657348422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRA62FCNKUMK7RN3ESE3VLR3KCSXANCNFSM4OUGKX6Q.

Contactpoint | www.contactpoint.com.auhttps://www.contactpoint.com.au
Level 4, 468 St.Kilda Road, Melbourne VIC 3004
PH: (03) 8525 2082

[https://www.contactpoint.com.au/images/ContactpointTechnologyToGrow.jpg]https://www.contactpoint.com.au

[https://www.contactpoint.com.au/images/EnudgeBannerforEmailSignature.jpg]https://www.enudge.com.au

Check my comments above .. maybe you have the same problem.

@minaonlyone notification showing, but i am try to get received in console not showing. In android work perfect, can you help me.

@igeeganage can i see your token in ios ?

@gibrandev any progress? I'm having same issue..

Can you post part of the token ? its probably not fcm registeration token...
Check this section To learn how to get the FCM token not APNS.

Hi @Dallas62 again
This not working in ios 13.4, but device token is received. I have already follow this step https://github.com/react-native-community/push-notification-ios keep not working.
You have solution for this?

@Vanns35 Hi, you can check this section

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GastonEDiaz picture GastonEDiaz  Ā·  3Comments

nguyenvanphuc2203 picture nguyenvanphuc2203  Ā·  3Comments

anativ picture anativ  Ā·  3Comments

Kiran0791 picture Kiran0791  Ā·  3Comments

DanDance picture DanDance  Ā·  3Comments