Xamarin Bindings, samples nor sdk works


#1

Just to get some extra eyes on this, the Xamarin bindings have never worked. The sample code and bidings do not return any devices, they aren’t even interfacing with a bluetooth adapter on the device.

The correct permissions have been set and aquired, the Estimote Android native libraries work fine but these xamarin bindings seem like they have never been tested.

This applies to versions:

1.0.3
0.11.0.1
0.11.0.0
0.9.1.0
0.8.8.1
0.8.8.0
0.8.7.0

any ideas?


Telemetry packet confusion
#2

Hey @DogFive,

The Xamarin plugins are created and maintained independently of Estimote. AFAIK, the latest updates were more than a year ago, and our software, including the firmware on beacons, has changes a ton. If you’re able to use native Android solutions, I’d really recommend that over the plugin. We can’t really say if those plugins work, and there’s little we can do to get them updated in any way.
Cheers!


#3

@Raphael

I can write a script to re-bind everytime you guys make a release on Jcenter. I just found out you guys are doing official releases through Jcenter and last night I was able to create a binding library for this and make it work correctly.

Please let me know if you’re interested and I’ll upload to github.


#4

Hey @DogFive, I’m actually experimenting with binding our new Android Proximity SDK (https://github.com/estimote/android-proximity-sdk) to Xamarin, so I’d love to compare notes and see how you went about binding the current Estimote SDK (:

I’ll be uploading my results soon to:


#5

@heypiotr

When you go to bind your Jars/AAR you have to place them inside the jar folder and build with the file as an embedded resource. It will shit out some warnings, sometimes its unable to bind automatically and you need to rewrite some wrapping functions manually. Make sure to create a Xamarin page and upload bindings to nuget so when people create a new solution they can easily resolve the references.

I’ll create bindings for the other SDKs you have and see how well they work. The current libraries on xamarin do not work.


#6

Hello, I just downloaded the code and compile the jars… except one, kotlin-stdlib-1.2.0.jar-lite.jar, somehow this one doesn’t work or is created, do you have a updated script or something I need to do?

best regards,


#7

I’m in the same boat, missing the jar-lite.jar file. Guess I’ll have to keep looking for other Xamarin (Android and iOS) examples.

cheers.


#8

I just tried and couldn’t reproduce the problem. Did you run the download_jars.sh script as the README suggests?


#9

Hi. I’m experimenting with Estimote Xamarin Bindings (https://github.com/Estimote/Xamarin-Bindings), and I have the same issue with missing the jar-lite.jar file. I have followed the README.
Because of the missing file, on the Android version of the provided Example application, the namespace Kotlin (Kotlin.Jvm.Functions.IFunction1) is not found. Also the method WithOnEnterAction is missing (everything that references the Kotlin namespace). So I can compile the Android Example App if a comment MyEnterHandler, MyErrorHandler classes and WithOnEnterAction, WithOnErrorAction method calls.
I have tried this several times. I did not found a log with the problems.
Can you tell me what I’m doing wrong?


#10

Did you get any errors when running download_jars.sh? I only had a chance to test it on my macOS, what OS are you using?


#11

I’m running on Windows 10. It is hard to tell if there is an error, because when I execute download_jars.sh a new window opens and the logs are dumped there. When the download_jars.sh finishes the window is closed and I do not get to see the final message. I don’t see any log file on the folder structure.


#12

Gotcha—I doubt very much this script works properly on Windows :slight_smile:

Here’s a ZIP with all the Jars for the current version, until we figure our a better solution for Windows users:


#13

Thank you. With the provided Jars-0.4.1.zip file I was able to compile the Proximity sample. I can confirm that it works from macOS.