Import subscription no prompt for storage permission bug
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- [X] I have read the FAQ and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected version
0.24.0
Steps to reproduce the bug
- Export subscription into a file by clicking export to>file under subscription tab
- Clear data
- Try to import the subscription by clicking import from>exported file
- The file picker won't even let you pick the exported file
Expected behavior
The app should import subscription
Actual behavior
Won't even let me pick file
The issue only arises because new pipe doesn't ask for storage access permission when trying to import subscription by clicking on import from> previous export under subscription tab.
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Color OS v6.0(android 9)
Affected device model
Oppo Realme 1 CPH1861
Additional information
Note: I figured out the reason why it's because new pipe doesn't ask for permission for storage at startup so when the import is clicked it launches android file picker but if you go to settings and try to set download location it asks for permission or just manually enable storage access in settings or app info depending upon your OS and ROM then when you try to import subscription it uses newpipe's native file picker which works fine entirely.
Same issue but for "Export database" function. I cannot export "my channels/subscriptions/playlists/settings" with this NewPipe v0.24.0. It say something like "No app can to manage this action". Help please? Thank you!
