Android Question ToastMessageShow bug

Status
Not open for further replies.

kuosda

Active Member
Licensed User
Longtime User
I removed the ToastMessageShow.... status no longer occurs.
But I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug?
Am I using the error?
 

Geezer

Active Member
Licensed User
Longtime User
Once your app has permission it won't ask for it again unless you reinstall.

The toasts won't show if you have notifications for your app turned off
 
Upvote 0

kuosda

Active Member
Licensed User
Longtime User
Only these codes
Only the first time have message box response,
Please correct me if I use the error
My Android OS: 6.0.1
 

Attachments

  • RuntimePermissionsDemo.zip
    4.2 KB · Views: 198
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Your code is wrong.

Watch the runtime permissions video tutorial.

SS-2018-08-06_12.06.10.png


As you can see in the above image, only the READ_PHONE_STATE permission is listed. Requesting other permissions at runtime will fail.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The question in this thread is:
ut I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug?
No, it is not a bug. Only permissions that are listed in the generated manifest file can be requested at runtime. Click on Logs - List Permissions to see the list.


So should we use the permission list to use it?
If you have any other question then start a new thread. Make sure to make the questions more clear. I don't really understand what you are trying to do.
 
Upvote 0
Status
Not open for further replies.
Top