I would like to use a single package on all platforms (Android, iOS, MacOS, Web) for getting the app version. It seems that package_info_plus should support it.
Maybe I am doing something wrong or there is a bug in the package but I get the following:
AsyncSnapshot<PackageInfo>(ConnectionState.done, null, MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info), #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)
<asynchronous suspension>
#1 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:358:43)
<asynchronous suspension>
#2 MethodChannelPackageInfo.getAll (package:package_info_plus_platform_interface/method_channel_package_info.dart:13:17)
<asynchronous suspension>
#3 PackageInfo.fromPlatform (package:package_info_plus/package_info_plus.dart:66:26)
<asynchronous suspension>
#4 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart)
<asynchronous suspension>
)
I would like to use a single package on all platforms (Android, iOS, MacOS, Web) for getting the app version. It seems that package_info_plus should support it.
Maybe I am doing something wrong or there is a bug in the package but I get the following: