Skip to content

Change application bundle name and ID on the fly (build time) for both Android and IOS

Notifications You must be signed in to change notification settings

najeeb-rifaat/react-native-ci-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native continuous integration tools

Build Status | Coverage Status | npm version

Change application bundle name and ID on the fly (build time) for both Android and IOS

Usage: react-native-ci-tools [options] [command]

Commands:

bundle <bundleId> <bundleName>  Change application bundle ID and name (display name)

Options:

-h, --help                             output usage information
-i, --ios                              Appy changes to IOS project (IOS .plist files)
-a, --android                          Appy changes to Android project (Android Manifest and Java classes)
--directory <projectDirectory>         project main directory (absolute)
--iosSubDir <iosSubDirectory>          IOS project sub directory (relative)
--androidSubDir <androidSubDirectory>  Android project sub directory (relative)

Example:

* feed in project location [Ios and Android]
react-native-ci-tools bundle "MyApp.UAT" "APP UAT" -ia --directory /Users/myUser/src/Cool/Project

* without project location (automatically use current location) [Ios and Android]
react-native-ci-tools bundle "BigApp.Build.300" "BIG App 300" -ia 

* with project location but chnage android only [Android (-a flag)]
react-native-ci-tools bundle "NANdroid.X" "NANdroid X" -a

Coming soon:

- Resize icons (gd resize and slice)
- Lable icons on build (add text overlay on app icon)
- Generate app info json to be used in presenation layer (git sha, build type, build number)

About

Change application bundle name and ID on the fly (build time) for both Android and IOS

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published