Cordova plugin properties

For developers using the Construct 2 Javascript SDK

Post » Sun Dec 20, 2015 1:09 am

@Ashley,

I'm sorry to bother you. Would it be at all possible to add plugin properties to the config.xml file for phonegap exports? For example the app id and app name listed below.

<gap:plugin name="com.phonegap.plugins.facebookconnect" version="<VERSION>">
<param name="APP_ID" value="<YOUR_APP_ID>" />
<param name="APP_NAME" value="<YOUR_APP_NAME>" />
</gap:plugin>
www.h1k3.tech

We are here for you!
B
84
S
22
G
15
Posts: 714
Reputation: 16,178

Post » Mon Dec 21, 2015 1:03 pm

Can these not be provided to the plugin at runtime? There is an existing method set up to do this kind of thing, which is the SDK-defined plugin properties where users can paste in things like an app ID, as long as you can pass them at runtime. This is what the official Facebook plugin does. At the moment there's no mechanism to do what you suggest.
Scirra Founder
B
383
S
224
G
86
Posts: 24,118
Reputation: 190,444


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests