BLE Central scan

BLE Central scan

Hi,

The sample program has a button to scan iBeacons, how can I make it scan when the page is loaded?

I would like to remove the button and scan when the application start.

Thanks

 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You can add the desired code in the js/app.js file. This code block in this file is triggered when the plugin is detected from line 9 to 30.

I recommend adding an else statement containing your desired code after the if statement on line 20.

Leave a Comment

Please sign in to add a comment. Not a member? Join today