- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My suspicion is something to do with the whitelist settings, or the specific version of the whitelist plugin, or possibly some CSP rules. Are you building a Crosswalk app or without Crosswalk? What version of CLI are you specifying? Are you changing anything in the exported ZIP (especially in the config.xml) before you send it to PGB? Does you messaging service require some sort of authentication mechanism that is based on the signature certificate or the App ID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have not changed anything in the ZIP.
I have nothing in the whitelist when building with XDK, but still works.
There is something more, when built with XDK, the app has 22 MB size, while when built with PGB it has 1.8 MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for writing another post, but this is what I get from creating the app with cordova CLI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex Hang wrote:
I have nothing in the whitelist when building with XDK, but still works.
This will be okay if you do not access anything external, but if you do need external access it is likely to cause problems.
Alex Hang wrote:
There is something more, when built with XDK, the app has 22 MB size, while when built with PGB it has 1.8 MB.
This implies that the XDK build is WITH Crosswalk and the PGB build is WITHOUT Crosswalk, which shouldn't happen, because if your project is setup to build with Crosswalk in the XDK it should export the right config parameters to make it also build with Crosswalk on PGB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex Hang wrote:
Sorry for writing another post, but this is what I get from creating the app with cordova CLI
Regarding the Cordova CLI error, looks to me like there is something fundamentally wrong with your Cordova CLI installation. To confirm you have Cordova CLI properly installed on your system, see the "simple test" in the section titled "Requirements to Build with Cordova CLI" on this page > https://software.intel.com/en-us/xdk/docs/build-xdk-app-with-phonegap-cordova-cli <, essentially:
> cordova create test > cd test > cordova platform add android > cordova prepare > cordova build android
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the help sir, I managed to make the app working on Phonegap like it works with the XDK build system.
It looks like the only thing I had to do was to disable Crosswalk.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page