Skip to content

Tool for generating your iOS and Android app icons for Bare RN apps.

Notifications You must be signed in to change notification settings

estineali/React-Native-Icon-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Using the icon Generator

Tl;dr

  1. Place these in a folder in the root directory of your React Native project
  2. Put the picture for Android and/or iOS
  3. Rename the picture Logo_Android.png or Logo_iOS.png
  4. Run the script for Android/iOS python3 iconGeneratorAndroid.py or python3 iconGeneratoriOS.py
  5. Everything else is taken care of.

For Android

Since android manages the masking of icons to round icons and otherwise itself, the icons need to have extra padding. Therefore the parent file for android icons is Logo_Android.png. The script bellow only depends on this file.

To generate icons for android, open a terminal window in this folder and run python3 iconGeneratorAndroid.py

All files will be generated and placed in the right folder.

For iOS

The logo for iOS must not have any transparency. Curved edges are generated automatically. Therefore the parent file for iOS is a sharp square with no transparency (alpha channel) called Logo_iOS.png. The script bellow only depends on this file.

To generate icons for iOS, open a terminal window in this folder and run python3 iconGeneratoriOS.py.

All files will be generated and placed in the right folder.

In the event that doesn't work:

  1. Make sure you have PIL installed for python.
  2. Make sure the right way to invoke python for your system is python3. It could just be python.

About

Tool for generating your iOS and Android app icons for Bare RN apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages