How do i pick splash screen in ionic project based on device location


#1

I am in need to display the splash screen according to the country of the user.


#2

Wouldn’t it be way better to release different binaries for different countries if your app defers in other countries? Since the real splashscreen is a static image generated in many formats, I wouldn’t recommend loading different ones for many different countries since it would let your app’s size blow up if you add numerous splashscreens.

Maybe there’s a way to work around your issue. Perhaps you could control the showing and hiding of the splashscreen? So just hide the native splashscreen on app startup and show your ‘custom’ differing splashscreen as a HTML page with dynamic content instead?


#3

Thanks! I believe hiding the native splashscreen on app startup and showing ‘custom’ differing splashscreen as a HTML page with dynamic content instead is a good option to go with.