You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/03 01:34:04 UTC

[jira] [Updated] (CB-12703) Push Notification not working via cordova cli

     [ https://issues.apache.org/jira/browse/CB-12703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-12703:
----------------------------------
    Fix Version/s: cordova-ios@4.4.1

> Push Notification not working via cordova cli
> ---------------------------------------------
>
>                 Key: CB-12703
>                 URL: https://issues.apache.org/jira/browse/CB-12703
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli, cordova-ios
>    Affects Versions: 6.5.0
>         Environment: iPhone
>            Reporter: Hiren
>            Priority: Minor
>             Fix For: cordova-ios@4.4.1
>
>
> Facing an issue when creating an iOS build with the below command.
> {noformat}
> cordova build ios --release --device --buildConfig
> {noformat}
> When generating the build with the above command the ipa gets created successfully and user is also able to install and use the app. But we do not get any push notifications. We are using Firebase to manage our push notification and sending it from firebase console. Here i can  see that the app generates a devices token but sending a notification on this token does not trigger any message on the mobile.
> But notification works when we create a build using Xcode. We generate the build by first running,
> {noformat}
> cordova prepare ios
> {noformat}
> Then using the Archive option from Product menu in Xcode.
> I believe that the APN entitle file is not getting set to production. We are creating an app using enterprise certificate.
> This is creating an issue when running Jenkins CI. My build gets created but I loose the push notification functionality. Hence i have to release ios builds manually from my system.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org