Estimote / react-native-proximity

React Native wrapper for Estimote Proximity SDK
Apache License 2.0
61 stars 38 forks source link

android doesn't work #57

Open Jackyaung opened 4 years ago

Jackyaung commented 4 years ago

my react-native version is 60.5, and the Estimote/react-native-proximity version is 0.6.0. and I write the code according to the sample. it works well on ios but on android, it sucks, the onEnterAction method even doesn't get triggered, it works sometimes by chance. Belows are the codes:

image image

ladigitale commented 4 years ago

I am facing the same difficulties.

dewey4iv commented 4 years ago

Same here. Have either @ladigitale or @Jackyaung had any breakthroughs on this?

dewey4iv commented 4 years ago

I was able to get this working. It looks like the Android SDKs for proximity are out-of-date for v10.

Pointing your package.json https://github.com/Estimote/react-native-proximity.git#13887046 should fix the issue.

Is anyone from Estimote able to cut a release with at least this commit: https://github.com/Estimote/react-native-proximity/commit/13887046f767cf7e304b5dd7884c38ecc15ff8f1

avlisesac commented 4 years ago

I was able to get this working. It looks like the Android SDKs for proximity are out-of-date for v10.

Pointing your package.json https://github.com/Estimote/react-native-proximity.git#13887046 should fix the issue.

Is anyone from Estimote able to cut a release with at least this commit: 1388704

Can you tell more about how to do this? I'm using yarn, but I assume it will be similar. Having issues with getting estimote to work on android even though it works on ios

dewey4iv commented 4 years ago

Sure thing @avlisesac !

In your package.json -- you want to change the line for @estimote/react-native-proximity to look like this:

"@estimote/react-native-proximity": "https://github.com/Estimote/react-native-proximity.git#1388704",

After doing this, you'll want to run yarn install

Hope that helps!

avlisesac commented 4 years ago

Sure thing @avlisesac !

In your package.json -- you want to change the line for @estimote/react-native-proximity to look like this:

"@estimote/react-native-proximity": "https://github.com/Estimote/react-native-proximity.git#1388704",

After doing this, you'll want to run yarn install

Hope that helps!

Thank you! Finally got the beacons recognized on android!

dewey4iv commented 4 years ago

Glad I could help @avlisesac !

dewey4iv commented 4 years ago

hey @heypiotr @gchallen @sbalajime @Poberro -- Who do I have to buy a beer to get a new version cut for at least this above commit?

dandro32 commented 3 years ago

Hi. I've got the same issue in react native v.63. Decreasing skd to this values seems to the trick for me 👍 image