Project to validate behaviour of package_info_plus
Please open the project and run it on desired platform.
Change the version
parameter on pubspec.yaml
to see the results of the
different tests.
You should see results in two places.
Example from macOS
platform
flutter: appName: test_package_info_plus
flutter: packageName: com.example.testPackageInfoPlus
flutter: version: 1.2.3
flutter: buildNumber: 4
It should display the values as logs.
Test using version 1.2.3+4
on pubspec.yaml
flutter: appName: test_package_info_plus
flutter: packageName: com.example.testPackageInfoPlus
flutter: version: 1.2.3
flutter: buildNumber: 4
appName: test_package_info_plus
packageName: test_package_info_plus
version: 1.2.3
buildNumber: 4
flutter: appName: Test Package Info Plus
flutter: packageName: com.example.testPackageInfoPlus
flutter: version: 1.2.3
flutter: buildNumber: 4
I/flutter (13256): appName: test_package_info_plus
I/flutter (13256): packageName: com.example.test_package_info_plus
I/flutter (13256): version: 1.2.3
I/flutter (13256): buildNumber: 4
Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
Connecting to VM Service at ws://127.0.0.1:33238/Gh9UXXAGuYM=/ws
flutter: appName: test_package_info_plus
flutter: packageName: test_package_info_plus
flutter: version: 1.2.3
flutter: buildNumber: 4
Flutter Web Bootstrap: Programmatic
appName: test_package_info_plus
packageName: test_package_info_plus
version: 1.2.3
buildNumber: 4
Test using version 1.2.3-beta
on pubspec.yaml
flutter: appName: test_package_info_plus
flutter: packageName: com.example.testPackageInfoPlus
flutter: version: 1.2.3
flutter: buildNumber: 1.2.3
appName: test_package_info_plus
packageName: test_package_info_plus
version: 1.2.3-beta
buildNumber: ''
flutter: appName: Test Package Info Plus
flutter: packageName: com.example.testPackageInfoPlus
flutter: version: 1.2.3
flutter: buildNumber: 1.2.3
I/flutter ( 5659): appName: test_package_info_plus
I/flutter ( 5659): packageName: com.example.test_package_info_plus
I/flutter ( 5659): version: 1.2.3-beta
I/flutter ( 5659): buildNumber: 1