- Notifications
You must be signed in to change notification settings - Fork0
A React Native splashscreen and dock icon generator (Android and iOS) - Not maintained
License
VincentCATILLON/react-native-splashscreen-dockicon
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Image Magick is required to generate images.
And runnpm install to install node dependencies.
Source files must have at least the following dimensions:
- Splash screen: 2048x2048px
- Dock icon: 180x180px
You must provide splash screen and dock icon args to the following command:
node node_modules/react-native-splashscreen-dockicon -- --splash-screen <your_splash_screen_path> --dock-icon <your_dock_icon_path>
Or you can add this directly to your package.json scripts section and runnpm run generate:assets:
scripts: { ... "generate:assets": "node node_modules/react-native-splashscreen-dockicon -- --splash-screen <your_splash_screen_path> --dock-icon <your_dock_icon_path>",}iOS:rnpm-install ERR! Something went wrong while linking. Error: Expected "/*", "//", or "{" but "<" found.
When running app on iOS for the first time after generating assets, you should make yourios/<project>.xcodeproj/project.pbxproj file able to be used byreact-native link command. In other words, it should be converted by Xcode to the new Plist format (not XML).
To make this, follow these steps:
- Open your project on Xcode
- Go to the project settings
- Change an option (for example: from YES to NO, and restore it to the previous value: YES)
- Your
ios/<project>.xcodeproj/project.pbxprojfile should be converted - Launch
react-native linkagain
Edit files under thesrc folder and transpile them usingBabel:
npm run babelify
Use the command above.
npm run test
About
A React Native splashscreen and dock icon generator (Android and iOS) - Not maintained
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.