-
-
Notifications
You must be signed in to change notification settings - Fork 776
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1300 from innoveit/feat/expo
Added expo plugin
- Loading branch information
Showing
10 changed files
with
174 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
layout: page | ||
title: Expo | ||
permalink: /expo/ | ||
nav_order: 4 | ||
--- | ||
|
||
# Expo | ||
|
||
You can use the library in Expo via a [development build](https://docs.expo.dev/develop/development-builds/introduction/). | ||
|
||
Since Expo 52, it is possible to make full use of the new architecture of React Native and thus version 12.x of the library. | ||
|
||
--- | ||
|
||
To help configure the app, we added a plugin from version 12.1.x, add the configuration in the `app.json` file | ||
|
||
```js | ||
{ | ||
... | ||
"plugins" : [ | ||
... | ||
["react-native-ble-manager", { options }] | ||
], | ||
} | ||
``` | ||
|
||
**Options** | ||
|
||
| Platform| Name| Type | Default | Description | | ||
| --- | --- | --- | --- | --- | | ||
| Android | `neverForLocation` | `Boolean` | `false` | The BLE is not used for location | | ||
| Android | `companionDeviceEnabled` | `Boolean` | `false` | You are using the companion device | | ||
| Android | `isBleRequired` | `Boolean` | `false` | The app require the BLE to work | | ||
| iOS | `bluetoothAlwaysPermission` | `String | Boolean` | `'Allow $(PRODUCT_NAME) to connect to bluetooth devices'` | The reason you use the BLE | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.