Coder Social home page Coder Social logo

eceylan / mobile-app-automizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automizer/mobile-app-automizer

0.0 0.0 0.0 10.58 MB

You can automize iOS and Android app's build, upload and versioning processes via Mobile App Automizer CLI tool.

License: MIT License

JavaScript 100.00%

mobile-app-automizer's Introduction

Mobile App Automizer

Mobile App Automizer Demo

You can automize iOS and Android app's build, upload and versioning processes via Mobile App Automizer CLI tool. You can upload your app to Apple App Store, Google Play Store or your own CDN. You can use this tool for platform and frameworks below.

  • Native iOS
  • Native Android
  • React Native
  • Flutter
  • may be others...

Installation

You need to install Node.js first, then install the tool globally using this command:

npm install -g mobile-app-automizer

When the installation is completed, you can define your config's by switching your repo that includes your mobile apps via the command below.

mobile-app-automizer --install

Mobile App Automizer Install

When you define all preferences, a config file called .ma-automizer.js will be automatically added to your repo. You can change this file whenever you want. Don't forget to commit this file so that you don't lose your preferences.

Upload

CDN

If you choose to upload your app to your own CDN then don't forget to update functions and values on the upload section in the file .ma-automizer.js. This tool automatically creates manifest.plist and exportOptions.plist files for iOS app.

Apple App Store (Experimental)

If you choose to upload your app to Apple App Store then this CLI tool automatically will add exportOptions.plist file to your repo.

Google Play Store (Experimental)

If you choose to upload your app to Google Play Store then you should install gradle-play-publisher.

Firebase (Just for iOS)

If you use Firebase, these following files must be included in your repo. Default folder is ios/firebase, if you want you can change this firebase folder path in .ma-automizer.js.

└── myApp
	└── ios
		└── firebase
			├── GoogleService-Info.plist
			├── GoogleService-Info-production.plist
			└── GoogleService-Info-stage.plist

GoogleService-Info-production.plist file must contain production values. GoogleService-Info-stage.plist file must contain stage values. The content of GoogleService-Info.plist file will automatically change once you start new build depending environment value you choose.

For example: If you choose stage environment type while starting build, the content of GoogleService-Info.plist file will change with the content of GoogleService-Info-stage.plist file.

How to use

You can start build, upload and versioning processes with this one line command below.

mobile-app-automizer

Mobile App Automizer Demo

When you execute this command, environment value will be production and versioning value will be patch in default.

Stage

If you want to start the process for stage environment, you can give --stage parameter as below;

mobile-app-automizer --stage

PS: If you give the --stage parameter, this tool will skip versioning process.

Verbose

If you want to see what this tool is doing in the background, you can give --verbose parameter.

mobile-app-automizer --verbose

Versioning

There are 3 types of versioning patch, minor and major. If you're not sure which one you will select, take a look semantic versioning website.

Versioning only work for production environment and default value is patch. If you want to choose the other types, you can give --minor and --major parameters as below.

mobile-app-automizer --minor
mobile-app-automizer --major

PS: If you use versioning, you should have package.json file in your repo.

Support

If you have an issue with this CLI tool, please open an issue.

Contributing

Pull requests are welcome.

License

This project is licensed under the MIT License

mobile-app-automizer's People

Contributors

sercaneraslan 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.