Hi, there, I've found a crash in version 3.2.8, which is downloaded from F-Droid.
I seems that it is related to the dangerous permission android.permission.WRITE_EXTERNAL_STORAGE and is triggered in the AddProductActivity. It may be caused when the app attempts to writing external storage without either permission checking (via checkSelfPermission) nor permission request (via requestPermissions).
Reproduce crash
This crash can be reproduced on my Samsung device, following the steps:
grant the storage permission in the system setting
scan a product (also need camera permission) and then enter the "add new product" page
type any information about the product
go to the system setting and revoke the permission
in the app, tape twice the "next" botton and reach the "nutrition facts" tab
click "add this product" and then the app crashes
@teolemon
Could you help me review this issue? If you need more information, I may make a video showing the crash. Very thanks!
Hi, there, I've found a crash in version 3.2.8, which is downloaded from F-Droid.
I seems that it is related to the dangerous permission
android.permission.WRITE_EXTERNAL_STORAGE
and is triggered in the AddProductActivity. It may be caused when the app attempts to writing external storage without either permission checking (via checkSelfPermission) nor permission request (via requestPermissions).Reproduce crash
This crash can be reproduced on my Samsung device, following the steps:
@teolemon Could you help me review this issue? If you need more information, I may make a video showing the crash. Very thanks!