Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting images caused a crash. #25

Open
YYYSSSHHH opened this issue Jul 6, 2021 · 3 comments
Open

Exporting images caused a crash. #25

YYYSSSHHH opened this issue Jul 6, 2021 · 3 comments

Comments

@YYYSSSHHH
Copy link

Environment Info:
APK Version: 1.2.0 (9)
Android simulator version: 6.0.1

Repro Steps:

Revoke storage permission of app in the background.
1.Click the Navigation button in the top right-hand corner of app and then click the Export button.
2.Click any button in the box,namely PNG , GIF and Sprite Atlas.
3.Size is set at 40 × 40 .
4.Click the EXPORT button, then the app will crash.
1111

I believe the APIs for checking(checkSelfPermission)/asking(requestPermissions) storage permission should get called.

@YYYSSSHHH
Copy link
Author

Do you judge this as a defect?

@mihajlo0743
Copy link
Contributor

Do you judge this as a defect?

  • Well, I cant say that this is "unexpected" app behavior sinсe user knows what caused it and application will request permissions on next restart anyway
  • Also it seems like this problem only affects old(<API29) versions of Android.

As a "workaround" I can save project before exporting to prevent loss of changes to the project

@YYYSSSHHH
Copy link
Author

Do you judge this as a defect?

  • Well, I cant say that this is "unexpected" app behavior sinсe user knows what caused it and application will request permissions on next restart anyway
  • Also it seems like this problem only affects old(<API29) versions of Android.

As a "workaround" I can save project before exporting to prevent loss of changes to the project

Ok. Maybe the Android version of my simulator is too low. In a word, thank you for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants