Skip to content

Commit 77811e3

Browse files
authored
Update README.md
Added description about fake json server in development mode
1 parent 21a5f25 commit 77811e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ For Flutter News App version 1.0.0, you can check this [repository](https://gith
1010

1111
## Usage
1212
1. Please open file **constant_config.dart** and change `YOUR API KEY` in the variable `keyNewsApi` with your own.
13-
2. Build flavor only work for Android. So, if you want to run as development mode you can use this command.
13+
2. In development mode, I'm used fake json server. So, the data is not realtime.
14+
3. Build flavor only work for Android. So, if you want to run as development mode you can use this command.
1415
```
1516
flutter run -t lib/main_development.dart --flavor development -d <device_id>
1617
```
@@ -22,7 +23,7 @@ flutter run --release -t lib/main_production.dart --flavor production -d <device
2223
```
2324
flutter build appbundle --release --flavor production -t lib/main_production.dart
2425
```
25-
3. For iOS, you can use this command as development mode.
26+
4. For iOS, you can use this command as development mode.
2627
```
2728
flutter run -t lib/main_development.dart -d <device_id>
2829
```

0 commit comments

Comments
 (0)