nearby_connections/README.md

19 lines
772 B
Markdown
Raw Normal View History

2019-05-10 06:54:05 +00:00
# nearby_connections
2019-05-10 07:33:41 +00:00
An android flutter plugin for the Nearby Connections API
2019-05-10 06:54:05 +00:00
## Getting Started
2019-05-10 07:33:41 +00:00
### Set Permissions
```xml
<!-- Required for Nearby Connections -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
```
Since ACCESS_FINE_LOCATION is considered to be dangerous system permissions, in addition to adding them to your manifest, you must request these permissions at runtime.
2019-05-10 06:54:05 +00:00