chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
586 stars 167 forks source link

Re-enable move to SD card ("missing a required file" check fails) #551

Open mobluse opened 2 years ago

mobluse commented 2 years ago

Describe the bug When I try to start it Google Play opens and there is a toast about "Puzzles is missing a required file! Try reinstalling from Google Play." If I don't move it to the external SD card, it works.

To Reproduce Steps to reproduce the behavior:

  1. Install the app using F-Droid (or Google Play)
  2. Move the app to the external SD card using Settings/Apps/Puzzles/Storage.
  3. Start the app.
  4. The error toast is shown and the app is stopped and it presentation is shown in Google Play.

Expected behavior The app should start as if I hadn't moved it to the external SD card.

Screenshots Screenshot_20220526-023658

Version info (optional, but sometimes helpful)

Additional context A lot of people need to free up internal flash memory. If it cannot work on an external SD card, it should not be possible to move it there like e.g. YouTube is not movable, but I would prefer if Puzzles could be movable e.g. by replacing some absolute path with a relative path.

goyalyashpal commented 1 year ago
  • Install the app using F-Droid (or Google Play)
  • Move the app to the external SD card using Settings/Apps/Puzzles/Storage.
  • Start the app.

hey, have u tried doing the "start the app" step-3 just after "install the app" step-1

mobluse commented 1 year ago

Yes, it works if I don't move it: "If I don't move it to the external SD card, it works." It shouldn't be movable if it doesn't work after the move. That is the bug. It's is possible to set apps as none-movable.

goyalyashpal commented 1 year ago

@chrisboyle