fossasia / badgemagic-android

Badge Magic with LEDs - Android App https://play.google.com/apps/testing/org.fossasia.badgemagic
Apache License 2.0
1.84k stars 204 forks source link

Transfer not working #628

Open utzer opened 4 years ago

utzer commented 4 years ago

Describe the bug I can't transfer text to the badge. When I try to do so the app shows "No device found. Please try again.". Programming only works with my friends phone. The phone I tried with is a Huawei P30 Pro with Android 10. I also tried another phone of mine, a HTC U11 with Android 9, same issue there. I granted both permissions for the app.

What can I do to make it work? How can I help to make it work?

To Reproduce Take Huawei P30 Pro with Android 10, write test test and hit transfer.

Expected behavior Text gets transferred and badge show new text.

Logs Is there logs on a non rooted phone that I can provide?

Screenshots Screenshot_20200108_104259_org fossasia badgemagic

Smartphone Info: Huawei P30 Pro Android 10, it show Build No 10.0.0.173, let me know if you need more details.

Would you like to work on the issue? unfortunately not a developer, but I am willing to test and help.

Did any other people report bugs like this? I know that both HTC and Huawei mess around with Android, but I would still love to figure out what is the problem. I think a bluetooth search finds the badge, there is a LSLED device (not sure if I remember the device name correctly, right now it just shows MAC addresses, the name include LED), but I can not pair it, it says to to this in the app.

adityastic commented 4 years ago

https://github.com/fossasia/badge-magic-android/blob/apk/badge-magic-development-oid-debug.apk

adityastic commented 4 years ago

Hi ben, can you please try this out

adityastic commented 4 years ago

It's completely fine. It's a ble device, so it won't allow you to pair with it

utzer commented 4 years ago

https://github.com/fossasia/badge-magic-android/blob/apk/badge-magic-development-oid-debug.apk

Same result.

Edit: Now a notification popped up of some "Leaks" app that contains some diagnostic information, I guess this is linked to your development apk? It contains so much information, that I am not sure if I can/want share all of this, as I can not be sure what information it actually contains.

adityastic commented 4 years ago

@ben-utzer can you show me a video of the complete process when you try to send something to a badge, a recording using another device? I want to see the device and the badge, keep them adjacent and record the whole process

iamareebjamal commented 4 years ago

Leaks info is irrelevant to this bug. So, ignore it

h01ger commented 4 years ago

I see the same issue and have installed the app from fdroid. anything i can do to help fix this?

h01ger commented 4 years ago

On Mon, Feb 03, 2020 at 03:10:34PM -0800, Holger Levsen wrote:

I see the same issue and have installed the app from fdroid. anything i can do to help fix this?

fdroid allows one to downgrade to older versions, so I did this. And while 1.5.0 also doesnt work, transfer over Bluetooth nicely works in 1.40 and thus I could happily update my badge.

maybe a new release could be made?

-- cheers, Holger


           holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
edurrr commented 4 years ago

Unfortunately, I am experiencing the issue as well. Android/EMUI 9.1.0.260 , Huawei P30.

h01ger commented 4 years ago

On Tue, Feb 04, 2020 at 05:53:39AM -0800, edurrr wrote:

Unfortunately, I am experiencing the issue as well. Android/EMUI 9.1.0.260 , Huawei P30.

does downgrading to 1.4.0 also work around the issue for you?

-- cheers, Holger


           holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
utzer commented 4 years ago

Sorry I didn't follow up, also tried the downgrade, which didn't work. Someone from fossasia at FOSDEM suggested to try the Google Play version of the app, this also didn't solve the problem. I tried 1.4 1.5 and 1.6 from F-Droid and the Google Store version, all show the same problem.

edurrr commented 4 years ago

I did the same steps as ben-utzer and had the same result, no dice.

adityastic commented 4 years ago

@ben-utzer @edurrr please check my comment on sharing the video about the whole process.

utzer commented 4 years ago

OK, video in crappy resolution in a ZIP. VIDEO0002.mp4.zip

utzer commented 4 years ago

Still not sure how the video can be of any help, it took me a while to have my second mobile there too. I granted all permissions (file access and location) to the app, but still it does not work. I can, as I explained before, load a text with another phone that is not mine. So not sure what is the problem.

adityastic commented 4 years ago

@ben-utzer perfect. I just wanted to confirm. Can you install BleScanner from playstore and send me a screenshot of the information when you scan the led badge

utzer commented 4 years ago

install BleScanner Any tip which one, there is so many apps called BleScanner.

adityastic commented 4 years ago

@ben-utzer https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner&hl=en_IE. This would be perfect

edurrr commented 4 years ago

Screenshot_20200211_211217 Screenshot_20200211_211234

You will find the screenshots of BleScanner App attached.

adityastic commented 4 years ago

@edurrr can you send me the characteristics id and the service id

FedericoCeratto commented 7 months ago

Same here with Android 14. If I roll it back to version 1.6.0 it shows "No GPS found". Version 1.5.0 works.