Skip to content

Commit

Permalink
update bootsplash version
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocle2497 committed Sep 14, 2023
1 parent 22ced9d commit 7075355
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 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.6",
"version": "1.72.7",
"description": "Clean and minimalist React Native template for a quick start with TypeScript and components",
"scripts": {
"test": "exit 0"
Expand Down
2 changes: 1 addition & 1 deletion template/GITLABRUNNER.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
10 changes: 5 additions & 5 deletions template/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</style>

<!-- BootTheme should inherit from Theme.SplashScreen -->
<style name="BootTheme" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/bootsplash_background</item>
<item name="windowSplashScreenAnimatedIcon">@mipmap/bootsplash_logo</item>
<item name="postSplashScreenTheme">@style/AppTheme</item>
<style name="BootTheme" parent="Theme.BootSplash">
<item name="bootSplashBackground">@color/bootsplash_background</item>
<item name="bootSplashLogo">@drawable/bootsplash_logo</item>
<item name="postBootSplashTheme">@style/AppTheme</item>
</style>
</resources>
</resources>
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template/scripts/splash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
);

Expand Down

0 comments on commit 7075355

Please sign in to comment.