Comments (21)
@AEiosApp I opened PR with new version. Temporarily you can switch to my repo (remove, add new cordova plugin).
I just bumped versions, I'm not sure about consequences.... But it's working and google finally accepted my app.
from cordova-plugin-ibeacon.
Please update it :) Thanks
from cordova-plugin-ibeacon.
@Radik24 Thanks!
This will let us build app for API 31 , but looks like we have to avoid using this plugin on Android 12 devices.
My code works perfect for iOS and Android 11 device, but wasn't able to make it work on Android 12 device.
#1 Enable Bluetooth doesn't work on Android 12
cordova.plugins.locationManager.enableBluetooth()
#2 There are plenty of fresh issues reports on the org.altbeacon:android-beacon-library page (in closed state, but not sure if resolved)
https://github.com/AltBeacon/android-beacon-library/issues?q=is%3Aissue+12+is%3Aclosed
I think my solution for now will be to check Android version on the device and not to use this feature on Android 12 devices
from cordova-plugin-ibeacon.
@AEiosApp I still have some issues with BLUETOOTH_SCAN on android 12. Do you know how to fix it? Thanks
from cordova-plugin-ibeacon.
@Radik24 nope, I checked all related issues posts on the github of android-beacon-library, but look like they don't have any solution yet for Android 12
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
Hi, I got it. It works fine. But I combine it with cordova-plugin-eddystone
which is not working. So my bad. At least app starts. I must to try it with real beacons if it's working.
from cordova-plugin-ibeacon.
@noahbaron did you try it on device with Android 12?
It works fine for me on Android 11 device, but not on Android 12
from cordova-plugin-ibeacon.
just on simulator, I don't have Android 12. I'll send it to my colleague with Android 12
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
Thanks guys! I was trying with SDK 31, will try it with SDK 32
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
@AEiosApp Did it worked with sdk 32?
Mine is also sdk 32. Beacons are not detecting in Android 12/13 devices when we ask user to allow location permission with default android popup along with near by devices permission. Strange thing is if we install app and before opening it if we go to settings and give permission to location manually and opening the app as usual like allowing permission for near by devices and all then beacons are getting detected. Help would be appreciated. Thank You
from cordova-plugin-ibeacon.
Recently, What i have observed is beacons are getting scanned only when we allow permission for PRECISE location.
If we give permission for APPROXIMATE location. beacons are not detected in Android 12/13.
Is it same for you @noahbaron
That’s strange, I built an app that targets SDK 32 and this plugin works fine, scans for iBeacons no problem. It requires manually adding entries to AndroidManifest.xml: Here’s a link to the entire file: https://github.com/baronbrew/Tilt-Hydrometer-Framework7/blob/master/platforms/android/app/src/main/AndroidManifest.xml
…
On Sat, Nov 19, 2022 at 8:04 AM AEiosApp @.> wrote: @Radik24 https://github.com/Radik24 nope, I checked all related issues posts on the github of android-beacon-library, but look like they don't have any solution yet for Android 12 — Reply to this email directly, view it on GitHub <#474 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ3FBMPO4KQ7NYKKZ5J4VTWJD27XANCNFSM6AAAAAARIW7PLI . You are receiving this because you are subscribed to this thread.Message ID: @.>
from cordova-plugin-ibeacon.
Anyone manage to get this working?
Tried SDK 30, 31 & 32, added the permissions in the Manifest file but it never worked on an Android 12 phone.
@noahbaron what is your cordova environment?
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
from cordova-plugin-ibeacon.
@noahbaron : I tried with the below combination. My cordova android app is not detecting any beacons.
implementation 'org.altbeacon:android-beacon-library:2.19.5-beta9' or higher.
cordova 11.0.0
android 10.1.2
SDK 32
I really appreciate if anyone is having a solution for this ibeacon cordova plugin.
from cordova-plugin-ibeacon.
If your Android 12/13 phone cannot scan beacon devices, try to manually enable the [nearby devices] permission.
[Samsung S21, Android 13]
- open [Settings/Location]
- click [App permissions]
- click [Your APP]
- Slide to the bottom of the screen
- click [See all APP permissions]
- allow [Nearby devices] permission
[Redmi]
- Setting / Application Setting
- click [Application Management]
- click [permission Icon]
- click [Application Permission Management]
- click [Nearby devices]
- click [Your APP]
- allow [Nearby devices] permission
Or explicitly request user approval in your app before you can look for Bluetooth devices.
https://developer.android.com/guide/topics/connectivity/bluetooth/permissions
from cordova-plugin-ibeacon.
Related Issues (20)
- trying to use in Ionic/Capacitor env. , no response HOT 8
- what is the identifier used for? looking at all the underlying code it isn't used for beacon recognizing. HOT 2
- when debug is enabled, where is it viewable or stored? HOT 1
- how do I build another version of this library? HOT 1
- using thru Ionic-Native with Capacitor on android , Uncaught (in promise) TypeError: e.beacon.stopRangingBeaconsInRegion is not a function HOT 1
- i expect to see duplicates of beacons where there are multiple, but only see one.. am I doing something wrong? HOT 2
- is there a way to get the mac address of the beacon? HOT 1
- Does this plugin support android 9 and greater ? HOT 7
- Read custom field
- No beacons are found in Andoid 11 smartphones HOT 1
- exitRegion configuration timeout request
- Error: Importing IBeacon which does not have a ɵmod property
- Question: How can I decrease advertising interval as ibeacon device in android and ios?
- Sometimes Beacons within the range are detected differently. HOT 1
- Major and minor with wrong values HOT 1
- Compatibility with Android 12 HOT 4
- Use plugin on iOS16+, there's no beacons response from callback! What does can we do on iOS16+
- cordova-plugin-ibeacon not working starting android 11 HOT 7
- Dependency missing in build.gradle for org.altbeacon:android-beacon-library:2.16.1 HOT 4
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 cordova-plugin-ibeacon.