Skip to content

Commit 8a94a76

Browse files
committed
dd location permission for ios2
1 parent 40c8c87 commit 8a94a76

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

plugin.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@
3535
<header-file src="src/ios/BluetoothLePlugin.h" />
3636
<source-file src="src/ios/BluetoothLePlugin.m" />
3737
<framework src="CoreBluetooth.framework" />
38+
<edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysUsageDescription">
39+
<string>Need to location permission for find the alcohol checker Do you allow this app to get location permissions?</string>
40+
</edit-config>
41+
<edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
42+
<string>Need to location permission for find the alcohol checker Do you allow this app to get location permissions?</string>
43+
</edit-config>
44+
<edit-config file="*-Info.plist" mode="merge" target="NSBluetoothAlwaysUsageDescription">
45+
<string>Need to bluetooth for connect alcohol checker Do you allow this app to open bluetooth?</string>
46+
</edit-config>
47+
<edit-config file="*-Info.plist" mode="merge" target="NSBluetoothPeripheralUsageDescription">
48+
<string>Need to bluetooth for connect alcohol checker Do you allow this app to open bluetooth?</string>
49+
</edit-config>
3850
</platform>
3951
<platform name="osx">
4052
<config-file target="config.xml" parent="/*">

0 commit comments

Comments
 (0)