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

can I use custom animation like spinner on splash screen? #47

Open
tishad770 opened this issue Apr 4, 2017 · 8 comments
Open

can I use custom animation like spinner on splash screen? #47

tishad770 opened this issue Apr 4, 2017 · 8 comments

Comments

@tishad770
Copy link

the splash screen is called in MainActivity.java, not JS file. So I can't include any spinner js component. Is there any workaround?

@dantman
Copy link

dantman commented Apr 22, 2017

The splash screens are native UI (an iOS .xib and an Android xml layout) so in theory you could use something like an animated gif.

@sadi304
Copy link

sadi304 commented Feb 11, 2018

Doesn't work with gif files. am i missing something? or its not possible with react native?

@DylanVann
Copy link

This library shows the splash screen with native UI. It shows LaunchScreen.xib on iOS and shows launch_screen.xml on Android. You would need to render the animation in both of those.

@bhoomika911
Copy link

I have added gif image in lauch_screen.xml. But when I run the app in android device, it is only showing first image of gif.

Can you please help?

@seclace
Copy link

seclace commented Jul 13, 2018

@bhoomika911 note that android not plays with animated *.gif files by default. There is a small tutorial for android animated splash.gif https://www.youtube.com/watch?v=Mas3Lnd3WtM (not mine)

@Biplovkumar
Copy link

@bhoomika911 note that android not plays with animated *.gif files by default. There is a small tutorial for android animated splash.gif https://www.youtube.com/watch?v=Mas3Lnd3WtM (not mine)

it is for xamarin,
i think

@herath
Copy link

herath commented Mar 31, 2019

is there any method to plug GIF animations to this splash screen ? Android and IOs?

@msqar
Copy link

msqar commented Sep 10, 2019

@herath what you are looking for is Lottie :) add Lottie to your react-native project and enjoy! It's animated SVGs 100% supported on both Android/iOS. Check on lottiefiles.com

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

9 participants