-
Notifications
You must be signed in to change notification settings - Fork 373
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
isAdvertising() always return false in Android? #439
Comments
Can you share the code to start advertisement? for me it always says false also |
I start advertising with this:
The promise completes successfully (i.e. the logcat output in my first post). However, calling
I believe the cordova plugin will call the I suspect |
Having this same issue in an Ionic Application, checking .isAdvertising() always returns false Also even though .startAdvertising() does not bring up any errors the delegate events for .peripheralManagerDidStartAdvertising() are never triggered |
Based on what I read, advertising beacon is supported on Android (Lollipop and up).
However, this call seems to always return false.
cordova-plugin-ibeacon/src/android/LocationManager.java
Line 1168 in 270ffbb
Note: I am looking into the Android source because cannot get the advertised beacon on Android device detected. Advertising seems to be succesful.
Logcat output:
I am still in the midst of figuring this out. Any help on this would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: