Push Plugin register failed
I've install the phonegap-push-plugin for send push notification to android and iOS device.
No problem for android but when I try it on my iPhone, I can see some bug in the device console.
When I try to init();
the result into device console was :
Push Plugin register failed
4.13.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: aucune autorisation « aps-environment » valide détectée pour l’application
I do a lot of search but I didn't find anything was help me and is for that I ask it to the community now.
I build my application with Phonegap build cli 8.0.0
The plugin was : https://github.com/phonegap/phonegap-plugin-push at the master branch
push plugin config.xml part's :
<plugin name="phonegap-plugin-push" source="npm">
<param name="SENDER_ID" value="123456789" />
</plugin>
I send notification with FCM and a correct push certificat and I think my web service who send notification work correctly cause he perfectly work for the android branch.
iPhone 5c (A1456) iOS 10.3.3.
Thanks for you'r futur help.
ios firebase cordova push-notification phonegap-pushplugin
add a comment |
I've install the phonegap-push-plugin for send push notification to android and iOS device.
No problem for android but when I try it on my iPhone, I can see some bug in the device console.
When I try to init();
the result into device console was :
Push Plugin register failed
4.13.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: aucune autorisation « aps-environment » valide détectée pour l’application
I do a lot of search but I didn't find anything was help me and is for that I ask it to the community now.
I build my application with Phonegap build cli 8.0.0
The plugin was : https://github.com/phonegap/phonegap-plugin-push at the master branch
push plugin config.xml part's :
<plugin name="phonegap-plugin-push" source="npm">
<param name="SENDER_ID" value="123456789" />
</plugin>
I send notification with FCM and a correct push certificat and I think my web service who send notification work correctly cause he perfectly work for the android branch.
iPhone 5c (A1456) iOS 10.3.3.
Thanks for you'r futur help.
ios firebase cordova push-notification phonegap-pushplugin
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42
add a comment |
I've install the phonegap-push-plugin for send push notification to android and iOS device.
No problem for android but when I try it on my iPhone, I can see some bug in the device console.
When I try to init();
the result into device console was :
Push Plugin register failed
4.13.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: aucune autorisation « aps-environment » valide détectée pour l’application
I do a lot of search but I didn't find anything was help me and is for that I ask it to the community now.
I build my application with Phonegap build cli 8.0.0
The plugin was : https://github.com/phonegap/phonegap-plugin-push at the master branch
push plugin config.xml part's :
<plugin name="phonegap-plugin-push" source="npm">
<param name="SENDER_ID" value="123456789" />
</plugin>
I send notification with FCM and a correct push certificat and I think my web service who send notification work correctly cause he perfectly work for the android branch.
iPhone 5c (A1456) iOS 10.3.3.
Thanks for you'r futur help.
ios firebase cordova push-notification phonegap-pushplugin
I've install the phonegap-push-plugin for send push notification to android and iOS device.
No problem for android but when I try it on my iPhone, I can see some bug in the device console.
When I try to init();
the result into device console was :
Push Plugin register failed
4.13.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: aucune autorisation « aps-environment » valide détectée pour l’application
I do a lot of search but I didn't find anything was help me and is for that I ask it to the community now.
I build my application with Phonegap build cli 8.0.0
The plugin was : https://github.com/phonegap/phonegap-plugin-push at the master branch
push plugin config.xml part's :
<plugin name="phonegap-plugin-push" source="npm">
<param name="SENDER_ID" value="123456789" />
</plugin>
I send notification with FCM and a correct push certificat and I think my web service who send notification work correctly cause he perfectly work for the android branch.
iPhone 5c (A1456) iOS 10.3.3.
Thanks for you'r futur help.
ios firebase cordova push-notification phonegap-pushplugin
ios firebase cordova push-notification phonegap-pushplugin
asked Nov 14 '18 at 17:16
Enzo BLANCHONEnzo BLANCHON
356213
356213
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42
add a comment |
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42
add a comment |
1 Answer
1
active
oldest
votes
Check that you have enabled the Push Notifications capability in the General section from Xcode.
Also re-check all the suggestions from this post:
Firebase on Cordova doesn't trigger notifications on iOS Devices
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305552%2fpush-plugin-register-failed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check that you have enabled the Push Notifications capability in the General section from Xcode.
Also re-check all the suggestions from this post:
Firebase on Cordova doesn't trigger notifications on iOS Devices
add a comment |
Check that you have enabled the Push Notifications capability in the General section from Xcode.
Also re-check all the suggestions from this post:
Firebase on Cordova doesn't trigger notifications on iOS Devices
add a comment |
Check that you have enabled the Push Notifications capability in the General section from Xcode.
Also re-check all the suggestions from this post:
Firebase on Cordova doesn't trigger notifications on iOS Devices
Check that you have enabled the Push Notifications capability in the General section from Xcode.
Also re-check all the suggestions from this post:
Firebase on Cordova doesn't trigger notifications on iOS Devices
answered Nov 17 '18 at 20:45
andreszsandreszs
1,84411819
1,84411819
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305552%2fpush-plugin-register-failed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Switch the device to English so we can understand the exact error message thrown, and you can Google it as well. In French it won't help much.
– andreszs
Nov 17 '18 at 20:42