Skip to content

Commit

Permalink
update lib, remove old lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocle2497 committed Nov 3, 2023
1 parent a89ebc6 commit 69f7919
Show file tree
Hide file tree
Showing 79 changed files with 4,889 additions and 964 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rn-boiler-template",
"private": false,
"version": "1.72.11",
"version": "1.72.13",
"description": "Clean and minimalist React Native template for a quick start with TypeScript and components",
"scripts": {
"test": "exit 0"
Expand Down
Binary file modified preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
287 changes: 0 additions & 287 deletions template/Gemfile.lock

This file was deleted.

12 changes: 8 additions & 4 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ Ex: New Environment named: Demo

- ## Setup Android/IOS

>## This project use [react-native-config](https://github.com/luggit/react-native-config) to switch env
>## This project use [react-native-keys](https://github.com/numandev1/react-native-keys) to switch env
- ### Android

- Add new flavor `productFlavors` section in `android/app/build.gradle`
- Add env path to `project.ext.envConfigFiles` section in `android/app/build.gradle`.
- Add env path to `project.ext.keyFiles` section in `android/app/build.gradle`.
- Gen new `google-services.json` from Firebase then copy to `android/app/src/<flavor_name>`. ex: `android/app/src/demo/google-services.json`.
- If `android/app/src/<flavor_name>` not exits, create new folder for it

Expand All @@ -125,11 +125,15 @@ Ex: New Environment named: Demo
- Complete script like:

```
# Type a script or drag a script file from your workspace to insert its path.
rm "${CONFIGURATION_BUILD_DIR}/${INFOPLIST_PATH}"
ENV_PATH="env/.dev"
ENV_PATH="env/dev.json"
export KEYSFILE=$ENV_PATH
"${SRCROOT}/../node_modules/react-native-keys/keysIOS.js"
cd "${SRCROOT}/.."
/bin/sh -c "./scripts/prepare.sh $ENV_PATH"
echo $ENV_PATH > /tmp/envfile
```

## Caution
Expand Down
1 change: 1 addition & 0 deletions template/_gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ android/**/*.keystore
.base.env
env.d.ts
env-config.ts
Gemfile.lock

# node.js

Expand Down
Loading

0 comments on commit 69f7919

Please sign in to comment.