Ethereum mobile authenticator app PoC
MIT License
Mobile app used as a Ethereum 2FA token.
npm install -g bower
npm install -g gulp
https://developer.android.com/studio/index.html#downloads
Packages
Android SDK tools (v.25.2.2 or greater)
Android SDK platform-tools (v.24.0.4 or greater)
Android SDK build-tools (v.24.0.3 or greater)
Android 6.0 (API 23)
- sdk platform
- intel x86 atom 64 system image
- google Apis intel x86 atom_64 System Image
- Google APIs
Extras
- Android support repository (v.38)
- Google play services (v.33)
- Google repository (v.36)
- Intel x86 Emulator Accelerator (HAXM installer) (v. 6.0.4)
- Google usb driver (v.11)
cordova platform add android
cordova platform add browser
Create Mobile Emulator
npm install
bower install
generate bundle.js - consult ethereum-crypto/README.md for more details.
place generated file into the following folder:
/www/js/modules/common
Run the application without emulation (ngCordova and push notifications do not work).
ionic serve
gulp watch
Run the appliction with emulator (ngCordova works).
ionic emulate android
ionic emulate browser
If you want to live reload of js code or html code use this
ionic emulate android --livereload
If you want to live reload of scss you need to open in another console :
gulp watch
In root Folder there are a file named google-services.json add this into /platforms/android to emulate or build in android (!important)
ionic build android
ionic build browser
the apk is in folder
/platforms/android/build/outputs/apk/android-debug.apk