Mahara Mobile是Android和iOS的新Mahara应用程序,允许您离线收集和创建学习证据,然后在您连接互联网时将其上传到Mahara。
Mahara Mobile
构建Mahara Mobile 的技术堆栈是:JavaScript ES6, React, Redux, and Phonegap。
使用Cordova(PhoneGap)的多平台Mahara移动应用程序。(Multi-platform Mahara mobile app, using Cordova (PhoneGap))
Mahara Mobile是Android和iOS的新Mahara应用程序,允许您离线收集和创建学习证据,然后在您连接互联网时将其上传到Mahara。
构建Mahara Mobile 的技术堆栈是:JavaScript ES6, React, Redux, and Phonegap。
Name With Owner | MaharaProject/mahara-mobile-cordova |
---|---|
Primary Language | JavaScript |
Program language | JavaScript (Language Count: 3) |
Platform | Android, iOS |
License: | GNU General Public License v3.0 |
Release Count | 0 |
Created At | 2016-09-05 07:22:47 |
Pushed At | 2021-03-01 23:20:06 |
Last Commit At | 2021-03-02 12:20:06 |
Stargazers Count | 7 |
Watchers Count | 6 |
Fork Count | 7 |
Commits Count | 212 |
Has Issues Enabled | |
Issues Count | 21 |
Issue Open Count | 15 |
Pull Requests Count | 39 |
Pull Requests Open Count | 1 |
Pull Requests Close Count | 5 |
Has Wiki Enabled | |
Is Archived | |
Is Fork | |
Is Locked | |
Is Mirror | |
Is Private |
A Mahara app for offline use.
The technology is JavaScript ES6, React, Redux, and Phonegap.
apt-get node-js
To install all the NPM and Cordova dependencies:
npm install
For basic debugging and development, the site can be run in a Chromium browser on your local machine. (Note: Some Cordova plugins don't work in the browser, so some functionality may be missing.) To launch the browser, just run:
npm start
To rebuild the app in the browser, after you've made changes:
npm run build-browser
... and then refresh the browser.
To build the Android app, you'll need the Oracle version of Java 8. Here's how to install it on Ubuntu:
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer oracle-java8-set-default
Then download and install Android studio from https://developer.android.com/studio/index.html
Launch Android Studio and run through the first-time wizard. Then from the tools menu, launch the SDK Manager. Install:
Android SDK Tools
Android SDK Platform-tools
Android 6.0 -> SDK Platform
Android 6.0 -> Intel x86 Atom_64 System Image
Once those are installed, close the SDK Manager and launch the AVD Manager. Create an Android 6 (API 23) virtual device, and launch it. (Or alternately, you could connect up a physical Android device via USB, and put it in development mode.)
Then finally, run:
npm run android
To update the app in Android after you've made changes to the code, run npm run android
again.
You can use the cordova command-line tool. To produce an APK that can run on a normal Android device, you'll need an Java keystore to sign it with. See the Android documentation for instructions on how to generate an acceptable keystore.
`npm bin`/cordova build \
--release \
--device android \
-- \
--keystore=/PATH/TO/YOUR/KEYSTORE.keystore \
--alias=YOURKEYALEAS
npm run build-ios