Comments (5)
Sorry I don't. I actually stopped using Dexter, it turns out it's pretty simple to implement permission requests on Android.
https://developer.android.com/training/permissions/requesting#java
from bluetooth-library.
@omaraflak
I checked that you solved some leaks (receivers) in the current code, when you going to publish new version?
from bluetooth-library.
I updated the library, it should be available in few minutes.
implementation 'me.aflak.libraries:bluetooth:1.3.4'
from bluetooth-library.
I have a leak on bluetooth.startScanning();
when close (or press back) when i scanning
i'll try solved it to help you
06-12 17:56:24.887 2424-2424/xx.xxxxxxx.xxx E/ActivityThread: Activity xx.xxxxxxx.xxx.ui.lector.scan.view.ScanActivity has leaked IntentReceiver me.aflak.bluetooth.Bluetooth$6@117f19f8 that was originally registered here. Are you missing a call to unregisterReceiver()? android.app.IntentReceiverLeaked: Activity xx.xxxxxxx.xxx.ui.lector.scan.view.ScanActivity has leaked IntentReceiver me.aflak.bluetooth.Bluetooth$6@117f19f8 that was originally registered here. Are you missing a call to unregisterReceiver()? at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1015) at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:802) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:2078) at android.app.ContextImpl.registerReceiver(ContextImpl.java:2058) at android.app.ContextImpl.registerReceiver(ContextImpl.java:2052) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:504) at me.aflak.bluetooth.Bluetooth.startScanning(Bluetooth.java:217) at xx.xxxxxxx.xxx.ui.lector.scan.interactor.ScanInteractorImpl.scanDevices(ScanInteractorImpl.java:94) at xx.xxxxxxx.xxx.ui.lector.scan.presenter.ScanPresenterImpl.startScanning(ScanPresenterImpl.java:46) at xx.xxxxxxx.xxx.ui.lector.scan.presenter.ScanPresenterImpl.onStart(ScanPresenterImpl.java:27) at xx.xxxxxxx.xxx.ui.lector.scan.view.ScanActivity.onStart(ScanActivity.java:146) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1264) at android.app.Activity.performStart(Activity.java:6646) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3096) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243) at android.app.ActivityThread.access$1000(ActivityThread.java:218) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6914) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
from bluetooth-library.
You have to call bluetooth.onStop();
before quitting
from bluetooth-library.
Related Issues (20)
- String Translate ... HOT 2
- Multiple Bluetooth Client Connections HOT 1
- AutoConnect Error HOT 1
- Allow sending and receiving data (bytes) without with use of CR LF delimiters HOT 3
- NullPointerException when starting another activity HOT 3
- Add support for PIN HOT 2
- Multiple Clients. HOT 1
- About scanning the nearby bluetooth device HOT 7
- How to set baudrate? HOT 1
- onMessage method is not calling after device sending data to application HOT 2
- Android 9 device not visible in scan HOT 1
- Cannot connect after close an activity and reopen again. HOT 1
- Can not terminate socket on activity close. HOT 2
- startDiscovery impossible HOT 7
- Connected but chat not working HOT 1
- Connected but chat not working HOT 2
- SocketReader read() returning null HOT 2
- Android Bluetooth Classic RFCOMM connection failing, getUUIDs() returns no SPP UUID HOT 2
- Audio not working in bluetooth headphone when connected to bluetooth HOT 1
- My Application restart when I connect/disconnect bluetooth USB 5.0 Bluetooth Dongle
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 bluetooth-library.