-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix Android release that generates a .aab file #206
Conversation
Creating Android release generates a .aab file. The Build() function was working with *.apk files only. So the AAB file was not copied and triggered a SELinux error. The copy sh command failed also. This commit fixes the problem by changing the pattern to match on copy, and the package name using ".aab" suffix. NOTE: it could be better to use filepath.Glob() to find files and use os.Rename() instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks for catching this
The failing tests indicate we'll need to update the tested versions to match Fyne... |
Yes, this require an image release with latest Fyne. |
Do you mind synchronizing this with latest fyne-cross develop? I think it should be good to merge after that. |
I have attempted a rebase myself to get this included |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All up to date and looking good, thanks
Description:
Creating Android release generates a .aab file. The Build() function was working with *.apk files only. So the AAB file was not copied and triggered a SELinux error. The copy sh command also failed.
This commit fixes the problem by changing the pattern to match on copy, and the package name using ".aab" suffix.
NOTE: it could be better to use filepath.Glob() to find files and use os.Rename() instead.
Checklist: