Neptune Software
Sauce Mobile App Distribution for Neptune plugin allows you to integrate Sauce Mobile App Distribution functionality into your Neptune project. By following the steps below, you can enable the Sauce Mobile App Distribution plugin and initialize the Sauce Mobile App Distribution SDK in your Neptune application.
Enable the Sauce Mobile App Distribution Plugin
To enable the Sauce Mobile App Distribution plugin in your Neptune project, follow these steps:
- Open the Neptune Cockpit.
- Add the following to the
config.xml
file in the Neptune Cockpit under Run > Mobile Client > Device:
<plugin name="com.testfairy.cordova-plugin" source="npm"/>
Initialize the Sauce Mobile App Distribution SDK:
After enabling the Sauce Mobile App Distribution plugin, you need to initialize the Sauce Mobile App Distribution SDK in your Neptune application. Follow these steps:
- Open the App Designer in Neptune.
- Add the following code to your
init
script:
document.addEventListener("deviceready", function() {
TestFairy.begin("APP TOKEN");
});
note
Ensure that you replace APP TOKEN with your actual Sauce Mobile App Distribution app token. You can find the app token in your Sauce Mobile App Distribution User Preferences.