I've discovered the bug in B4A V9.50, after changeing the package name of my app.
The issue is that the request window dose not apear, unlike on the previous versions of my app, compiled with older versions of B4A(eg V9.30).
Permision request from "Main":
After a day of fiddling with the code, i've manage to find a solution: move "RTP.CheckAndRequest(RTP.PERMISSION_WRITE_EXTERNAL_STORAGE)" to "frmLogin" activity module from "Main" activity module.
This little bug caused me a lot of problems because it was hard to spot and i had the permisions granted from B4A V9.30.
Thanks,
Bogdan
The issue is that the request window dose not apear, unlike on the previous versions of my app, compiled with older versions of B4A(eg V9.30).
Permision request from "Main":
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
Try
If FirstTime Then
' Permisions
Dim RTP As RuntimePermissions
RTP.CheckAndRequest(RTP.PERMISSION_WRITE_EXTERNAL_STORAGE)
' Login
Activity.Finish
StartActivity("frmLogin")
End If
Catch
End Try
End Sub
After a day of fiddling with the code, i've manage to find a solution: move "RTP.CheckAndRequest(RTP.PERMISSION_WRITE_EXTERNAL_STORAGE)" to "frmLogin" activity module from "Main" activity module.
This little bug caused me a lot of problems because it was hard to spot and i had the permisions granted from B4A V9.30.
Thanks,
Bogdan