Comments (5)
So it seems that Bluetooth connection and interaction device works fine without location services or permission - it's only the Bluetooth scanning that requires location permissions and services to be enabled. That part is already handled properly by RxAndroidBle.
Also, if location (or any other permission) is denied, Android will kill the app process, so we don't have to worry about handling that scenario.
from blexplorer.
from blexplorer.
this all sounds like for recent versions of Android. I just hope you wont drop older versions support. Thanks.
No, I'm not planning to drop support for the older versions. It's just that we need to also support the newer versions properly (e.g location permissions requirement). Anyway, I've finally raised the target SDK version to API 23 (Android 6.0 Marshmallow). Will raise it soon, all the way to API 29.
from blexplorer.
Finished implementing as of 995951f
from blexplorer.
Also, wanted to inform you that I've done all of my new work in a new branch here - https://github.com/sandy-8925/BLExplorer/tree/modernization_v2
I doubt I'll be able to merge this upstream, since I've made a huge number of changes and ligi hasn't reviewed that initial change yet.
from blexplorer.
Related Issues (13)
- Update targetSdk to 26+ HOT 2
- Let BluetoothController store BLE device list and last_seen HOT 1
- DeviceListActivity: Move scan record string processing to a background thread HOT 1
- App class is used to store some data (BluetoothDevice, gatt, service) that should be handled differently HOT 2
- DevicePropertiesDescriber.getServiceName() performs heavy work, and is called repeatedly from UI thread HOT 1
- Fix crash that occurs sometimes, when we try to connect to a Bluetooth device we are already connected to HOT 2
- Use Timber library to handle error/info/debug logging HOT 1
- When the app is in the background, must avoid scanning for BLE devices (avoid performing unnecessary background work) HOT 1
- Handle JCenter deprecation
- [CRASH] io.reactivex.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled
- [FR] sort and/or filter devices
- version bump HOT 2
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 blexplorer.