open-app-settings
Configuration options
Core structure
Other options
Examples and code snippets
Open-app settings

title: Open app settings
description: Use the device's location tracking permissions to show the location or a message.
type: jig.default
children:
- type: component.location
instanceId: geofencing
when: [email protected] = 'granted'
options:
viewPoint:
address: [email protected][2].address
zoomLevel: 12
isFollowUserLocationEnabled: true
markers:
data: [email protected][2]
item:
type: component.marker-item
options:
radius:
isEnabled: true
value: 0.2
unit: kilometers
color: color12
latitude: [email protected]
longitude: [email protected]
children:
type: component.icon
options:
icon: [email protected]
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Permission Status
value: [email protected]
- type: component.entity-field
options:
label: Permission granted?
value: [email protected]
placeholders:
- title: You need to grant permissions in the device settings.
when: [email protected] = false
icon: missing-data
# Add an action to open the device’s app settings,
# allowing the user to grant location permissions.
actions:
- numberOfVisibleActions: 1
children:
- type: action.open-app-settings
# Use the when property,
# to execute the action if permissions are not granted.
when: [email protected] = false
options:
# Hide the action when permissions are granted.
isHidden: [email protected] = true
title: Go to settingsLast updated
Was this helpful?