Comments (1)
I just want to put this here for anyone else wondering why this isn't working on Android 12/13 for iBeacon devices.
Your AndroidManifest.xml has to look like this (I'm sure that all of these perms aren't required but this is what is working for me)
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
And you need to update to version 1.4.0 manually via the pubspec.yaml file:
flutter_blue_plus: git: url: https://github.com/boskokg/flutter_blue_plus.git ref: master
from flutter_blue_plus.
Related Issues (20)
- [Help]: "service not found on this device" exception when reconnecting with different services HOT 6
- [Help]: Print image HOT 3
- [Question]: i am creating send function and that function is given below and also i provide you output , all is clear but when that send message is not showing in hterm? HOT 7
- [Question]: write characteristicuuid feature not work => data is not sent !!!!!
- [Question]: discoverServices or read characteristic failed HOT 2
- [Question]: Can't see any Bluetooth iBeacon devices when scanning on iOS. HOT 5
- [Bug]: Example: Cannot connect to device after device.disconnect() HOT 27
- I/flutter ( 7149): Exception: PlatformException(write_characteristic_error, data longer than mtu allows. dataLength: 23> max: 20, null, null) #0 HOT 3
- [Bug]: iOS: BluetoothConnectionState.disconnected not received HOT 7
- [Bug]: Android: connected and disconnected event will not send to device's connectionState stream in dart HOT 1
- [Bug]: Android BLUETOOTH_CONNECT runtime permission is required in addition to BLUETOOTH_SCAN HOT 22
- [Feature:] Is there a way to get "disconnect reason" when connection breaks? HOT 5
- [Bug]: The Nordic UART Service Can't be found by our API HOT 3
- After I successfully connected the Bluetooth, I always lost the connection for a while and reported an error state=133 HOT 1
- [Bug]: writeLarge() method in documentation is incorrect HOT 1
- [Help]: during build "Xlint:deprecation" is logged HOT 2
- [Question]: IOS: GeneratedPluginRegistrant (Module 'flutter_blue_plus' not found) HOT 1
- [Bug]: after 1.13.2, incoming data is throttled, leading to data loss. HOT 12
- [Help]: Not finding any bluetooth devices HOT 1
- [Help]: writeCharacteristic: (code: 3) Writing is not permitted. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_blue_plus.