Skip to content

Commit

Permalink
readme fixes and prerelease update
Browse files Browse the repository at this point in the history
  • Loading branch information
onatcipli committed Oct 7, 2021
1 parent 7702840 commit 4b170c2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-dev.2

- Readme info updates

## 2.0.0-dev.1

- Upgraded to null-safety
Expand Down
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,40 @@
## About
It helps you to change your flutter project's AppName and BundleId for
different platforms, **currently only available for IOS, Android and macOS**
## About (Null-Safety)

It helps you to change your flutter project's AppName and BundleId for different platforms, **currently only available
for IOS, Android, macOS and Web**

## Supported Platforms

You can change the bundleId and appName in following folders
You can change the bundleId and appName in following folders

- IOS
- Android
- MacOS
- Linux
- Web

## Installation

```
pub global activate rename
```


## Default Usage

if you dont pass **-t or --target** parameter it will try to rename all available platform project folders inside flutter project.
if you dont pass **-t or --target** parameter it will try to rename all available platform project folders inside
flutter project.

_**Run this command inside your flutter project root.**_

pub global run rename --bundleId com.onatcipli.networkUpp
pub global run rename --appname "Network Upp"

## Custom Usage

if you want to run commands directly (without using `pub global run`)
ensure you [add system cache bin directory to your path](https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path)

if you want to run commands directly (without using `pub global run`)
ensure
you [add system cache bin directory to your path](https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path)

rename --appname yourappname -t ios

or
Expand All @@ -42,7 +45,6 @@ To target a specific platform use the "--target" option. e.g.

pub global run rename --bundleId com.example.android.app --target android


## Parameters

-t, --target Set which platforms to target.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rename
description: Helps you to change or rename your flutter project BundleId and AppName for Ios, Android, MacOS and Linux platforms
version: 2.0.0-dev.1
version: 2.0.0-dev.2
homepage: https://github.com/onatcipli/rename.git

environment:
Expand Down

0 comments on commit 4b170c2

Please sign in to comment.