Closed cloudy-ninja closed 1 year ago
And I have uploaded the AppDelegate.h file as well
import <Foundation/Foundation.h>
import <React/RCTBridgeDelegate.h>
import <UIKit/UIKit.h>
import <Expo/Expo.h>
@interface AppDelegate : EXAppDelegateWrapper
@end
@HwangTaehyun could you take a look and help me on this? Thanks again
This happens because the application is calling the .hide()
method and the animation doesn't have enough time to run
You can fix this by adding a setTimeout
with the time of your animation
useEffect(() => {
setTimeout(() => {
LottieSplashScreen.hide();
}, 2500);
}, []);
Hi @vivianmauer Thanks for your answer, I tried this but it didn't help me
Wow, it's so weird.. I'll check it!
Thank you so much for your reply
Hi @HwangTaehyun Any update on this? Thanks
@cloudy-ninja Hi, Could you try this one? It seems related to this. I developed this package without considering the expo, so this problem occurred... https://github.com/HwangTaehyun/react-native-lottie-splash-screen/issues/57
@HwangTaehyun thanks for your suggestion, I will look into it 👍
I just tried, but the issue is still happening
@cloudy-ninja I have a question. Does your lottie animation not appears at all in production mode? I suspect the Lottie animation file is not bundled in production mode.
These links would be helpful to you. It's such a difficult issue... 🥲
@HwangTaehyun Happy Lunar New Year! thanks again for your help, let me try with these solutions today
Also, do you have some time to talk to me? If possible, I'd like to go through it together. I will pay for your time Thanks
Yeah, but I don't know if I can be of great help. I don't know well about the bare expo. However, I also want to help you!
Thank you so much! When do you have time today? I can match your time, here is my email msr.wn.327@gmail.com If you are Ok, we can schedule a google meeting
Can I know your country or UTC? I live in Korea (UTC+9)
Please let me know the meeting time in your timezone
I'm okay with Tuesday 1/24, 4 pm-6 pm or Thursday 1/26 11 pm-1 am.
What about 5 pm Tuesday? I am guessing it's after about 14hrs 40mins
Ok! here is my email eeht1717@gmail.com.
I just sent the invitation, can you please confirm it?
Yeah, I confirmed that!
Nice!
@cloudy-ninja There's no problem in release mode! Could you follow the expo bare workflow in README.md? I test this expo@47.0.13
@cloudy-ninja Did you work out?
Hi @HwangTaehyun, I'm sorry for the very late reply. Yes, it worked by following the readme. I can say that this package is working smoothly on expo bare work flow. Thanks again for your hard works!
👍
1. React Native info
react-native-splash-screen
version^1.0.1
iOS production only
The Lottie splash screen is working well on the development stage as I expected, thanks for your efforts @HwangTaehyun. While testing the app on the production, the lottie splasch screen gets skipped, and instead the default splash screen with the static image is showing. I am using expo bare flow and here is the AppDelegate.m file code