HwangTaehyun / react-native-lottie-splash-screen

⚡ Lottie splash screen for your react native app!
MIT License
222 stars 62 forks source link

[Android] | Clicking android hardware back button on splash screen opens blank screen #37

Closed usmankhan495 closed 2 years ago

usmankhan495 commented 2 years ago

Output of npx react-native info

System:
    OS: macOS 11.6
    CPU: (8) arm64 Apple M1
    Memory: 117.45 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.2.0 - /opt/homebrew/bin/node
    Yarn: 1.22.10 - ~/Desktop/Project/company/react-native-application/node_modules/.bin/yarn
    npm: 8.9.0 - /opt/homebrew/bin/npm
    Watchman: 2022.05.16.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
    Android SDK:
      Android NDK: 21.4.7075529
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8309675
    Xcode: 13.0/13A233 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.14.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.2 => 0.64.2 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Version

0.1.12

What platform does your issue occur on?

Android

Describe your issue as precisely as possible :

Steps:

Actual Result:

Clicking back button opens up a blank screen and splash animation is not displayed.

Expected Result:

Back button press should not hide the animation.

36

HwangTaehyun commented 2 years ago

Thank you for PR!