Closed duchavmodev closed 2 years ago
@duchavmodev Sorry for my late reply. It would be nice to have this feature. However, in this situation, i would suggest this in ios project.
Firstly, you put below code in native part.
Then, in react-native, you should call this function in useEffect of App.ts
import SplashScreen from 'react-native-lottie-splash-screen';
...
const App = ()=> {
...
useEffect(() => {
SplashScreen.hide();
},[])
...
}
I need to show some animation on the Home screen when the user open the app But currently, the lottie animation is long and it overlaps the animation on the Home screen So how can I know whether the lottie animation has ended or not Something like:
RNSplashScreen.addEventListender('onEnd', doTheHomeScreenAnimation)