Update platform metadata dependencies#31
Open
leehack wants to merge 1 commit into
Open
Conversation
669f8e6 to
4431296
Compare
4431296 to
d218047
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This keeps the update focused on the platform metadata and storage issues I found while working on a Flutter app.
device_info_plusto>=11.1.1 <11.2.0andpackage_info_plusto^8.3.1, the minimum versions I found with iOS/macOS Swift Package Manager manifests>=3.3.0and Flutter>=3.19.0device_info_plusthrows while collecting metadataSharedPreferencesentries when loading queued eventsWhy
While working on a Flutter app, I found
Aptabase.trackEvent()could fail before enqueueing/sending events on Windows ARM64 becausedevice_info_plusthrew fromDeviceInfoPlusWindowsPlugin.getSystemMemoryInMegabytesduring system metadata collection.I also found the current shared-preferences storage can read app-owned preferences as event payloads. If an app stores a non-string preference, calling
getString()for every key can fail. The storage manager now loads only Aptabase event keys and only accepts string payloads.The dependency update also picks up Swift Package Manager manifests for iOS/macOS without moving all the way to the latest plus packages.
Validation
flutter analyzeflutter testdart pub publish --dry-rundevice_info_plusandpackage_info_plusversions include iOS/macOSPackage.swiftmanifests