Manually installation for Android:
Add to /my-app/platforms/android/res/xml/config.xml
:
<feature name="startApp">
<param name="android-package" value="com.lampa.startapp.startApp" />
</feature>
Add to /my-app/platforms/android/assets/www/cordova_plugins.js
:
{
"file": "plugins/com.lampa.startapp/www/startApp.js",
"id": "com.lampa.startapp.startapp",
"merges": [
"startApp"
]
}
Add to /my-app/platforms/android/assets/www/plugins/com.lampa.startapp/www/
file:
https://github.com/lampaa/com.lampa.startapp/blob/master/www/startApp.js
Add to /my-app/platforms/android/src/com/lampa/startapp/
file:
https://github.com/lampaa/com.lampa.startapp/blob/master/src/android/startApp.java