- MyTOTP HTML5 application (a simple open source app – created for this article)
- An adobe account (to be used with build.phonegap service)
- A phonegap plugin – Barcodescanner (no installation/download required, will be dynamically added by build.phonegap). We need this plugin in order to read TOTP provisioning QR codes
- Developer accounts on Apple Appstore and Google Play if you want to publish your app
b) Open Command prompt and run npm install -g phonegap
c) Create a folder in your system and CD to it (“cd C:\MyApp\”)
d) Run phonegap create my-app . Your project's path will become C:\MyApp\my-app . Remember to navigate to this folder in your command prompt session when running build commands.
<gap:plugin name="com.phonegap.plugins.barcodescanner" version="2.0.0" />
this will enable the Barcodescanner plugin in your application. Copy config.xml to www folder
a) Login to phonegap using ```phonegap remote login``` (register on phonegap.com – free account should be enough)b) From the project directory (not www) run phonegap remote build android
c) Login to build.phonegap.com and download your APK
You will need to configure signing certificates to create release packages (otherwise it will be debug APKs)
Have a look at the demo here