dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
412 stars 66 forks source link

Can not save any accessory when user new built a release apk. #107

Open cuonghm90 opened 5 months ago

cuonghm90 commented 5 months ago

As you know, I'm developing new feature about reading battery level. (https://github.com/dchristl/macless-haystack/issues/100) So when I build a new apk, in release mode, I can not save any accessory. Step to reproduce

  1. Build app: "flutter build apk" or "flutter run --release"
  2. Add new accesory.
  3. Press "Back" of device to exit to home screen.
  4. Open App -> lost devices added.

Can you check that because I don't much about flutter. Many thanks.

dchristl commented 5 months ago

You have to press "import" (in the right top corner) instead of back to import new accessories

cuonghm90 commented 5 months ago

I imported accessory in step "2. Add new accesory."

The extract step to procedure is

  1. Build app: "flutter build apk" or "flutter run --release"
  2. Add new accessory/Import accessory
  3. Press "Back" button of android devices to exit to home screen.
  4. Open App again -> lost devices added.
dchristl commented 3 months ago

Sorry, but how am I supposed to help you here? You should already have a basic understanding of flutter and/or Android development. I would start with adb (logcat) or debugging the app. Flutter is quite chatty when an error occurs.