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

Ti 9+ support and added bind/unbind methods #26

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

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