Handle request runtime permission
This commit is contained in:
@@ -44,4 +44,32 @@
|
||||
<string name="action_retry">Retry</string>
|
||||
<string name="device_connecting">Connecting…</string>
|
||||
<string name="device_explanation">It should just take a moment…</string>
|
||||
|
||||
<string name="action_grant_permission">Grant permission</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_enable">Enable</string>
|
||||
<string name="action_try_again">Try again</string>
|
||||
<string name="action_location_settings">Location settings</string>
|
||||
<string name="action_go_up">Back</string>
|
||||
|
||||
<string name="bluetooth_disabled_title">BLUETOOTH DISABLED</string>
|
||||
<string name="bluetooth_disabled_info">The Bluetooth adapter is turned off.\nClick the button below to enable it.</string>
|
||||
|
||||
<string name="location_permission_title">LOCATION PERMISSION REQUIRED</string>
|
||||
<string name="location_permission_info">From Android 6.0 Marshmallow until Android 11 the application requires Location permission in order to scan for Bluetooth Low Energy devices. This is because Bluetooth LE beacons, for example iBeacons or Eddystone, may be used to
|
||||
determine the phone's and user's location.\n
|
||||
The app will not use this information in any way.\n
|
||||
On Android 12 or newer a new Nearby permission can be requested instead, without the need for location.</string>
|
||||
|
||||
<string name="bluetooth_permission_title">BLUETOOTH PERMISSIONS REQUIRED</string>
|
||||
<string name="bluetooth_permission_info">The app needs to scan and connect to Bluetooth LE devices.</string>
|
||||
|
||||
<string name="bluetooth_not_available_title">BLUETOOTH NOT AVAILABLE</string>
|
||||
<string name="bluetooth_not_available_info">Bluetooth is not available on your phone.\nWe cannot provide you the feature.</string>
|
||||
<string name="location_required_title">Location required</string>
|
||||
<string name="bluetooth_required_title">Bluetooth required</string>
|
||||
|
||||
<string name="location_disabled_title">LOCATION DISABLED</string>
|
||||
<string name="location_disabled_info">Location is turned off. Most Android phones require it in order to scan for Bluetooth LE devices.\n
|
||||
Click the button below to enable Location.</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user