@@ -203,39 +203,34 @@ npm install
203203
204204Connect your smartphone via USB,
205205
206-
206+ * First Method (automatically)
207207In a first terminal
208208
209- ```
210- react-native start
211- ```
209+ ` react-native start `
212210
213211In 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
224221The React Native Background Location API from Transistorsoft is free in Debug.
225222
226223## Next Step : release version
227224
228225To 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