App crashes when I turn off the storage permission

in utopian-io •  6 years ago 

Project Information
Repository: https://github.com/AugustToko/ACG-Player

Project Name ACG player

The issue Submitted on Github: https://github.com/AugustToko/ACG-Player/issues/68

My Github Link: https://github.com/iamowomizz

Describe the bug
The app crashes when I turn off the storage permission

To Reproduce

  1. Steps to reproduce the behavior:

  2. Launch the app

  3. Accept all permissions

  4. Then go to the application details of the ACG player app

  5. Turn off the storage permission

Expected behavior
I expected the app not to crash when I turn off The storage permission

Screen Recording

Devices and Versions
Device: (Infinix s2pro)
Version (7.0)
App version (2.6.7.4)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @iamowomizz, thanks for making this contribution.

The application attempts to access the local storage on startup and is denied, leading to the crash. A quick fix will be to prompt for permission access again, before launch. Another possible fix will be to load the application without accessing the songs in local storage.

Are you aware you can provide with your reports an analysis on what possibly led to the crash? For crash reports you can include with this analysis a logcat.

Thanks again for the report. I look forward to more of your reports.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

I know i can but i don't have access to tools that can help me get the logcat

Thank you for your review, @fego! Keep up the good work!

Hi @iamowomizz!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @iamowomizz!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!