File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ For Flutter News App version 1.0.0, you can check this [repository](https://gith
10
10
11
11
## Usage
12
12
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.
14
15
```
15
16
flutter run -t lib/main_development.dart --flavor development -d <device_id>
16
17
```
@@ -22,7 +23,7 @@ flutter run --release -t lib/main_production.dart --flavor production -d <device
22
23
```
23
24
flutter build appbundle --release --flavor production -t lib/main_production.dart
24
25
```
25
- 3 . For iOS, you can use this command as development mode.
26
+ 4 . For iOS, you can use this command as development mode.
26
27
```
27
28
flutter run -t lib/main_development.dart -d <device_id>
28
29
```
You can’t perform that action at this time.
0 commit comments