Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bob_P_
Beginner
50 Views

intelxdk.config.additions.xml

Intel XDK 2893

I understand that there is now a need to remove all plugins from intelxdk.config.additions.xml and to add them manually through the new plugin feature.
However, when I build with the new method some of my app features do not work (Screen capture)

This is what Construct 2 outputs into config.additions.xml:

<intelxdk:plugin intelxdk:name="https://github.com/wbt11a/Canvas2ImagePlugin#7ba2044" intelxdk:value="https://github.com/wbt11a/Canvas2ImagePlugin#7ba2044" />
<intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />

I remove the above and add the following plugins using the new plugin manager:
1. Canvas2Image
2. Iinappbrowser
Build the app with no errors. Install app and screen capture does not work.
Going back to the old method, leaving the intelxdk.config.additions.xml as is, not adding any plugins and the app builds and screen capture works fine.

One small hiccup is when I try to search for https://github.com/wbt11a/Canvas2ImagePlugin#7ba2044 with the new plugin manager and it comes up with "could not find remote branch" so I remove the branch and the plugin manager recognises it.

Anyone know what is causing this issue?
Thanks
 

Tags (2)
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
50 Views

It appears that the plugin manager wants a full-length commit ref tag (maybe just a longer one), not the partial one you provided.

This appears to be a bug, which I will alert engineering about (although, it could also be due to some changes to git that affect the size and typeof the sha commit tags and some differences between the build system's CLI/git subsystem and the one built into the XDK). The workaround is to provide the full commit sha. See the images below for an example that worked:

Screen Shot 2016-02-10 at 9.28.44 AM.png

Screen Shot 2016-02-10 at 9.29.20 AM.png

 

Bob_P_
Beginner
50 Views

Thank you very much for looking into this problem

Reply