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

CoreLocation: Fence: onClientEventRegionState, invalid state, 0 #22

Open
kraigh opened this issue Oct 2, 2014 · 3 comments
Open

CoreLocation: Fence: onClientEventRegionState, invalid state, 0 #22

kraigh opened this issue Oct 2, 2014 · 3 comments

Comments

@kraigh
Copy link

kraigh commented Oct 2, 2014

I'm getting this error:

[INFO] :   Turning on region monitoring in CLBeaconRegion (identifier:'Slide Car 1', uuid:<__NSConcreteUUID 0x155b1510> B522CE3F-E524-434B-AE00-223D53F820A8, major:(null), minor:(null))
[INFO] :   proxyAppDelegateLocationManagerMethodsTo
[INFO] :   Turning on region monitoring in CLBeaconRegion (identifier:'Slide Car 2', uuid:<__NSConcreteUUID 0x155c1a20> 720858F0-E53A-800D-DC38-3854270D1609, major:(null), minor:(null))
[INFO] :   Did start monitoring region: Slide Car 1
[INFO] :   Did start monitoring region: Slide Car 2
[INFO] :   CoreLocation: Fence: onClientEventRegionState, invalid state, 0
[INFO] :   State UNKNOWN region: Slide Car 1
[INFO] :   CoreLocation: Fence: onClientEventRegionState, invalid state, 0
[INFO] :   State UNKNOWN region: Slide Car 2

My listeners look like:

function toggleMonitoring() {

    if ($.monitoringSwitch.value) {
        TiBeacons.startMonitoringForRegion({
            uuid : "b522ce3f-e524-434b-ae00-223d53f820a8",
            identifier : "Slide Car 1"
        });
        TiBeacons.startMonitoringForRegion({
            uuid : "720858F0-E53A-800D-DC38-3854270D1609",
            identifier : "Slide Car 2"
        });

    } else {

        TiBeacons.stopMonitoringAllRegions();
    }
}

Any suggestions? I'm on Titanium SDK 3.4.0 developing for iOS 8. I have the "latest" version of tibeacons.

@lawjeremy
Copy link

@kraigh I also see this error, did you ever find out what was causing it?

@WillDent
Copy link
Contributor

@lawjeremy @kraigh are you guys using any other location modules? Like Appcelerator's Geo Fence?

Thanks!

@lawjeremy
Copy link

@WillDent Yes I determined that for me it was a conflict with another location module

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