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

wifi_flutter: ^0.1.0+1 - Compile error with Flutter 3.0.0 #16

Open
ravinder-bb opened this issue May 14, 2022 · 2 comments
Open

wifi_flutter: ^0.1.0+1 - Compile error with Flutter 3.0.0 #16

ravinder-bb opened this issue May 14, 2022 · 2 comments

Comments

@ravinder-bb
Copy link

Hi everyone,

e: /home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/wifi_flutter-0.1.0+1/android/src/main/kotlin/
com/weplenish/wifi_flutter/WifiFlutterPlugin.kt: (27, 54): 
Type mismatch: inferred type is Activity? but Activity was expected

FAILURE: Build failed with an exception

Also show warning

This plugins wifi_flutter use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Thanks,
Ravinder

@pauljoug
Copy link
Contributor

pauljoug commented Apr 9, 2023

@vipero07 I fixed this plugin locally to use it in a flutter 3 project. I wonder if I should submit a PR or create another plugin? Are you or some other developers willing to continue maintaining this plugin? Thanks a lot for your help.

@vipero07
Copy link
Member

Feel free to submit a PR I can merge it, but it could make more sense to spin off your own as this company unfortunately no longer exists.

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

3 participants