Skip to content

Conversation

Astrovic
Copy link

Ti 9+ support and added bind/unbind methods.
TiBeacons.bindBeaconService() will force the bind to prevent TiBeacons.isReady() from always remaining false (#25)

var handle;
TiBeacons.bindBeaconService(); // This will force the bind to prevent TiBeacons.isReady() from always remaining false
handle = setInterval(function(){
    if(!TiBeacons.isReady())
        return;

    Ti.API.info("Okay! Module is ready!");  
    clearInterval(handle);
    handle = null;

    //setup your event listeners here
}, 1000);

@jamesfalkner
Copy link
Owner

Thanks for the contribution! Although it seems to have been merged, it still says there are conflicts. Any idea why that is?

@Astrovic
Copy link
Author

When I did the PR there were no conflicts. I am using the new module with no problems. Doesn't it show you what the conflicts are?

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