Bug 30484 - [Components] Estimote Component sample doesn't detect beacons
Summary: [Components] Estimote Component sample doesn't detect beacons
Status: RESOLVED FIXED
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Staging (addons.xamstage.com)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: James Montemagno [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-05-26 20:17 UTC by Kent Green [MSFT]
Modified: 2015-10-19 14:13 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Logs from my repo of the issue (520.18 KB, application/zip)
2015-05-26 20:17 UTC, Kent Green [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Kent Green [MSFT] 2015-05-26 20:17:34 UTC
Created attachment 11348 [details]
Logs from my repo of the issue

===Overview===
From this desk case:
https://kb.xamarin.com/agent/case/165458

The component store's Estimote sample doesn't detect beacons. I was able to confirm this in my tests for both the Android & iOS versions of the component, whereas downloading the estimote app from the app store does detect the beacons as expected. 

===Steps to reproduce===
iOS Sample: https://components.xamarin.com/view/estimotesdkios
Android Sample: https://components.xamarin.com/view/estimotesdk

1) Make sure you have a working Estimote beacon nearby.
2) Download the sample from the provided link.
3) Debug the app on a device with Bluetooth LTE active.
4) Tap "Distance Demo"

===Expected Results===
App should detect beacon and display a distance value.

===Actual Results===
App doesn't report detecting a beacon or distance. 

===Devices reproduced on===
LG Volt running API 19
iPhone 4 running iOS 7.1.1

===Build Information===

=== Xamarin Studio ===

Version 5.9.1 (build 3)
Installation UUID: 8ef63a7c-1b18-40de-a334-7f78777fcb55
Runtime:
	Mono 4.0.0 ((detached/d136b79)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000143

=== Xamarin.Android ===

Version: 5.1.1.0 (Business Edition)
Android SDK: /Users/kentgreen/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.3.1 (7703)
Build 6D1002

=== Xamarin.iOS ===

Version: 8.10.0.267 (Business Edition)
Hash: 6481535
Branch: master
Build date: 2015-04-27 04:38:13-0400

=== Xamarin.Mac ===

Version: 2.0.0.262 (Business Edition)

=== Build Information ===

Release ID: 509010003
Git revision: aad75a6e7e48f18120ce41f47d0ff2c6216f49c3
Build date: 2015-05-08 12:46:18-04
Xamarin addins: 1246b3044cbb7f56a217334f8fc5489ef8eefe3f

=== Operating System ===

Mac OS X 10.10.3
Darwin Kents-Macbook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

===Additional Info===
Attaching logs from my reproduction of the issue. 

I also noted the sample the customer sent appeared very similar to our own iOS sample, though was named 'estimotesdkios-2.4-3.0' instead of 'estimotesdkios-2.4.0' which is currently the only version shown here: https://components.xamarin.com/view/estimotesdkios. Based on the design it appears it was derived from 2.4.0 (or some other precursor version.) 

Interestingly, this 2.4-3.0 version did seem to at least detect the proximity of the estimote but not the distance; which is what the customer is trying to do; grab the distance. Perhaps a version where the detection is fixed is already somewhere but not showing up in the store for some reason? 

Even so, it's still not showing the distance; I'm checking with the customer to see if they might have found this 'version' of the sample elsewhere.
Comment 2 James Montemagno [MSFT] 2015-05-28 02:27:27 UTC
If the Estimote beacon has newer firmware then it won't be detected. Newer beacon firmware broke 2.4 and we are working on 3.x binding.
Comment 3 James Montemagno [MSFT] 2015-05-28 02:29:35 UTC
You only truely need the Estimote component if using stickers. If using just beacons try the core location API: https://github.com/xamarin/evolve-quest/blob/master/EvolveQuest.iOS/QuestViewController2.cs#L134-L142

We should 3.x binding soon though.

James
Comment 6 James Montemagno [MSFT] 2015-10-19 14:13:39 UTC
All of the components have been updated.