-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40f0d74
commit a57a4d4
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,28 +10,33 @@ git clone [email protected]:synonymdev/bitkit.git && cd bitkit | |
|
||
2. Switch Node version | ||
|
||
Switch to the Node.js version defined in `.nvmrc`. If `nvm` (or similiar) is installed on your system you can run `nvm use`. | ||
Switch to the Node.js version defined in `.nvmrc`. If `nvm` (or similar) is installed on your system you can run `nvm use`. | ||
|
||
3. Install dependencies | ||
|
||
```shell | ||
yarn install | ||
``` | ||
|
||
4. Setup iOS or Android dependencies | ||
## Build | ||
|
||
```shell | ||
yarn setup-ios | ||
``` | ||
### iOS | ||
|
||
or | ||
For iOS: Open the `ios` folder in Xcode to build the project. | ||
|
||
```shell | ||
yarn setup-android | ||
``` | ||
### Android | ||
|
||
## Build | ||
For Android: `yarn bundle`. | ||
|
||
For iOS: Open the `ios` folder in Xcode to build the project. | ||
Moreover, to build the Android APK, it is necessary to configure a signing store to sign | ||
the apk, as explained by [React Docs](https://reactnative.dev/docs/signed-apk-android). | ||
|
||
It is recommend to use the already presented `debug.store` in `android/app`. | ||
Add the following lines to `~/.gradle/gradle.properties`: | ||
|
||
For Android: `yarn bundle` | ||
```shell | ||
BITKIT_UPLOAD_STORE_FILE=debug.keystore | ||
BITKIT_UPLOAD_STORE_PASSWORD=android | ||
BITKIT_UPLOAD_KEY_ALIAS=androiddebugkey | ||
BITKIT_UPLOAD_KEY_PASSWORD=android | ||
``` |