Fix timezone handling and update deprecated API calls#5
Merged
Conversation
- Fix NotificationService: FlutterTimezone.getLocalTimezone() returns String, not object with .identifier property - Fix LocationService: update getCurrentPosition() for geolocator v10 API (desiredAccuracy → locationSettings) - Fix ProfileScreen: replace FaIcon with Icon in _ActionRow to support both Material and FontAwesome icons (FaIcon crashes on Material icons) https://claude.ai/code/session_016nf1sAjbEyPV2bR97cx1iw
Drift's NativeDatabase requires the native SQLite library bundled in the APK. Without sqlite3_flutter_libs, Android fails with: "failed to load dynamic library libsqlite3.so" Also call applyWorkaroundToOpenSqlite3OnOldAndroidVersions() to ensure compatibility across all Android versions. https://claude.ai/code/session_016nf1sAjbEyPV2bR97cx1iw
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 PR addresses several API deprecations and improves code clarity across the notification, location, and profile services.
Key Changes
identifierproperty on the FlutterTimezone responseGeolocator.getCurrentPosition()to use the newlocationSettingsparameter instead of the deprecateddesiredAccuracyparameterFaIcon(FontAwesome icon) with standardIconwidget in the action row componentImplementation Details
LocationSettingsobject for configurationhttps://claude.ai/code/session_016nf1sAjbEyPV2bR97cx1iw