Application behavior when bluetooth is off

Discuss mobile apps for Estimote products.
wsadiq
Posts: 8
Joined: 14:58, 03 Mar 2015

Application behavior when bluetooth is off

Postby wsadiq » 00:02, 25 Mar 2015

Hello,

We have built an application that uses evothings plugin for estimote beacons. The application works fine when bluetooth is on. However, when bluetooth is off on iOS, we get an appropriate dialog box that asks to users permission to turn bluetooth on. We are not seeing the same behavior on android. When the application is installed and run on android, it simply starts up - we just don't see any beacons. The expected behavior would have been for the app to present the dialog box asking for user's permission to turn the bluetooth on.

Did we miss a step? Can somebody help? The app seems to have the right permissions because when the app is installed, it does show as requiring access to bluetooth.

Thanks in advance for your help.

Waqar

alex
Posts: 92
Joined: 00:59, 19 Nov 2013

Re: Application behavior when bluetooth is off

Postby alex » 08:08, 26 Mar 2015

Hi!

Can you tell what version of Andriod you're using, and what's the terminal (phone make/model). That might narrow it down.
When you run some of the other examples, like the BLE scan template in Evothings Studio, is the result the same or
do you get the "please turn your bluetooth subsystem on" then?

best

Alex

wsadiq
Posts: 8
Joined: 14:58, 03 Mar 2015

Re: Application behavior when bluetooth is off

Postby wsadiq » 13:00, 26 Mar 2015

Hello,

We have tried on two different versions with the same results. We have tried on LG Nexus 4 and LG G3 both running Android 4.4.2. When I asked Estimote this question, their reply is as follows:

iOS handles this automatically. On Android, you need to include this pop-up windows into the app yourself. We have an example for this in our SDK: https://github.com/Estimote/Android-SDK/blob/master/Demos/src/main/java/com/estimote/examples/demos/ListBeaconsActivity.java#L111

When I look at the initialize method of evothings plugin (EstimoteBeacons.java), it does not include the logic that estimote is saying is required. Should the logic to turn bluetooth on be included here for android plugin?

It would be really nice if this was handled inside the plugin itself.

Thanks in advance for your response.

Waqar

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Application behavior when bluetooth is off

Postby micke » 21:27, 28 Mar 2015

Hello, thanks for reporting this.

I have added an issue to the plugin issue tracker for implementing the suggested functionality:

https://github.com/evothings/phonegap-e ... /issues/72

Best regards, Mikael

wsadiq
Posts: 8
Joined: 14:58, 03 Mar 2015

Re: Application behavior when bluetooth is off

Postby wsadiq » 22:24, 28 Mar 2015

Mikael,

Thanks for your response. Can you give any idea of approximate time frame for this functionality. Our application is being released and beacon integration is a big part of it.

Thanks,

Waqar Sadiq

wsadiq
Posts: 8
Joined: 14:58, 03 Mar 2015

Re: Application behavior when bluetooth is off

Postby wsadiq » 20:15, 02 Apr 2015

Hi Mikael,

Any ballpark estimate of when the new release may be coming out with the blue tooth check functionality in it?

Thanks,

Waqar Sadiq

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Application behavior when bluetooth is off

Postby micke » 10:19, 08 May 2015

Sorry about the slow response and the lack of road map. I still cannot give you any date on when the upgrade will be made. You are of course welcome to look into doing the upgrade if you have the time to spare.
Regards, Mikael


Return to “Estimote”

Who is online

Users browsing this forum: Google [Bot] and 1 guest