Changes between Version 19 and Version 20 of DeveloperGuidelines/EdenMobile/DevelopmentEnvironment
- Timestamp:
- 09/04/19 15:18:32 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/DevelopmentEnvironment
v19 v20 8 8 - [https://nodejs.org/en/download https://nodejs.org/en/download] 9 9 10 2. Use the NodeJS package manager ''npm'' to install Cordova :10 2. Use the NodeJS package manager ''npm'' to install Cordova (9.0.0 currently): 11 11 12 12 {{{ … … 31 31 - [https://github.com/sahana/eden_mobile https://github.com/sahana/eden_mobile] 32 32 33 For some reason {{{sqlite-native-driver.jar}}} is not in the repo, so download from: 34 * https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-2.0.0.tgz 35 & extract this to {{{plugins\cordova-sqlite-storage\node_modules\cordova-sqlite-storage-dependencies\libs}}} 36 33 37 5. Run the application 34 38 35 - You can ot run in the 'browser' platform as it doesn't support the local database39 - You cannot run in the 'browser' platform as it doesn't support the local database 36 40 - It is easier to run on a real device than the emulator 37 41 - to run on a real device, you need to enable 'Developer Options' by tapping 7 times on the 'Build Number' in the About section (http://www.greenbot.com/article/2457986/how-to-enable-developer-options-on-your-android-phone-or-tablet.html) and then open the new Developer Options panel & enable USB Debugging to allow access in Chrome's Developer Tools (More | Remote Devices | Inspect) NB Do NOT 'reconnect dev-tools' when reinstalling, close window & 'inspect' again, otherwise you will have lots of browser windows left open) … … 41 45 cd eden_mobile 42 46 npm install q-io 47 cp default.config.xml config.xml # or ucce.config.xml 43 48 cordova platform add android 44 49 adb uninstall org.sahanafoundation.eden_mobile # Needed on some platforms anyway, on others just to clear data, when-desired … … 62 67 <application android:allowBackup="false" 63 68 }}} 69 70 9. Currently only Android 6.0 Marshmallow,or later, is supported. Configure the targeted platform in {{{platform/android/project.properties}}} 71 {{{ 72 target=android-23 # 6.0 Marshmallow 73 }}}