This package has been deprecated

Author message:

go check https://github.com/mobile-generator/mobile-generator

mobile-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Mobile Generator

npm (scoped) Travis (.org) branch

Purpose

This project aims to initialize mobile project by following guidelines provided by constructor and frameworks.

This will allow you to quickly integrate an application according to your guidelines. You can unify your different mobile projects by applying the same rules everywhere.

Getting started

The best way to get started is to install our npm package.

📦 install it using NPM

$ npm i @mobile-generator/mobile-generator

Read the CLI usage to run CLI or start with one of our example.

If you want more in-depth information about mobile generator, read the wiki.

Supported platform

Android

  • Instant Apps Support
  • Usage of android.* artifacts
  • Android API Support from 21 to 29 (up to 85% of Android Devices Supported)
  • Android Material Theme support (Day/Night)
  • Easy integration with Materiel UI Color Tool https://material.io/tools/color
  • Simple & Complex Navigation pattern (Drawer Navigation, Tabbed Navigation, Single View, … more to come)
  • Check your color theme with the provided StyleGuide view presenting different native Android components
  • StyleGuide view supports Day/Light rendering
  • Smart Permission Support
  • Smart Import Support According to your answers

iOS

  • Simple & Complex Navigation pattern (Tabbed Navigation, Single View, … more to come)
  • iOS 10.3 to 12.2(latest) Version Support
  • Test & UITest Target Support
  • Smart Import Support According to your answers
  • Dark/Light Color Support (coming with iOS 13 release)
  • StyleGuide Support (coming with Dark/Light Color Support)

Flutter

  • StyleGuide Support (coming with Dark/Light Color Support)
  • iOS language (for now it's swift)
  • Android language (for now it's kotlin)

Are you missing a feature? Open an issue!

Usage

Interactive

This command will prompt you questions. Once you answered all of them it will generate the corresponding project

$ mobile-generator interactive

Create

This command will is the same as the interactive one except that you need to provide your answer as arguments/flags. This will allow you to integrate to your CLI.

Android example:
$ mobile-generator create android my-app com.mycompany --android_min_sdk=21 --android_target_sdk=29 --android_template=drawer --internet_permission

iOS example:
$ mobile-generator create ios my-app com.mycompany --ios_min_sdk=12.2 --ios_template=tabbar --internet_permission

Flutter example:
$ mobile-generator create flutter my-app com.mycompany

Examples

A separate repository contains examples. Go to github.com/mobile-generator/examples to give them a try.

Contributions and support

Mobile-generator is developed completely in the open, and your contributions are more than welcome. It's still a very new project, so I'm sure there are bugs to be found and improvements to be made - and hopefully we can work on those together as a community.

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i mobile-generator

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

85.7 kB

Total Files

52

Last publish

Collaborators

  • zephylac