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
[Question] Behaviour of iBeacon when the app is not running #5
Comments
I haven't done my own research on this topic yet, but others did so, in case you haven't yet found these: SO Topic 1, SO Topic 2, Radius Networks Research Based on those my key takeaways are as follows:
Sorry that I couldn't provide a more convincing answer to this one, if you have any other questions feel free to ask. Peter |
Hi, Thank you for this plugin that works perfectly for me when app is launched. But I tried to throw a notification when the app is in background or closed as it seems possible with the iOS7.1 , I added cordova-plugin-local-notifications to throw notification when iBeacon on sight :
And forced these notification parameters into CDVIBeacon.m file :
It results in notifications thrown when i switch ipad off then on (so notifyEntryStateOnDisplay works well), but none when ipad is launched and application in background or off... As I'm new to cordova application, i wondered if i've done something wrong or if i missed a step ? Is it also possible to directly launch the closed application from an iBeacon on sight, using this plugin ? Thank you very much for these answers. |
Hi @julienandre As I recently discovered, the reliability of callbacks for region monitoring (circular and beacon regions) are not perfect at the moment, when it comes to closed apps. The version 2 branch will make a significant improvement on this, but is yet incomplete. |
The version 2 branch is now released, and it should solve this issue with the new callback mechanism between the native layer and the DOM. Please feel free to reopen this if any issues arise after upgrading to the version branch. Important note: Version 2 significantly changes the API surface by being based on promises as the return values. |
Perm update
Things work properly when the app is running or in background.
I am able to get the status when the phone enters the region or leaves it.
The problem is that when the app is not running(after killing it/after reboot ), I don't get any status. It doesn't detect anything.
Is this expected or is there any setting that I need to use to get the status when the app is not running.
The text was updated successfully, but these errors were encountered: