Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A React Native splashscreen and dock icon generator (Android and iOS) - Not maintained

License

NotificationsYou must be signed in to change notification settings

VincentCATILLON/react-native-splashscreen-dockicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM

Build Status

Dependencies

Image Magick is required to generate images.

And runnpm install to install node dependencies.

Files dimensions

Source files must have at least the following dimensions:

  • Splash screen: 2048x2048px
  • Dock icon: 180x180px

CLI

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>",}

Troubleshooting

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:

  1. Open your project on Xcode
  2. Go to the project settings
  3. Change an option (for example: from YES to NO, and restore it to the previous value: YES)
  4. Yourios/<project>.xcodeproj/project.pbxproj file should be converted
  5. Launchreact-native link again

Contributions

Edit files under thesrc folder and transpile them usingBabel:

npm run babelify

Use the command above.

Tests

npm run test

About

A React Native splashscreen and dock icon generator (Android and iOS) - Not maintained

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp