badgemagic-android icon indicating copy to clipboard operation
badgemagic-android copied to clipboard

Transfer not working

Open utzer opened this issue 5 years ago • 21 comments

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.

utzer avatar Jan 08 '20 10:01 utzer

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

adityastic avatar Jan 08 '20 10:01 adityastic

Hi ben, can you please try this out

adityastic avatar Jan 08 '20 10:01 adityastic

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

adityastic avatar Jan 08 '20 10:01 adityastic

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.

utzer avatar Jan 08 '20 12:01 utzer

@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

adityastic avatar Jan 08 '20 12:01 adityastic

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

iamareebjamal avatar Jan 08 '20 13:01 iamareebjamal

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

h01ger avatar Feb 03 '20 23:02 h01ger

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

h01ger avatar Feb 04 '20 12:02 h01ger

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

edurrr avatar Feb 04 '20 13:02 edurrr

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

h01ger avatar Feb 04 '20 14:02 h01ger

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.

utzer avatar Feb 05 '20 11:02 utzer

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

edurrr avatar Feb 05 '20 11:02 edurrr

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

adityastic avatar Feb 05 '20 11:02 adityastic

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

utzer avatar Feb 05 '20 12:02 utzer

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.

utzer avatar Feb 05 '20 22:02 utzer

@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

adityastic avatar Feb 06 '20 21:02 adityastic

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

utzer avatar Feb 06 '20 21:02 utzer

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

adityastic avatar Feb 06 '20 21:02 adityastic

Screenshot_20200211_211217 Screenshot_20200211_211234

You will find the screenshots of BleScanner App attached.

edurrr avatar Feb 11 '20 20:02 edurrr

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

adityastic avatar Feb 11 '20 22:02 adityastic

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.

FedericoCeratto avatar Mar 06 '24 15:03 FedericoCeratto