I’m nearing the end of a very long project that many of you have helped make happen (Thanks BTW!). I need only one last piece. iBeacons.
I am using Hype to make an app using Phonegap. The final piece of this app is to make it so the Hype scene will change based on which iBeacon it’s near.
I’ve been using Evothings to test and the iBeacons phonegap plugin (https://github.com/petermetz/cordova-plugin-ibeacon) as mentioned in previous posts, but the javascript for connecting them to the Hype API seems to be going over my head.
I have already programed and provisioned the beacons, I just need to figure out how to connect them to hype to change the scenes.
Does anyone have any suggestions or could possibly offer assistance on getting this to work?
If you run the app.js function as a local function within Hype, and you have element IDs corresponding to IDs used in the app.js file like ‘page-feet’, you can get to a starting point with this plugin.
In addition to being one of the makes that made this awesome app, you’ve also just earned a spot in the “Special Thanks” credits of my app! That demo example and running it as a Hype function looks like it just may work. I’ll give it a go and let you know!