- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just that question, i dont know what i'm doing wrong, after upgrading to disastrous 1816 everything went bad for me, even restoring the 1621 didn't helped, i'm unable to compile anything using hybrid legacy, my apps crash when reading the cordova.js include:
<script src="cordova.js"></script>
EVEN TEMPLATE GENERATED PROJECTS WITHOUT TOUCHING ANYTHING EXTRA crashes, if i remove that line the app runs fine but push notifications aswell as webapp functionality get disabled, what a solution....
i need to be able to compile again on hybrid legacy apps, what i need to do ??
p.s. i can send the project folder to a dev, but i dont want to publish it here.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to compile on CORDOVA, but pushmobi dont work there so its useless for me, and IFRAMES aren't connecting to their destination links, more useless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I said in the other thread you started, Legacy apps work with pushMobi (when pushMobi is working). Cordova apps will not work with pushMobi until appMobi releases a Cordova plugin for pushMobi.
When you create new apps based on templates or demos, most of them are designed to work with Cordova 3.5+ builds, NOT the legacy builds. The legacy builds do have limited Cordova functionality. By limited, I mean that Cordova 2.9 is baked into the build. Most Cordova plugins these days require at least Cordova 3.5, which again explains why things dont work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To make any demos or templates work in the legacy build containers you need these three lines:
<script src="intelxdk.js"></script> <!-- phantom library, needed for XDK api calls --> <script src="cordova.js"></script> <!-- phantom library, needed for Cordova api calls --> <script src="xhr.js"></script> <!-- phantom library, needed for XDK CORS -->
Many of the templates have been updated to remove the outer two lines because they are only needed for the legacy container, which has been deprecated and will eventually be retired. We ask that everyone use Cordova for new applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok so far i'm getting ok with the cordova, except for the iframes not loading shit (problem i don't care about now, switched to webview), and the inhability to enable push notifications, using pushwoosh.
there are no single guide on XDK IDZ related on how to install pushwoosh successfully on XDK, maybe u all guys are gurus who know all the steps to get it done in 10 min (as other dev pointed out on other thread), but for the ones out there who are starting with the html5 and intel xdk, it's not being easy.
so if anyone wants to share their knowledge about how to successfully integrate pushwoosh into a cordova build for ios and android i'm sure more than one will find it usefull.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am probably the one what gave the 10 minute estimate :)
Its much easier if you use their AUTO option (you will have to enter your apple username/password). But if you want to go about it the hard way, here is their guide. https://www.pushwoosh.com/programming-push-notification/ios/ios-configuration-guide/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI - You will need a Mac to follow the manual process. If you dont have one and your account with pushWoosh has expired, create a new pushWoosh account and use the auto process if you hare having trouble. The Manual process is a little convoluted if you dont know what you are doing on a Mac(which was me!), it took me a good 45 minutes to go through the Manual process...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok i got that, indeed pushwoosh is giving 15 days free platinum subscription wich allows o do that, i did that from the very beginning, so pushwoosh config is complete as i dont need to upload the p12 from the mac.
the problem is within the app, the plugin installs correctly, but i may be using the incorrect code even when they provided on their website the basic code, somehow isnt working with my build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The code provided in this post looks correct.
When you run your app, does it prompt you to allow for push notifications? It will only do this once, even if you delete/reinstall the app. If you have never seen this, then you have something wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
gotta check that code now.
exactly is what im facing, the app never asks prompt for allowing.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page