directly from git branch:
$ cordova plugin add https://github.com/creakosta/cordova-plugin-rustore-sdk
- Add the following code to your
config.xml
file in the root directly of yourwww
folder:
<feature name="RuStorePlugin">
<param name="android-package" value="com.cordova.plugin.RuStorePlugin" /> // TODO
</feature>
- Add the following code to your
AndroidManifest.xml
file:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- Copy rustore.js to
www/js/plugins
and reference it inindex.html
:
<script type="text/javascript" src="js/plugins/rustore.js" />
- Download the source files and copy them to your project:
Copy RuStorePlugin.kt
to
platforms/android/src/com/rustore/cordova/plugins
(create the folders if needed)
$ cordova plugin remove cordova-plugin-rustore-sdk