Giter VIP home page Giter VIP logo

agama-mobile's Introduction

This is experimental and unfinished software. Use at your own risk! No warranty for any kind of damage!

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Agama Mobile

How to install

intall meteor 1.8
install npm
install nodejs
install java8, don't install java9 it won't work with meteor 1.6.x+

git clone
cd to project's folder
meteor update
npm install

os specific (build):
install android studio
install android sdk 27.x
configure path env

How to run local desktop version

meteor run --port=3002

How to build an apk

meteor add-platform android

meteor build build --server=localhost

sign apk with your key

How to debug with hot code push

enable dev mode on your android device

connect your device via a usb cable to your machine connect your device to the same wifi network as your machine

meteor run android-device

refer to meteor docs https://guide.meteor.com

How to verify jar/apk signature

jarsigner -verify -certs -verbose filename.apk

How to sign apk

create signing key

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 release-unsigned.apk agama-app

Notes

jsqr v1.1.1 breaks the code, needs thorough debugging

Meteor 1.6+ apk path (meteorjs bug)

path is relative to your project's folder

.meteor/local/cordova-build/platforms/android/build/outputs/apk

Play store

Run zipalign

osx example: /Users/yourusername/Library/Android/sdk/build-tools/27.0.0/zipalign -v 4 agama-mobile-v0.1.0.apk agama-mobile-v0.1.0.apk

Meteor 1.7 ES6 transpile (symlink)

meteor/meteor#9826 (comment)

Possible compatibility (legacy?) issues during build between different MacOS/Xcode versions

Xcode 10.1 / 9.2 MacOS 10.14.1 / 0.12.6

agama-mobile's People

Contributors

pbca26 avatar ballwood avatar siulynot avatar ca333 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.