Skip to content

Upgrade Flutter for flutter_soloud depenency - #235

Open
leaf-node wants to merge 1 commit into
ale64bit:mainfrom
leaf-node:leaf-node-update-flutter
Open

Upgrade Flutter for flutter_soloud depenency#235
leaf-node wants to merge 1 commit into
ale64bit:mainfrom
leaf-node:leaf-node-update-flutter

Conversation

@leaf-node

Copy link
Copy Markdown
Contributor

This change is a starting point for fixing F-Droid builds of the flutter_soloud dependency (#232) , which uses

flutter/flutter#176393

to support conditional inclusion of build artifacts according to the build target:

https://github.com/alnitak/flutter_soloud/blob/main/pubspec.yaml#L72

An alternative may be to downgrade flutter_soloud, which may or may not work out.

If you test this patch, you'll also need to update the pubspec.lock file. It looks like there are a few listed above the error message in the CI job, but those four are sub-dependencies. I don't know if there is a way to selectively upgrade the lock file... Perhaps doing as suggested: running run flutter pub get without --enforce-lockfile, then commit the result. I suspect that keeping the same versions of packages in pubspec.yaml may allow you to upgrade the lock file a little bit without breaking too much compatibility with otherwise working dependencies.

This change fixes builds of the flutter_soloud dependency, which uses

flutter/flutter#176393

to support conditional inclusion of build artifacts according to the
build target:

https://github.com/alnitak/flutter_soloud/blob/main/pubspec.yaml#L72
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

Successfully merging this pull request may close these issues.

1 participant