App crashes when I turn of the storage permission

in #utopian-io5 years ago

Project Information
Repository: https://github.com/gauravjot/android-noad-music-player

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

Steps To Reproduce

  1. Launch the app
  2. Accept all permissions
  3. Then go to the application details of the Noad app
  4. Turn off the storage permission

Expected Behavior
I expected the app not to crash when I turn D.C. The storage permission

Screen Recording

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

Sort:  

Hi @iamowomizz, welcome back and thanks for making this contribution.

It's great to have you contributing to the category again. 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]

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

My phone couldn't get the log cat that's why i didn't include it.

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!

I need help in doing this, how do i go about it.

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.029
BTC 62659.86
ETH 2534.03
USDT 1.00
SBD 2.63