- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am adding IAP plugin and it seems I need to reinstall it every time I make a change. Is there anyway to install once and edit in intel XDK, GapDebug or Chrome tools?
The XDK emulator doesnt do IAP obviously since its not real but what can I do to test 3rd party plugins(IAP, ads etc) without reinstall every time I make a change?
How can I check Cat logs? or other logs besides the console?
also is there a wireless GapDebug I could use? :)
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently we can only test third-party plugins by doing a build, which then needs to be installed, but we are working on more flexible debugging functionality that will allow some third party plugins to be included in a context similar to the current debugging functionality, without needing an install. Stay tuned for that feature in a future update.
As far logcat, you can use adb directly on the command line and either do "adb logcat" or login to the device with "adb shell" and then execute "logcat". There might be a lot of stuff in there, so you may find the console messages more useful.
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using the Debug, Emulate or Test tabs you will not see any third-party plugins. At the moment, the only way to debug an app that contains a third-party plugin is to build it and debug the built app installed on your device.
[Android] You can do that using the following techniques:
1) For a Crosswalk build or a Cordova for Android build, create an intelxdk.config.additions.xml file that contains these lines:
<!-- Change the debuggable preference to true to build a remote CDT debuggable app for -->
<!-- Crosswalk apps on Android 4.0+ devices and Cordova apps on Android 4.4+ devices. -->
<preference name="debuggable" value="true" />
<!-- Change the debuggable preference to false before you build for the store. -->
and place it in the root directory of your project (in the same location as your other intelxdk.config.*.xml files). Note that this will only work with Crosswalk on Android 4.0 or newer devices or, if you use the standard Cordova for Android build, on Android 4.4 or greater devices.
2) Build the Android app
3) Connect your device to your development system via USB and start app
4) Start Chrome on your development system and type "chrome://inspect" in the Chrome URL bar. You should see your app in the list of apps and tabs presented by Chrome, you can then push the "inspect" link to get a full remote CDT session to your built app. Be sure to close the XDK before you do this, sometimes there is interference between the version of adb used by Chrome and that used by the XDK, which can cause a crash. You might have to kill the adb process before you start Chrome (after you exit the XDK).
[iOS] See the instructions on the updated Debug tab docs to get on-device debugging. We do not yet have the ability to build a development version of your iOS app, so you cannot use this technique to build iOS apps. However, you can "bake" the weinre script from the Test tab into your iOS app when you build it and use the Test tab to remotely access your built iOS app. This works best if you include a lot of console.log messages.

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