davidmartos96 / sqflite_sqlcipher

SQLite flutter plugin
BSD 2-Clause "Simplified" License
99 stars 44 forks source link

Deprecation warning while building flutter APK #46

Closed Adarshkl closed 3 years ago

Adarshkl commented 3 years ago

Getting the following warning in Android Studio console while building APK.

` \flutter SDK\flutter.pub-cache\hosted\pub.dartlang.org\sqflite_sqlcipher-2.0.0\android\src\main\java\com\davidmartos96\sqflite_sqlcipher\SqfliteSqlCipherPlugin.java:37: warning: [deprecation] Registrar in PluginRegistry has been deprecated import io.flutter.plugin.common.PluginRegistry.Registrar; ^

1 warning Running Gradle task 'assembleRelease'... `

davidmartos96 commented 3 years ago

That's because the plugin is using the new and old way of registering with the native platform at the same time. Once it's completely removed from the Flutter framework I'll remove it as well.

davidmartos96 commented 3 years ago

https://github.com/davidmartos96/sqflite_sqlcipher/issues/40#issuecomment-825920950