App Crashes when choosing a file for Preview

Words
193
Reading
1 min
Listen
Play
8y

Expected behavior

After launching the app and navigating to the Preview Activity,when I clicked on the "Open a file" option to select a file for preview and select on an image file or a text file I was expecting the app to either load the file for preview or prompt a message that I have selected the wrong file format. Also when I click on the "Scan a QR code " option was expecting a preview or a dialog if the QR code is not valid.

Actual behavior

When I click on the "Open a file" option and chose an image file or a text file, the app crashes. Also when I pick up any QR code and scan the app crashes.

How to reproduce

  • Download the Lottie app from Playstore
  • Launch the app
  • From the bottom navigation menu click on "Preview"
  • Click on "Open a file" or " Scan a QR code "
  • Select a file or scan a QR code respectively
  • App crashes on result
  • Version: Lottie Version 2.5.2
  • Operating system: Infinix Hot, Android Kitkat

Recording Of The Bug



Posted on Utopian.io - Rewarding Open Source Contributors

App Crashes when choosing a file for Preview | Ecency