dchristl / macless-haystack

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

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

Open cuonghm90 opened 1 week ago

cuonghm90 commented 1 week 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 6 days ago

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

cuonghm90 commented 4 days 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.