Skip to content

Commit 2cd518f

Browse files
author
Jan
authored
chore: added bluetooth message to iOS requirements (#38)
* chore: added bluetooth message to iOS requirements * fix: formatting Signed-off-by: Jan <[email protected]> --------- Signed-off-by: Jan <[email protected]>
1 parent c943cd0 commit 2cd518f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,27 @@ If you are not using Expo, add the following to your `android/app/src/main/Andro
9090

9191
Run `pod install` in the `ios/` directory
9292

93+
If you are using [Expo](https://expo.dev/), you need to add the following to your Expo app config (app.json, app.config.json or app.config.js):
94+
95+
```json
96+
{
97+
"ios": {
98+
"infoPlist": {
99+
"NSBluetoothAlwaysUsageDescription": "Allow <YOUR_APP_NAME> to use bluetooth for offline proof sharing"
100+
}
101+
}
102+
}
103+
```
104+
105+
If you are not using Expo, add the following to your `ios/<YOUR_APP_NAME>/Info.plist`:
106+
107+
```diff
108+
+ <key>NSBluetoothAlwaysUsageDescription</key>
109+
+ <string>Allow $(PRODUCT_NAME) to use bluetooth for offline proof sharing</string>
110+
```
111+
112+
These messages can be customized to your app needs.
113+
93114
## Usage
94115

95116
An example can be found here: [example](./example/src/App.tsx)

0 commit comments

Comments
 (0)