admin管理员组文章数量:1026620
Hello I just upgraded my flutter application to 3.6.0, previously I was using new_version package to show the update popup but as it is no longer maintained I just switched to new_version_plus but I am getting this error in my debug console both for android and ios
Package new_version_plus:android references com.codesfirst.new_version_plus:android as the default plugin, but the package does not exist, or is not a plugin package. Ask the maintainers of new_version_plus to either avoid referencing a default implementation via
platforms: android: default_package: com.codesfirst.new_version_plus or create a plugin named com.codesfirst.new_version_plus.
This is my implementation
final newVersion = NewVersionPlus(
androidId: "mypackagename",
);
final status = await newVersion.getVersionStatus();
//show popup
if (status.canUpdate == true) {
...
}
everything is working fine but I am getting the warning in the debug console, is there any solution?
Using new_version_plus: ^0.0.12
Hello I just upgraded my flutter application to 3.6.0, previously I was using new_version package to show the update popup but as it is no longer maintained I just switched to new_version_plus but I am getting this error in my debug console both for android and ios
Package new_version_plus:android references com.codesfirst.new_version_plus:android as the default plugin, but the package does not exist, or is not a plugin package. Ask the maintainers of new_version_plus to either avoid referencing a default implementation via
platforms: android: default_package: com.codesfirst.new_version_plus or create a plugin named com.codesfirst.new_version_plus.
This is my implementation
final newVersion = NewVersionPlus(
androidId: "mypackagename",
);
final status = await newVersion.getVersionStatus();
//show popup
if (status.canUpdate == true) {
...
}
everything is working fine but I am getting the warning in the debug console, is there any solution?
Using new_version_plus: ^0.0.12
本文标签:
版权声明:本文标题:flutter - Package new_version_plus:android references com.codesfirst.new_version_plus:android as the default plugin, but the pac 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1736008632a1378113.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论