155 Commits
Author SHA1 Message Date
Dat Vu 56db1436e7 TF-5022 T-14 Start the mobile app on the last shown account (#5168) 2026-11-26 15:20:22 +07:00
Dat Dang d764ec2391 Keep the basic-auth login out of the Hive box (secure storage on mobile, session storage on web) (#5163) 2026-11-26 10:47:48 +07:00
Dat Vu 1861b186a5 TF-5022 T-13 Notify delegated mailboxes and open a notification tap in its account (#5166) 2026-11-25 11:53:27 +07:00
dab246 65995ed408 TF-5022 Address review comments on the per-account WebSocket, FCM batch and NSE fetch 2026-11-13 17:22:04 +07:00
dab246 012bc1b069 TF-5022 T-03 Filter WebSocket and FCM state changes per account with StateChangeAccountFilter, merge debounced changes per account in WebSocketController, FcmMessageController and EmailChangeListener, and read delegatedAccounts in the iOS notification extension 2026-11-13 17:22:04 +07:00
Dat Vu 54fee9ffb5 Chore: upgrade Flutter to 3.47.9 (#5083) 2026-11-11 17:21:45 +07:00
Dat H. Pham 6660627b5f Fix NSE empty-list loop by paging Email/changes and advancing state (#5089) 2026-11-05 13:15:20 +07:00
Dat Dang 9b05ef5a6c TF-4827 Upgrade file_picker to 13 (#4904) 2026-10-13 13:57:44 +07:00
Dat VuandDat H. Pham c0eb30d2d6 TF-4809 Part 1-C: Apply consent in iOS notification extension (#4836)
* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Harden NSE consent persistence

* TF-4809 Part C: Fix duplicate Mockito mock generation

* TF-4809 Part C: Use rethrow for Sentry errors

* TF-4809 Part C: Fix analyzer warnings

* TF-4809 Move Sentry cleanup to session teardown

* TF-4809 Fix BaseController test isolation

* TF-4809 Add tests for consent reset on session cleanup

* TF-4809 Reset Sentry consent on session cleanup

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-10-05 12:15:05 +07:00
Đặng Đạt 9510b710aa 2509 Declare webcal and geo schemes and report links no app can open
Addresses: 622656
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_622656
2026-10-05 10:20:52 +07:00
Dat Vu f1edb2a2eb Support iOS app builds on Xcode 27.0 and macOS Golden Gate 27.0 (#4847) 2026-09-23 10:57:04 +07:00
dab246 cc31e18c15 TF-4623 Update iOS Podfile.lock
Signed-off-by: dab246 <tdvu@linagora.com>
2026-09-18 18:36:17 +07:00
dab246 625b24142f fix(ios): sync flutter localization pod lock 2026-08-28 11:49:56 +07:00
Dat H. Pham bb09a02c21 fix: mailto link in iOS 26 2026-07-07 14:50:51 +07:00
Dat H. Pham e12c086f09 fix: ios build failed 2026-06-12 05:46:04 +07:00
dab246 ad68974468 TF-4592 Fix EXC_BAD_ACCESS crash on iOS foreground data-only FCM push 2026-06-10 16:08:51 +07:00
Dat H. Pham bf0a9cc8fc chore: add DART_DEFINES safety check to detect future Flutter bug regressions
Emit a warning when SENTRY_RELEASE base64 lacks '=' padding (Flutter bug condition
present) and hard-fail before invoking build_app if the joined DART_DEFINES still
has no '=' for any reason. Also log the final value for CI debugging.
2026-05-22 22:33:38 +07:00
Dat H. Pham 90b0b67618 fix: work around Flutter 3.38.9 DART_DEFINES bug with version-length dependency
Flutter 3.38.9's assemble.dart crashes ('Improperly formatted define flag') when
the base64-encoded DART_DEFINES value contains no '=' padding character, which
depends on the byte-length of the encoded string. For SENTRY_RELEASE=X.Y.Z this
means any version where X.Y.Z is exactly 6 chars (e.g. 0.29.1, 0.30.0) crashes,
while 0.28.19 (7 chars) happens to work.

Append a constant '_FB_PAD=' define whose base64 always ends in '==' so the
comma-joined DART_DEFINES is guaranteed to contain '=' regardless of version.
2026-05-22 22:25:29 +07:00
Dat H. Pham 0f968138d9 fix: remove base64 encoding from DART_DEFINES in Fastfile for Flutter 3.38.9+ 2026-05-22 19:42:54 +07:00
Dat H. Pham da12c8048e fix: bump pod minimum deployment target to 13.0 for Xcode 26 compatibility
contacts_service uses addSceneDelegate which requires iOS 13.0+.
Raise the pod deployment target floor from 12.0 to 13.0 — safe since
the app already targets iOS 15.0.
2026-05-22 17:18:01 +07:00
Dat H. Pham 15397d81c6 chore: update Podfile.lock checksum after Podfile change 2026-05-22 16:47:04 +07:00
Dat H. Pham 457b0c4e96 fix: fix iOS build failure on Xcode 26 with pod deployment targets
- Override pod IPHONEOS_DEPLOYMENT_TARGET to 12.0 minimum in Podfile
  post_install hook; Xcode 26+ rejects pods built with target < 12.0
- Replace `pod install && pod update` with `pod install --repo-update`
  in setup-ios.sh to refresh specs without overriding Podfile.lock
2026-05-22 16:46:07 +07:00
Dat Dang 2a19ffebc6 HOTFIX open_file UIScene (#4525) 2026-05-15 11:26:45 +07:00
Dat Dang 314dfe3b04 HOTFIX iOS notification (#4516) 2026-05-13 16:51:26 +07:00
Dat Dang e62cccce00 Support iOS 26 UISceneDelegate (#4497)
* HOTFIX Support iOS 26

* Bump version to v0.28.16

* Bump MinimumOSVersion AppFrameworkInfo.plist to 14

* Bump version to v0.28.17

* HOTFIX Support iOS 26 UISceneDelegate

* HOTFIX pubspec lock and yaml format

* HOTFIX Update SceneDelegate removeAppBadger log
2026-05-11 11:50:33 +07:00
Dat Dang a3e8fdb5af HOTFIX iOS 26 release build (#4501) 2026-05-08 09:51:12 +07:00
Dat H. Pham 83e6deb508 Fix Fastlane for iOS and Android 2026-05-05 15:13:06 +07:00
dab246 60381b36ba TF-4269 Fix misleading comments and add NSE breadcrumb for background push
- Add breadcrumb after foreground check so it only fires on background processing
- Fix ADR and CI/Fastfile comments: pubspec is always X.Y.Z, no -rc suffix
2026-04-22 15:41:28 +07:00
dab246 968604fd3c TF-4269 Read sentry_release from pubspec.yaml in Fastfile for iOS and Android
Replace last_git_tag with pubspec.yaml as the source for sentry_release
to match the same version string that CI uses when uploading symbols.
This guarantees consistency between what the app reports to Sentry and
what the release.yaml workflow uses for symbol uploads.
2026-04-22 15:41:28 +07:00
dab246 51c7627aea TF-4269 Replace addBreadcrumb with capture at all early-return paths in NSE
Breadcrumbs are only flushed to Sentry when attached to a capture event.
Since every addBreadcrumb call was immediately followed by a return, those
breadcrumbs were never sent. Replace them with capture(message:) so each
early exit is recorded as a Sentry event directly.
2026-04-22 15:41:28 +07:00
dab246 85f2e6546c TF-4269 Apply PR review: breadcrumbs, log error details, and code cleanup for NSE Sentry integration
- Replace capture(message:) with addBreadcrumb(level: .warning) in NotificationService for non-error diagnostic checkpoints
- Add addBreadcrumb method to SentryManager with category/level support
- Include error details in KeychainController SentryConfig decode failure log
- Split combined guard into two separate guards to distinguish nil state vs unchanged state
- Remove dead do-catch block in onComplete closure; use errors.forEach to capture real errors
- Translate Vietnamese doc comment to English in SentryManager
2026-04-22 15:41:28 +07:00
dab246 0295334d8a TF-4269 Fix Sentry release version sync across platforms
Use --dart-define=SENTRY_RELEASE=<full-tag> in Fastlane so the app
reports the same version string to Sentry as CI uses when uploading
symbols, bypassing iOS CFBundleShortVersionString stripping.

- Android Fastfile: add --dart-define=SENTRY_RELEASE (build-name unchanged)
- iOS Fastfile: pass DART_DEFINES via xcargs (increment_version_number unchanged)
- Dart: read SENTRY_RELEASE dart-define first, fall back to PackageInfo.version
- NSE/Web unaffected: NSE reads from Keychain, Web falls back to PackageInfo
2026-04-22 15:41:28 +07:00
dab246 cdedbf4e6b TF-4269 Fix Sentry dSYM upload: find xcarchive via find instead of gym_archive_path.txt
lane_context[XCODEBUILD_ARCHIVE] was unreliable — replace with find on
~/Library/Developer/Xcode/Archives to locate the Runner xcarchive directly.
2026-04-22 15:41:28 +07:00
dab246 230cbf647f TF-4269 Integrate Sentry into iOS NSE and automate dSYM upload in CI 2026-04-22 15:41:28 +07:00
dab246 4505c50302 Fix iOS build: bump IPHONEOS_DEPLOYMENT_TARGET to 14.0 for all targets
receive_sharing_intent requires iOS 14.0+. Flutter 3.38.9 upgrade
raised minimum deployment target, so all targets must be consistent
with Podfile's platform :ios, '14.0'.
2026-04-21 11:44:37 +07:00
Dat Dang 77e2381ca9 Upgrade Flutter to 3.38.9 (#4455) 2026-04-17 17:39:29 +07:00
Dat Dang 61530b61c6 Reduce worker_manager memory allocation (#4435) 2026-04-09 18:26:19 +07:00
Dat H. Pham 32b7b0153c Stript suffix for tag 2026-03-05 11:53:52 +07:00
dab246 f54250eb26 TF-4227 Fix conflict with master branch 2026-01-19 11:34:43 +07:00
dab246 e33cd29aa8 TF-4058 Upgrade native library Android/iOS to compatible with flutter version 3.32.8 2025-10-15 13:54:34 +07:00
DatDang e6f5d6f572 HOTFIX Podfile.lock 2025-08-22 15:57:37 +07:00
DatDang 4fd0931c9e TF-3586: Upgrade Flutter to 3.27.4 2025-07-30 15:24:57 +07:00
Dat Dang 78cb93ef1c Update Android API 35 (#3874) 2025-07-18 10:15:25 +07:00
DatDang aa35d0ab01 Update lottie ios to have privacy manifest 2025-06-20 06:32:06 +07:00
Dat PHAM HOANG a5282280f9 [iOS build] Update development profile for debug/profile build 2025-06-19 16:40:37 +07:00
Dat PHAM HOANG 1cf64517e6 Updated new profile for TwakeMail Release 2025-06-19 14:29:19 +07:00
DatDang bb8a0e3e95 TF-3772 Animated splash iOS 2025-06-18 17:19:47 +07:00
dab246 c9eb363182 TF-3696 Upgrade to iOS SDK 18
Signed-off-by: dab246 <tdvu@linagora.com>
2025-05-05 21:05:02 -07:00
dab246 183fcb6bd9 Disable charset detector on iOS as workaround to fix build ios fail
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-18 00:11:16 -07:00
dab246 dce74b43e9 TF-3260 Load & Display App Grid Linagora Ecosystem
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-19 00:00:02 -08:00