- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
My build keeps failing when I add the third party push plugin (https://github.com/phonegap-build/PushPlugin.git)? Some help could really be appreciated. I have tried using several different releases of the plugin and it still fails every time. I am trying to build for Android with Crosswalk.
- Marcas:
- HTML5
- Intel® XDK
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I vaguely remember coming across this issue before and I think the solution was to include it as a local plugin. Could you download it to your project directory and reference that plugin as a local plugin following the instructions here: https://software.intel.com/en-us/xdk/docs/adding-third-party-plugins-to-your-xdk-cordova-app ? Try the 2.4.0 version.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks very much for your quick reply! Okay I will try that. When I include the local plugin it first has to be copied into the local www directory right or do I put it in the plugins directory?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Importing a third-party plugin that resides in a local directory requires that the plugin be located within your project's "source directory." Normally this source directory is named "www" and is located inside your application's project directory (see the Project Info in the Projects tab for the name and location of your project's source directory). A local plugin will be included with the source bundle that is uploaded to the cloud-based build server; the entire contents of your project's "source directory" are included as part of that uploaded bundle.
WWW directory.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi,
I have the same problem. My app fail building for Android if I include Push Plugin (https://github.com/phonegap-build/PushPlugin.git). I tried include it locally in WWW folder and nothing. The app builds for iOS but not Android Crosswalk or regular Android.
I'm using CLI 5.1.1 (I cant downgrade) and Intel XDK version 2548.
Can someone help me and advice me how to fix this issue ?
Kindly
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Roman,
It looks like that plugin is deprecated. Could you try using this one instead (https://github.com/phonegap/phonegap-plugin-push)? If you are doing a local import, put the plugin anywhere outside the 'plugins' or 'WWW' directory and point to that. I know this is contradictory to what I posted in reply to Nick. But the latest version of XDK creates a local copy of your plugins in the 'plugins' directory that gets pushed to the build server with your source files. If you have the local copy in WWW, it will then create a duplicate in your 'plugins' directory making the final project size unnecessarily bigger.
If you have a build log, we can confirm if that plugin actually got installed or not.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hey,
Thanks for getting back to me. I am aware of this plugin being depricated I was just hoping to make it work cos I have bunch of existing code that I wanted to use and that worked before (about 2 updates before current one).
However I tried to use the new version and even bring it down locally and put outsise 'www' or 'plugins' directory and app (simply app, that doesnt do anything, made it for test) fail to build in cloud. In attachments please see my log.
Thank you and I really appreciate any help with this. It must be something simple..
Kindly
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Roman B. wrote:
Hey,
Thanks for getting back to me. I am aware of this plugin being depricated I was just hoping to make it work cos I have bunch of existing code that I wanted to use and that worked before (about 2 updates before current one).
However I tried to use the new version and even bring it down locally and put outsise 'www' or 'plugins' directory and app (simply app, that doesnt do anything, made it for test) fail to build in cloud. In attachments please see my log.
Thank you and I really appreciate any help with this. It must be something simple..
Kindly
Same problem for me
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
same problem :
not possible to build android when using Push Plugin et cordova 5.1.1.
I tried all possible solutions, the new push plugin repository, change the jar, etc...
It is a problem that force me to stay on cordova 4.1.2.
How to fix it without using pushwoosh ?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I confirm, what @Mike C. said. This makes app build for android that have push plugin included (version 1.2.3 from link prowided by Mike C.). I did not test if the plugin actually work yet. If anyone know, please let us all know (dunno when I get round to test)
Kindly
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
For CLI 5 give this a try:
- add "third-party plugin"
- choose cordova registry
- phonegap-plugin-push
- version 1.2.3
With CLI 4 give this a try:
- add "third-party plugin"
- choose git repo
- https://github.com/phonegap-build/PushPlugin
- tag 2.4.0
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks @Paul F. I confirm it works. Tested on with Android 5.1, iOS7 and iOS 9.0.3

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora