fix: make offline-only iOS release buildable - #581
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit e13ddc0): https://on-time-front-widgetbook--pr-581-6nf7w073.web.app (expires Tue, 01 Sep 2026 01:30:36 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e53128a376fed0209d449279de9c0d94c83cdd8b |
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
Behavior and lifecycle
The app continues to use only local notifications and AlarmKit. APNs device-token registration no longer exists in the product delegate, so launching, resuming, or granting local notification permission cannot initialize a remote messaging path.
Persistence and migration
No application data, Drift schema, backup format, or migration changes. Podfile.lock pins SQLCipher 4.10.0 for reproducible iOS release builds.
Concurrency and idempotency
No runtime concurrency changes. Re-running flutter pub get, pod install, and the release build leaves the checked-in iOS integration stable.
Root cause
The offline-only refactor removed Firebase dependencies but left Messaging.messaging().apnsToken in AppDelegate. The first signed archive therefore failed Swift compilation. sqlcipher_flutter_libs also still requires CocoaPods while the remaining Flutter plugins use Swift Package Manager, so the generated mixed workspace integration must be retained.
Validation
Out of scope
Follow-up to #580.