Skip to content
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

Where to put image files? #34

Closed
arnsa opened this issue Mar 2, 2017 · 5 comments
Closed

Where to put image files? #34

arnsa opened this issue Mar 2, 2017 · 5 comments

Comments

@arnsa
Copy link

arnsa commented Mar 2, 2017

Hello,

I am a little bit confused, but where exactly do I have to store my splash screen images for ios and android? And do they have to have a specific naming or anything like that? Thanks!

@tolucaleb
Copy link

@arnsa in your \android\app\src\main\res folder u will create some folders in there as drawable-* i.e drawable-hdpi, drawable-mdpi e.t.c. and in each folder u will add ur splash screen image according to their sizes.
Your folder structure should be like this
|-- drawable-hdpi
|-- drawable-mdpi
....
|-- layout
|-- mipmap-hdpi
.....
|-- values

@raynoppe
Copy link

raynoppe commented Apr 4, 2017

And where do we put the iOS images?

@Jacse
Copy link
Contributor

Jacse commented Apr 27, 2017

@raynoppe you can manage those through XCode - take a look at having a LaunchImage in .xcassets or using LaunchScreen.xib

@alxvallejo
Copy link

If you have to manage the launch image through Xcode, what exactly is the benefit of this module?

@ronaldozanoni
Copy link

ronaldozanoni commented Sep 19, 2017

@alxvallejo this module is to you control when the SplashScreen should hide.
For example: When you start your app, you need to check in the local storage if the user is logged or not to decide where redirect it, or you need to make some request etc.
With this module, you can hide the splashscreen only after that check, programmatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants