react-native-esp-idf-provisioning
react-native-esp-idf-provisioning copied to clipboard
How to use this library with expo?
Dear Team, Thank you for this grate library!
Please provide an answer: is it possible to use this library with the expo?
If yes, explain how.
Actually, I am using this library with the expo, and it works well.
To run it, I use the npx expo prebuild
command to build native code. And add a plugin to app.json:
{
"expo": {
"plugins": [
[
"react-native-ble-plx",
{
"isBackgroundEnabled": true,
"modes": ["peripheral", "central"],
"bluetoothAlwaysPermission": "Allow $(PRODUCT_NAME) to connect to bluetooth devices"
}
]
]
}
}
It even works completely with the Expo auto-deploy system (auto Google Play/Apple Store delivery system), but unfortunately, due to the use of native plugins, testing in the Expo Go application does not work.