From 70753550cd0c7a3bf0afdb4113e9a36c57d4fbed Mon Sep 17 00:00:00 2001 From: Mason Le Date: Thu, 14 Sep 2023 17:19:28 +0700 Subject: [PATCH] update bootsplash version --- package.json | 2 +- template/GITLABRUNNER.MD | 2 +- template/android/app/src/main/res/values/styles.xml | 10 +++++----- template/package.json | 2 +- template/scripts/splash.ts | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index cf590056..dac5bf8b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "rn-boiler-template", "private": false, - "version": "1.72.6", + "version": "1.72.7", "description": "Clean and minimalist React Native template for a quick start with TypeScript and components", "scripts": { "test": "exit 0" diff --git a/template/GITLABRUNNER.MD b/template/GITLABRUNNER.MD index 9e561186..3ef94bff 100644 --- a/template/GITLABRUNNER.MD +++ b/template/GITLABRUNNER.MD @@ -167,7 +167,7 @@ rm -rf repo/$branch mkdir -p repo/$branch cd repo/$branch rm -rf fastlane -git clone $1 -b $branch . +git clone $repo -b $branch . # copy fastlane and build_script to $branch folder cp -r ../../fastlane . cp -r ../../build_script . diff --git a/template/android/app/src/main/res/values/styles.xml b/template/android/app/src/main/res/values/styles.xml index f0d2303a..a0ee96c7 100644 --- a/template/android/app/src/main/res/values/styles.xml +++ b/template/android/app/src/main/res/values/styles.xml @@ -12,9 +12,9 @@ - - + \ No newline at end of file diff --git a/template/package.json b/template/package.json index 3843880b..6983b866 100644 --- a/template/package.json +++ b/template/package.json @@ -41,7 +41,7 @@ "react-i18next": "^11.11.4", "react-native": "0.72.4", "react-native-animateable-text": "^0.11.0", - "react-native-bootsplash": "^4.7.5", + "react-native-bootsplash": "^5.0.2", "react-native-config": "^1.5.1", "react-native-flipper": "^0.163.0", "react-native-gesture-handler": "^2.12.1", diff --git a/template/scripts/splash.ts b/template/scripts/splash.ts index e1c42dd6..d43f8a33 100644 --- a/template/scripts/splash.ts +++ b/template/scripts/splash.ts @@ -44,7 +44,7 @@ import { resolve } from 'path'; rmSync(newBootSplashLogoPath, { recursive: true, force: true }); execSync( - `yarn react-native generate-bootsplash ${path} --background-color=${bgColor} --logo-width=${width} --assets-path=assets --flavor=${flavor}`, + `yarn react-native generate-bootsplash ${path} --background=${bgColor} --platforms=android,ios --logo-width=${width} --assets-output=assets --flavor=${flavor}`, { stdio: 'inherit' }, );