Skip to content

fix warning on android#191

Merged
wang-bin merged 2 commits into
wang-bin:masterfrom
abdelaziz-mahdy:fix-warning
Dec 12, 2024
Merged

fix warning on android#191
wang-bin merged 2 commits into
wang-bin:masterfrom
abdelaziz-mahdy:fix-warning

Conversation

@abdelaziz-mahdy

Copy link
Copy Markdown
Contributor

fixes #190

@AlexV525

Copy link
Copy Markdown
Contributor

Changing this might cause older SDKs to fail to process with the callback.

@wang-bin

wang-bin commented Dec 12, 2024

Copy link
Copy Markdown
Owner

You can edit java by gradle like this commit, rename onSurfaceAvailable to onSurfaceCreated if flutterSdkVersionInt < 32700?

@abdelaziz-mahdy

Copy link
Copy Markdown
Contributor Author

Oh okay I will do the changes in gradle then to support older sdks too

@abdelaziz-mahdy

Copy link
Copy Markdown
Contributor Author

You can edit java by gradle like this commit, rename onSurfaceAvailable to onSurfaceCreated if flutterSdkVersionInt < 32700?

i did that, let me know if its correct

@wang-bin wang-bin merged commit a39b8c3 into wang-bin:master Dec 12, 2024
@wang-bin

Copy link
Copy Markdown
Owner

thanks, it works

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.

using flutter 3.27 i get this warning

3 participants