fix: data fetching logic and update deprecated packages#138
Open
justatipfromthedeadsequoiatree wants to merge 1 commit intoJideGuru:masterfrom
Open
Conversation
This was referenced Jun 19, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the API data fetching logic and updates deprecated packages to maintain compatibility with the latest Flutter and plugin versions.
- Fixed API endpoint issues and removed deprecated APIs.
- Updated package versions and refactored code to align with new API requirements.
- Adjusted build and configuration files for macOS, iOS, and Windows platforms.
Reviewed Changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| windows/flutter/generated_plugins.cmake | Added the flutter_inappwebview_windows plugin. |
| windows/flutter/generated_plugin_registrant.cc | Registered the new flutter_inappwebview_windows plugin. |
| pubspec.yaml | Updated flutter_inappwebview dependency version from ^5.8.0 to ^6.0.0 |
| packages/iridium/components/shared/lib/src/zip/lazy_zip_decoder.dart | Updated constant for zip compression method. |
| packages/iridium/components/navigator/lib/src/epub/widget/webview_screen_state.dart | Changed URL constructor from Uri.parse to WebUri. |
| macos/Flutter/GeneratedPluginRegistrant.swift | Updated plugin imports to reflect new package names. |
| ios/Runner/AppDelegate.swift | Replaced deprecated @UIApplicationMain with @main. |
| ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme | Updated LastUpgradeVersion in scheme file. |
| ios/Runner.xcodeproj/project.pbxproj | Updated build settings to reflect new framework paths and versions. |
| ios/Flutter/AppFrameworkInfo.plist | Raised MinimumOSVersion from 11.0 to 12.0. |
Comments suppressed due to low confidence (3)
ios/Runner.xcodeproj/project.pbxproj:267
- The removal of FMDB and Toast frameworks from the inputPaths may break dependencies if they are still required. Verify that these removals are intentional and that no dependent code references them.
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
packages/iridium/components/shared/lib/src/zip/lazy_zip_decoder.dart:26
- Ensure that replacing a.ZipFile.STORE with a.ZipFile.zipCompressionStore maintains the intended compression logic and backward compatibility with existing zip archives.
final compress = zf.compressionMethod != a.ZipFile.zipCompressionStore;
ios/Flutter/AppFrameworkInfo.plist:24
- Raising the MinimumOSVersion from 11.0 to 12.0 may affect support for older iOS devices. Confirm that this change aligns with the app's target device support.
<string>12.0</string>
Author
|
Hey @JideGuru , just checking in on this MR — it’s been pending for a while. |
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 issues related to API data fetching and updates outdated or deprecated package usage to ensure compatibility with the latest Flutter and plugin versions.
Changes Made