Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission error #91

Closed
Shah-Aayush opened this issue Oct 25, 2021 · 12 comments
Closed

Permission error #91

Shah-Aayush opened this issue Oct 25, 2021 · 12 comments
Labels
Fixed Issue was fixed in latest release

Comments

@Shah-Aayush
Copy link

Describe the bug
Cannot start recording

Log
shows toast :No permission for android.permission.WRITE_EXTERNAL_STORAGE on pressing start button.

Can it be reproduced in demo app
installed this apk on physical device got error.

HBRecorder version
2.0.1

Device information

  • Samsung M30 (Android 10)
Screenshot
tempss
@HBiSoft
Copy link
Owner

HBiSoft commented Oct 25, 2021

That's strange.. Didn't it ask you for permissions?

@Shah-Aayush
Copy link
Author

That's strange.. Didn't it ask you for permissions?

No
It just asked me for microphone permission!

@HBiSoft
Copy link
Owner

HBiSoft commented Oct 25, 2021

I will have a look into it tomorrow.

In the meantime, please try the previous release, just to make sure I didn't mess something up with the previous release.

@Shah-Aayush
Copy link
Author

I will have a look into it tomorrow.

In the meantime, please try the previous release, just to make sure I didn't mess something up with the previous release.

Same error persits

@HBiSoft
Copy link
Owner

HBiSoft commented Oct 28, 2021

I tested on a device (Samsung Galaxy S9) running Android 10 and I was not able to reproduce this issue.

Please go to "App info" and check if there is "Storage" permission. It should be there but unselected?

@Shah-Aayush
Copy link
Author

I was only requested for mic permission. There was no storage permission requested !
In the settings, and in permission tab, there was only mic permission available.

@ShizaS
Copy link

ShizaS commented Oct 28, 2021

im facing the exact same issue in Xiaomi 9T running android 10.

@HBiSoft
Copy link
Owner

HBiSoft commented Oct 28, 2021

I found the issue. I will update the library in the next 30 minutes.

HBiSoft added a commit that referenced this issue Oct 28, 2021
@HBiSoft
Copy link
Owner

HBiSoft commented Oct 28, 2021

This should be fixed in 2.0.2 - https://github.com/HBiSoft/HBRecorder/releases/tag/2.0.2

Please test it and close the issue if it's fixed.

Thank you for reporting this.

@ShizaS
Copy link

ShizaS commented Oct 28, 2021

Yes, its working now. Thank a lot for the quick response and fix. Really appreciate it.

@ShizaS
Copy link

ShizaS commented Oct 28, 2021

I was just wondering if it's possible to record only the app screen excluding the status bar or any notification that pops up during the recording.

@HBiSoft
Copy link
Owner

HBiSoft commented Oct 28, 2021

@ShizaS See #22.

I assume this issue is fixed. Closing.

@HBiSoft HBiSoft closed this as completed Oct 28, 2021
@HBiSoft HBiSoft added the Fixed Issue was fixed in latest release label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Issue was fixed in latest release
Projects
None yet
Development

No branches or pull requests

3 participants