-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashed after call bluetoothSerial.connect() #459
Comments
You need to target API 30. If you target 31 or higher this plugin will not work. |
My friend phone using android 11, he can use app normal |
I forked the repot because the master fork has a lot of problem. You can try to use https://github.com/giuseppelanzi/BluetoothSerial or one the other forks that you'll find in the recent issues (especially #454). Hope it helps. |
Thanks for your help. New package.json I don't know why it fixed, but after change package.json file like this and build app. My app working normal again |
I tested with 2 phone, both have Android 13
Before (like a few weeks ago), the app i built run normal.
But in past week, the app i build can't call bluetoothSerial.connect() function in my phone anymore.
It can call bluetoothSerial.list() function to get list of bonded device, but when i try to test, app crash instant, no error was show.
I tried to put console log in each step in my code (after subscribe to bluetoothSerial.connect() function) to debug , but nothing show in console
Can anyone help me find where the issue is please?
My phone: Android 13
My app ionic info:
Ionic:
Ionic CLI : 6.20.8
Ionic Framework : @ionic/angular 6.5.2
@angular-devkit/build-angular : 15.2.4
@angular-devkit/schematics : 15.2.4
@angular/cli : 15.2.4
@ionic/angular-toolkit : 7.0.0
Cordova:
Cordova CLI : 11.1.0
Cordova Platforms : android 10.1.2
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 14 other plugins)
Utility:
cordova-res : 0.15.4
native-run : 1.7.1
System:
Android SDK Tools : 26.1.1
NodeJS : v18.12.1
npm : 9.4.1
OS : Windows 10
The text was updated successfully, but these errors were encountered: