tijmenvangulik / Ergometerspace

Documentation for ergometer-space
https://ergometer-space.org
Other
19 stars 7 forks source link

App says it doesn't have the permission to use location #24

Closed kacperek585 closed 4 years ago

kacperek585 commented 4 years ago

I was trying to connect to PM5 via bluetooth but the erg was claiming that connection is successful and my phone was pairing forever... I thought its because of the firmware so I updated the PM5. Now both PM5 and my phone claim to be connected but the app is unable to find an ergometer πŸ˜‚ I gave it all the permissions possible

tijmenvangulik commented 4 years ago

I have heart about these problems before. It seems to be related to the hardware limitations. (if you have also other blue tooth devices connected, it may fix it if you disconnect them) On my phone I do not have these problems so this makes it very hard for me to fix it. I know about another developer who had the same problem and he fixed it but never published the fix. I ask him if he wants to publish his fix.

Tijmen

On 28 Oct 2020, at 18:32, kacperek585 notifications@github.com wrote:

I was trying to connect to PM5 via bluetooth but the erg was claiming that connection is successful and my phone was pairing forever... I thought its because of the firmware so I updated the PM5. Now both PM5 and my phone claim to be connected but the app is unable to find an ergometer πŸ˜‚ I gave it all the permissions possible

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NX6QWAXNE3ZBJWGBATSNBIRPANCNFSM4TCUOQZQ.

kacperek585 commented 4 years ago

Thanks!

tijmenvangulik commented 4 years ago

I am now experiencing the same problem (for the first time) Hopefully I can now find a fix for this problem.

Tijmen

On 28 Oct 2020, at 23:11, kacperek585 notifications@github.com wrote:

Thanks!

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/24#issuecomment-718237899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NXAHX6ZAFGRXVABGPDSNCJH3ANCNFSM4TCUOQZQ.

tijmenvangulik commented 4 years ago

As (temporary) work around for now you could use a usb connection or use the web app from a pc or a mac.

Tijmen

On 28 Oct 2020, at 23:11, kacperek585 notifications@github.com wrote:

Thanks!

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/24#issuecomment-718237899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NXAHX6ZAFGRXVABGPDSNCJH3ANCNFSM4TCUOQZQ.

tijmenvangulik commented 4 years ago

I found a work around for phones with limited blue tooth hardware. I am now working on a fix.

tijmenvangulik commented 4 years ago

I have now published an update. I found out that there permission problem on androd 10 and above. I have implemented this fix. But since I do not own a android 10 device, I can not test it. Can you please check if this fix is working for you? (it is fixed in 3.4.4)

Tijmen

kacperek585 commented 4 years ago

I have an Android 9 but I will try πŸ˜‚

tijmenvangulik commented 4 years ago

If it does not work, I have also an extra feature added in the options: "Work around limited blue tooth hardware” . Switch it on and restart your app. Make sure that you have given the app all the rights.

TIjm

On 7 Nov 2020, at 21:40, kacperek585 notifications@github.com wrote:

I have an Android 9 but I will try πŸ˜‚

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

tijmenvangulik commented 4 years ago

I am now a step further. I have upgraded my android device to android 10. (and nearly destroyed my phone, but after a weekend getting all sorts of work arounds I got it working ) And yes I have the same problem as you have on android 10. My app can not connect using blue tooth or usb. When I open ergometer-space.org in the google chrome browser , blue tooth works fine. So there is something with the app which needs upgrading...

tijmenvangulik commented 4 years ago

I have now published a new release 3.4.7 for android. It now works fine on android 10. I hope this also fixes it for you on android 9.

tijmenvangulik commented 4 years ago

The problem should now be solved with the latest fixes. But I have not heart from you for a while. I close the issue for now, but feel free to open the issue again when there are still problems.