schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.03k stars 370 forks source link

NO FINGERPRINTS FOUND TO INSERT, SEE API #194

Closed tushe closed 6 years ago

tushe commented 6 years ago

I tried to compile and install it on my phone and I got that error when I tried to send fingerprint...

schollz commented 6 years ago

Can you verify that your WiFi is enabled? Also, are their any WiFi APs in your vicinity?

On Sat, Nov 25, 2017 at 7:03 AM, tushe notifications@github.com wrote:

I tried to compile and install it on my phone and I got that error when I tried to send fingerprint...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/schollz/find/issues/194, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPyE2C_c7s2YdN_OJuhJz-4VCtd_6oSks5s6B4fgaJpZM4Qqb_5 .

tushe commented 6 years ago

Hi @schollz I've WIFI enabled and I've a WiFi APs in my vicinity, with the play store version it works, with my compiled version it doesn't work :(

schollz commented 6 years ago

The compiled app doesn't work? Which repo did you compile?

On Sat, Nov 25, 2017 at 7:09 AM, tushe notifications@github.com wrote:

Hi @schollz https://github.com/schollz I've WIFI enabled and I've a WiFi APs in my vicinity, with the play store version it works, with my compiled version it doesn't work :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find/issues/194#issuecomment-346942773, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPyE3aafkyh0bFZNEouvKJ8dHwmDYi_ks5s6B-rgaJpZM4Qqb_5 .

tushe commented 6 years ago

This repo with cordova

tushe commented 6 years ago

I added the plug-in and i compiled it, I installed the apk on my smartphone but it can't send fingerprints...

schollz commented 6 years ago

Hm. There are a couple things, could you setup a local server and see if it's connecting at all? I think most likely it's a Android permissions issue. The Google Play app seems to be grandfathered into the old permissions scheme, but they changed it on next Android versions where the app needs to explicitly request permissions.

On Nov 25, 2017 8:32 AM, "tushe" notifications@github.com wrote:

I added the plug-in and i compiled it, I installed the apk on my smartphone but it can't send fingerprints...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find/issues/194#issuecomment-346947495, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPyEzWQljtGvkvE24EwsKZMucxPOt1yks5s6DMkgaJpZM4Qqb_5 .

tushe commented 6 years ago

Ok, I setup a local server but the result was the same. If I'll have time I could develop a new version of this Cordova based app and i'll share it. Thank you for your help.

schollz commented 6 years ago

You might check out https://github.com/uncleashi/find-client-android, it works well too, and is more up to date.

On Nov 25, 2017 8:55 AM, "tushe" notifications@github.com wrote:

Ok, I was setup a local server but the result was the same. If I'll have time I could develop a new version of this Cordova based app and i'll share it. Thank you for your help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find/issues/194#issuecomment-346948889, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPyEwrFCq04_rJemrTocbtrMAR6uthjks5s6Dh_gaJpZM4Qqb_5 .

tushe commented 6 years ago

Thanks, I compiled that native app and tested it, but seem it has some issue about determining the position.

ishanjain28 commented 6 years ago

@schollz I am having this same problem on Find's Android Application. The server is https://ml.internalpositioning.com.

schollz commented 6 years ago

Did you do learning? Could you send me your group name?

On Nov 27, 2017 7:13 AM, "Ishan Jain" notifications@github.com wrote:

@schollz https://github.com/schollz I am having this same problem on Find's Android Application. The server is https://ml. internalpositioning.com.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find/issues/194#issuecomment-347192999, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPyExFN-2mIkEQClhV8s7zVj6dI-ULtks5s6sOBgaJpZM4Qqb_5 .

ishanjain28 commented 6 years ago

@schollz I did learning/tracking both were giving same error. Then I tried running findclient from my PC and that worked just fine.

My group name is "ishanjain28group"

tushe commented 6 years ago

I solved the issue with my cordova compiled application, just added the permission on AndroidManifest.xml

uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"

On Android in app authorization enable position.

tushe commented 6 years ago

It would be nice to have a dialog box to enable the authorization. They could be the solutions: 1) Add this functionality: https://github.com/dpa99c/cordova-diagnostic-plugin 2) Modify wifi plugin: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#android-permissions