-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust the size of image used for splash screen #69
Comments
For Android I've found this option: appicon_custom_sizes must be a Hash, but I don't know what kind or type must be... |
Hey, I'm back... with the solution for anyone else who's gonna run into this problem and my approach will solve the problem. Here's how I've solved this problem that is specific for android:appicon_custom_sizes: { If something is not clear just leave a comment and I will respond back. :D |
Hello @Mihai-github ! Can you explain the lane where you used this code? Thanks |
Hi @DwCleb,
|
@Mihai-github Thanks! But the image still stretch or cut :/ |
Use an image 1024x1024. Also, keep in mind that the options that I gave you will work in most cases but sometimes for different phones resolutions you should make manually the changes. You can check if the image fits ok for android in Android Studio and for Ios in Xcode. |
Is there a way to achieve the same but for iOS? |
Hi,
Is there a way to adjust the size of the splash image, because the library does not resize it and I'm curious if there is a way to achieve this kind of result.
Here is the code I am running using Fastlane and the image is too big...
android_appicon(
appicon_image_file: 'src/assets/images/logos/development.png',
appicon_icon_types: [:splash_port, :splash_land],
appicon_path: 'android/app/src/development/res/mipmap',
appicon_filename: 'splash_icon'
)
Maybe some figured out how to solve this issue.
The text was updated successfully, but these errors were encountered: