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

Bugfixes on Android iBeacon monitoring #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

indiluk
Copy link

@indiluk indiluk commented Aug 25, 2018

Changed beacon major and minor ids to String in BeaconRegionIBeacon to prevent parsing errors, removed unbind function

@vinceramcesoliveros
Copy link

Someone should be handling these PRs.

@@ -44,7 +44,7 @@ class BeaconRegionIBeacon extends BeaconRegion {

String get proximityUUID => ids[0];

int get major => ids.length > 1 ? ids[1] : null;
String get major => ids.length > 1 ? ids[1] : null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this one on his example and it doesn't detect any beacons.
You're supposed to convert the Major and Minor to int or decimal.
changing it to string will convert the ids to string.

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

Successfully merging this pull request may close these issues.

2 participants