-
Notifications
You must be signed in to change notification settings - Fork 374
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
Advertising the beacon is not working. #283
Comments
I have the same problem on iOS 10 for advertising functions. Scan is working. The issue was found on iPhone 5S with iOS 10.3.1 |
For advertising function what is UUID, is it going to generate by itself ? From my understanding if phone will act as beacon do I have to provide UUID of it is self generator. |
@Atulvermaon18 You must provide explicit UUID, Major ID and Minor ID. But I also have issues with advertising: #310 |
I am running in to a similar issue - I set up equivalent to the examples, no JS problems, and no exceptions in the objective C code. All success callbacks are executing but no beacon looks to be present and the delegate events are not firing. What I did discover is that at this check, I am seeing that the peripheral manager is not powered on: if (_peripheralManager.state == CBPeripheralManagerStatePoweredOn) { What would one need to do to turn it on? Or is this an indicator of something else being problematic? I am on iOS 10. I haven enabled bluetooth and have granted the permission using the cordova.plugins.locationManager.requestAlwaysAuthorization() call. Also, why would I not see the debug log output on the cordova side? I had to have xCode attached to debug this? |
@brandon-applied
It's up to iOS to turn it on, your application does not have control over that unfortunately. Please check the referenced issue and the bottom comments for some more guidance.
There's a method call that you need to issue to enable the debug logs on the native side. By default they are turned off because it's bad practice to spam the stdout of the OS in production (e.g. when you app goes to the stores). The method call should be documented in the README file, let me know if you can't find it. |
@ManjuSagar Please check the bottom comments on #310 and see if that helps. Let's continue the discussion there. |
While advertising the virtual beacon in ios 10, success callback is executing but there is no virtual beacon recognised.
The text was updated successfully, but these errors were encountered: