Android application for working with Nunaliit atlas data while offline.
In development:
Near future features:
Wish list:
After cloning you must build nunaliit2.
git submodule init && git submodule update
cd nunaliit2 && mvn clean install
cd nunaliit2-js && mvn package
cd ../nunaliit2-js-external && mvn package
After doing the above steps you should have the entrypoint script used by the Android app's webview, nunaliit2-debug.js, and be able to build & run it in Android Studio.
git fetch
git pull origin master
git submodule update
cd nunaliit2 && mvn clean install
Possible pitfalls:
If Android Studio won't run the app and asks to select an Android SDK, you may need to select Tools -> Android -> Sync Project with Gradle Files.
If the app runs but the webview fails to load the nunaliit2 interface, you may have skipped steps above.
If Android Studio gives warnings such as Warning: License for package Android SDK Build-Tools 27.0.3 not accepted.
, you will need to download the version that is missing. Go to the menu Android Studio > Preferences and open Appearance & Behaviour > System Settings > Android SDK. Check off the missing versions and click OK.
Plugins must be added manually and cannot use the CLI. To do so:
require
, exports
or module
global variables, wrap the code with :
cordova.define("your.plugin.org.filename", function(require, exports, module) {
// plugin code...
// "your.plugin.org.filename" must match the name given in app/src/main/assets/www/cordova_plugins.js
});