Skip to content

Commit

Permalink
(doc) Add a default comment to the required config.xml attributes so …
Browse files Browse the repository at this point in the history
…that developers can easily remember what these entries in their config.xml are for
  • Loading branch information
Lindsay-Needs-Sleep committed Nov 7, 2020
1 parent 5cef017 commit 7aac33d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ pod install
To **distribute** an iOS app with this plugin you must add usage descriptions to your project's `config.xml`.
These strings will be used when asking the user for permission to use the microphone and bluetooth.
```xml
<!-- ios 6-13 (deprecated) -->
<platform name="ios">
<config-file parent="NSBluetoothPeripheralUsageDescription" target="*-Info.plist">
<!-- ios 6-13 (deprecated) -->
<config-file parent="NSBluetoothPeripheralUsageDescription" target="*-Info.plist" comment="cordova-plugin-chromecast">
<string>Bluetooth is required to scan for nearby Chromecast devices with guest mode enabled.</string>
</config-file>
<!-- ios 13+ -->
<config-file parent="NSBluetoothAlwaysUsageDescription" target="*-Info.plist">
<config-file parent="NSBluetoothAlwaysUsageDescription" target="*-Info.plist" comment="cordova-plugin-chromecast">
<string>Bluetooth is required to scan for nearby Chromecast devices with guest mode enabled.</string>
</config-file>
<config-file parent="NSMicrophoneUsageDescription" target="*-Info.plist">
<config-file parent="NSMicrophoneUsageDescription" target="*-Info.plist" comment="cordova-plugin-chromecast">
<string>The microphone is required to pair with nearby Chromecast devices with guest mode enabled.</string>
</config-file>
</platform>
Expand Down

0 comments on commit 7aac33d

Please sign in to comment.