GetPluginSettings() question

For developers using the Construct 2 Javascript SDK

Post » Tue Sep 20, 2016 1:12 am

Where exactly are those variables returned too?

I would like to be able to change a line from
"cordova-plugins":"cordova-plugin-network-information!npm",

to
"cordova-plugins":"https://github.com/apache/cordova-plugin-network-information!git",

based on the status of a property. However the function appears to be called at the start of the capx loading, so I cant just change the function variables. So I would like to know what references the cordova-plugins setting after the GetPluginSettings() is called. Any help would be greatly appreciated.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,765

Post » Tue Sep 20, 2016 10:14 am

They're used for the Cordova/XDK export. They can't be dynamic I'm afraid.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,228


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest