Not sure if this will be helpful, but this is how I added "cordova-plugin-facebook4" plugin to my app for game analytics:
> Add the following lines to config.xml
<plugin name="cordova-plugin-facebook4" >
<variable name="APP_ID" value="1234567890" />
<variable name="APP_NAME" value="App name here" />
<variable name="FACEBOOK_ANDROID_SDK_VERSION" value="4.40.0" />
</plugin>
Add to config.json in "plugins" section:
{
"id": "cordova-plugin-facebook4",
"version": null,
"variables": [["APP_ID", "1234567890"], ["APP_NAME", "App name here"], ["FACEBOOK_ANDROID_SDK_VERSION", "4.40.0"]]
},
Add files to zip and build with C3. If all done correctly you should be able to call methods from this plugin from scripts or with Browser Execute Javascript action. In my case:
"facebookConnectPlugin.logEvent('event_name');"
github.com/EddyVerbruggen/cordova-plugin-taptic-engine
I tried that with this one as well as I would like to add some sort if vibration to my game.
After I built the xcode project with the clould service I've seen that the taptic engine plugin was added to the xcode src files.
I tried to use Browser javascript function to use the function "TapticEngine.strongBoom();" but it does not work. Did I do anything wrong or do I need to do further steps to implement it? Would be nice if you could help on the case if you have some time :)
Regards,
Kraudi