We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Since I upgraded flutter to version 3.29, I have these compilation errors :
/home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:44: error: cannot find symbol import io.flutter.plugin.common.PluginRegistry.Registrar; ^ symbol: class Registrar location: interface PluginRegistry /home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:53: error: cannot find symbol private static PluginRegistry.Registrar pluginRegistrar; ^ symbol: class Registrar location: interface PluginRegistry /home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:66: error: cannot find symbol public static void registerWith(Registrar registrar) { ^ symbol: class Registrar location: class NearbyConnectionsPlugin
It seems to be a known issue with this version of flutter and the Registrar class :
https://benamorn.medium.com/today-i-learned-after-upgrading-to-flutter-3-29-0-7c7ab1a97975
I upgraded the package to the version 4.2.0, but this doesn't solve the problem.
The text was updated successfully, but these errors were encountered:
I downgraded my flutter version to 3.27.4, and it works
Sorry, something went wrong.
I think we should remove these imports, they were deprecated for a while now.
I will try to pick this over the weekend, but feel free to make a PR for this if you want to :D
Closed via #84 and released a new version which should fix the error - https://pub.dev/packages/nearby_connections (4.3.0)
4.3.0
No branches or pull requests
Hello,
Since I upgraded flutter to version 3.29, I have these compilation errors :
/home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:44: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
symbol: class Registrar
location: interface PluginRegistry
/home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:53: error: cannot find symbol
private static PluginRegistry.Registrar pluginRegistrar;
^
symbol: class Registrar
location: interface PluginRegistry
/home/damien/.pub-cache/hosted/pub.dev/nearby_connections-4.1.1/android/src/main/java/com/pkmnapps/nearby_connections/NearbyConnectionsPlugin.java:66: error: cannot find symbol
public static void registerWith(Registrar registrar) {
^
symbol: class Registrar
location: class NearbyConnectionsPlugin
It seems to be a known issue with this version of flutter and the Registrar class :
https://benamorn.medium.com/today-i-learned-after-upgrading-to-flutter-3-29-0-7c7ab1a97975
I upgraded the package to the version 4.2.0, but this doesn't solve the problem.
The text was updated successfully, but these errors were encountered: