Skip to content

Commit 500eb7d

Browse files
committed
update README
1 parent 74c014b commit 500eb7d

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -203,39 +203,34 @@ npm install
203203

204204
Connect your smartphone via USB,
205205

206-
206+
* First Method (automatically)
207207
In a first terminal
208208

209-
```
210-
react-native start
211-
```
209+
`react-native start`
212210

213211
In a first terminal
214212

215-
```
216-
npx react-native run-android
217-
```
213+
`npx react-native run-android`
218214

219-
or
215+
* Second Method (manually)
220216

221-
``` cd android && ENVFILE=.env ./gradlew assembleDebug
222-
```
217+
`cd android && ENVFILE=.env ./gradlew assembleDebug`
218+
219+
And load the apk in your device
223220

224221
The React Native Background Location API from Transistorsoft is free in Debug.
225222

226223
## Next Step : release version
227224

228225
To build a release version
229226

230-
* duplicate `.env` to a new file `.env.production`
231-
* move in android/app `cd android/app`
232-
* Generate your keystore with your password : ``` keytool -genkey -v -keystore my-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
233-
```
227+
* Duplicate `.env` to a new file `.env.production`
228+
* Move in android/app `cd android/app`
229+
* Generate your keystore with your password : `keytool -genkey -v -keystore my-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000`
234230
* update in `.env.production` MYAPP_RELEASE_STORE_PASSWORD and MYAPP_RELEASE_KEY_PASSWORD
235231
* MYAPP_RELEASE_API_KEY is the API key that https://www.transistorsoft.com/ provides to use their API after buying a licence
236232
* Go back in the project root
237-
* Build your release version ``` cd android && ENVFILE=.env.production ./gradlew assembleRelease
238-
```
233+
* Build your release version `cd android && ENVFILE=.env.production ./gradlew assembleRelease`
239234

240235

241236
## Licence

0 commit comments

Comments
 (0)