Is there already an issue requesting this feature?
Please select affected platform(s)
Use case
Android 17 introduces the Location Button, a new privacy for requesting a session-based location access.
Android documentation:
https://developer.android.com/guide/topics/permissions/private-alternatives/location-button
Currently, permission_handler exposes the traditional location permission APIs, but there does not appear to be an API for integrating the Android Location Button.
Proposal
Ideally, the plugin could expose a Flutter widget, for example:
LocationButton(
onPermissionResult: (granted) {
if (granted) {
// Use precise location for the current session.
}
},
)
Specific requirements or considerations
No response
Additional information or context
No response
Is there already an issue requesting this feature?
Please select affected platform(s)
Use case
Android 17 introduces the Location Button, a new privacy for requesting a session-based location access.
Android documentation:
https://developer.android.com/guide/topics/permissions/private-alternatives/location-button
Currently, permission_handler exposes the traditional location permission APIs, but there does not appear to be an API for integrating the Android Location Button.
Proposal
Ideally, the plugin could expose a Flutter widget, for example:
Specific requirements or considerations
No response
Additional information or context
No response