Commit c2a1706
Android 11+ Background Location Permission Flow Update (#4336)
Fixed #3504
* Update Android background location permission flow for API 30+
- Implement special handling for `ACCESS_BACKGROUND_LOCATION` on API >= 30 in `AndroidImplementation.java`.
- Bypass `ActivityCompat.requestPermissions` and guide users to Settings.
- Add localization keys for new dialog strings.
- Update developer guide with instructions on new behavior and build hint requirements.
* Update Android background location permission flow for API 30+
- Implement special handling for `ACCESS_BACKGROUND_LOCATION` on API >= 30 in `AndroidImplementation.java`.
- Bypass `ActivityCompat.requestPermissions` and guide users to Settings.
- Add localization keys for new dialog strings.
- Update developer guide with instructions on new behavior and build hint requirements.
* Update Android background location permissions section
Clarified the process for requesting background location permissions on Android 11 and higher, including details about Codename One's handling of the flow and customization options.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Shai Almog <[email protected]>1 parent f7f6ace commit c2a1706
File tree
2 files changed
+36
-0
lines changed- Ports/Android/src/com/codename1/impl/android
- docs/developer-guide
2 files changed
+36
-0
lines changedLines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10898 | 10898 | | |
10899 | 10899 | | |
10900 | 10900 | | |
| 10901 | + | |
| 10902 | + | |
| 10903 | + | |
| 10904 | + | |
| 10905 | + | |
| 10906 | + | |
| 10907 | + | |
| 10908 | + | |
| 10909 | + | |
| 10910 | + | |
| 10911 | + | |
| 10912 | + | |
| 10913 | + | |
| 10914 | + | |
| 10915 | + | |
| 10916 | + | |
| 10917 | + | |
| 10918 | + | |
| 10919 | + | |
| 10920 | + | |
| 10921 | + | |
| 10922 | + | |
| 10923 | + | |
| 10924 | + | |
| 10925 | + | |
| 10926 | + | |
| 10927 | + | |
| 10928 | + | |
| 10929 | + | |
| 10930 | + | |
10901 | 10931 | | |
10902 | 10932 | | |
10903 | 10933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
453 | 459 | | |
454 | 460 | | |
455 | 461 | | |
| |||
0 commit comments