- Jun 6, 2020
- 11,559
- 4,422
@Pendrush posted this question about The new API 33 notification permission
[H3]
At the time I didn't have a phone which was on Android 13, but I now do.
I thought I would try to add the permission string to see what happens
I created a little program which can call Check or CheckandRequest
I have added
with Manifest android:targetSdkVersion="33"
Results:
(Google Pixel 2xl) Android Version 30 - check = false, checkandrequest = false (dialog does not appear)
(Google Pixel 5 running CalyxOS) Android version 33 - Check = false, checkandrequest (dialog appears)
However if I set the Manifest android:targetSdkVersion to "31"
Results:
(Google Pixel 2xl) Android Version 30 - check = false, checkandrequest = false (dialog does not appear)
(Google Pixel 5 running CalyxOS) Android...
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
At the time I didn't have a phone which was on Android 13, but I now do.
I thought I would try to add the permission string to see what happens
I created a little program which can call Check or CheckandRequest
I have added
AddPermission(android.permission.POST_NOTIFICATIONS)
in the manifestwith Manifest android:targetSdkVersion="33"
Results:
(Google Pixel 2xl) Android Version 30 - check = false, checkandrequest = false (dialog does not appear)
(Google Pixel 5 running CalyxOS) Android version 33 - Check = false, checkandrequest (dialog appears)
However if I set the Manifest android:targetSdkVersion to "31"
Results:
(Google Pixel 2xl) Android Version 30 - check = false, checkandrequest = false (dialog does not appear)
(Google Pixel 5 running CalyxOS) Android...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید