Skip to content
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 not working #231

Closed
jonasty19 opened this issue May 10, 2016 · 5 comments
Closed

Advertising not working #231

jonasty19 opened this issue May 10, 2016 · 5 comments

Comments

@jonasty19
Copy link

Hi, I'm trying to configure my iPad as an iBeacon using this cordova plugin. I am unable to do it. I've copied the code directly into my app. It's running and it's giving no errors. I can see that the startAdvertising command is being run. Ok, so, now, if I scan for the beacon, I get nothing. If I run the isAdvertising command manually, I get false.

Is this supported? Using a native iBeacon advertising app, I can advertise with the same exact iPad no problems. Any help is greatly appreciated.

Thanks!

@jonasty19
Copy link
Author

Does anyone know if this functionality even works anymore? Or if this code is even supported?

Thanks.

@jonasty19
Copy link
Author

Anyone working on this?

@cgewecke
Copy link

@jonasty19 - Possibly related to your issue.

Had similar problem when upgrading from cordova 3.x.x to 4.0.0 with code that had worked until then. Was able to fix within Xcode by making sure: Capabilities > Background Modes > Location Updates is toggled on.

screen shot 2016-05-24 at 9 55 33 pm

@jonasty19
Copy link
Author

jonasty19 commented May 27, 2016

@cgewecke Thank you so much for taking the time to answer my question. You have saved a stranger a lot of time and headaches. It's very difficult to find documentation on this sort of issue, especially if you don't know where the problem lies (with code or configuration).
Your solution was exactly my problem btw.

@mpk2
Copy link

mpk2 commented Nov 18, 2016

This really should be in the documentation somewhere. It seems to be required even when only in the foreground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants