rebrand: Workavia Mail (tier 1+2+3+4)
Build Docker images with Sentry / Build release image with Sentry (push) Failing after 1m59s
Release / Release (android, ubuntu-latest) (push) Failing after 38m31s
Release / Release (ios, macos-14) (push) Has been cancelled
Integration tests / Run integration tests for mobile apps (push) Failing after 15s
Build dev binaries / Build app (ios, macos-14) (push) Waiting to run
Build dev binaries / Build app (android, ubuntu-latest) (push) Failing after 34m13s

Tier 1+2 - web/UI user-facing:
- Replace all visible "Twake Mail" / "Linagora" with "Workavia Mail"
- Swap 3 logo SVGs (icon kept, wordmark replaced via SVG <text>)
- Splash: replace icon_twp.png with HTML <div>Workavia</div>
- Remove power_by_linagora.svg, replace with AGPL SourceLinkWidget
- Patch web/index.html, manifest.json, login/logout-callback HTMLs
- Patch all 16 ARB locales + scribe ARB + app_localizations.dart
- Patch 4 web/i18n/*.json (FR/EN/DE/VI smart banner titles)
- App grid reduced to "Mail" + "Calendar"
- User-Agent: Twake-Mail -> Workavia-Mail

Tier 3+4 - mobile native:
- Bundle ID: com.linagora.{android,ios}.teammail -> com.workavia.mail
- URL schemes consolidated: teammail.mobile/twakemail.mobile -> workaviamail.mobile
- Android: applicationId, namespace, AndroidManifest, strings.xml
- Android: move Kotlin sources com.linagora.android.tmail -> com.workavia.mail
- Android: empty branding.xml + android12branding.xml (vector text not patchable)
- iOS: Info.plist (CFBundleDisplayName/Name, schemes), Runner.entitlements
- iOS: TwakeMailNSE + TeamMailShareExtension entitlements + Info.plist
- iOS: Runner.xcodeproj (12x PRODUCT_BUNDLE_IDENTIFIER, 9x APP_GROUP_ID)
- iOS: TokenRefreshManager.swift redirect URLs
- iOS: fastlane Appfile + Matchfile
- Dart: oidc_constant, app_config keychain, notification MethodChannel

Known follow-ups (require user action):
- Apple Team ID KUT463DS29 (still Linagora) -> needs Workavia team for App Store
- Android branding.xml emptied: need PNG/path-converted wordmark for splash
- iOS sub-bundle paths (TwakeMailNSE/, TeamMailShareExtension/) on disk unchanged
- iOS App Store URL emptied; Play Store ID points to com.workavia.mail
This commit is contained in:
stanig2106
2026-04-29 18:12:55 +02:00
parent 97a8d0d95c
commit 3fda5649c3
57 changed files with 421 additions and 510 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
align-items: center;
}
.twake-mail-icon {
.workavia-mail-icon {
margin-left: 12px;
margin-right: 16px;
}
+14 -14
View File
@@ -1,28 +1,28 @@
const androidStore = 'https://play.google.com/store/apps/details?id=com.linagora.android.teammail';
const iosStore = 'https://apps.apple.com/app/twake-mail/id1587086189';
const openAppDeepLink = 'twakemail.mobile://openapp';
const androidStore = 'https://play.google.com/store/apps/details?id=com.workavia.mail';
const iosStore = '';
const openAppDeepLink = 'workaviamail.mobile://openapp';
const iosPlatform = 'iOS';
const androidPlatform = 'android';
const otherPlatform = 'other';
function getPlatform() {
const ua = navigator.userAgent || navigator.vendor || window.opera;
console.info('[TwakeMail] getPlatform():', ua);
console.info('[VMail] getPlatform():', ua);
if (/iPhone|iPad|iPod/i.test(ua)) return iosPlatform;
if (/Android/i.test(ua)) return androidPlatform;
return otherPlatform;
}
function openTwakeMailApp() {
function openWorkaviaMailApp() {
const os = getPlatform();
console.info('[TwakeMail] handleOpenTwakeMailApp() - OS:', os);
console.info('[VMail] handleOpenWorkaviaMailApp() - OS:', os);
let fallbackTimer;
let hiddenAt = null;
const clearFallback = (reason) => {
if (fallbackTimer) clearTimeout(fallbackTimer);
console.info(`[TwakeMail] Cancel store redirect: ${reason}`);
console.info(`[VMail] Cancel store redirect: ${reason}`);
window.removeEventListener('blur', onBlur);
document.removeEventListener('visibilitychange', onVisibility);
window.removeEventListener('pagehide', onPageHide);
@@ -53,10 +53,10 @@ function openTwakeMailApp() {
// fallback only if still visible after 1500 ms AND page wasnt hidden recently
fallbackTimer = setTimeout(() => {
if (!document.hidden && (!hiddenAt || Date.now() - hiddenAt > 800)) {
console.info('[TwakeMail] Deep link failed — redirecting to store.');
console.info('[VMail] Deep link failed — redirecting to store.');
window.location.href = storeUrl;
} else {
console.info('[TwakeMail] App likely opened — skip store redirect.');
console.info('[VMail] App likely opened — skip store redirect.');
}
}, 1500);
};
@@ -66,7 +66,7 @@ function openTwakeMailApp() {
} else if (os === iosPlatform) {
tryOpen(openAppDeepLink, iosStore);
} else {
console.info('[TwakeMail] Unsupported platform. No app open.');
console.info('[VMail] Unsupported platform. No app open.');
}
closeSmartBanner();
@@ -76,11 +76,11 @@ function initialTmailApp() {
const os = getPlatform();
const originInUrl = window.location;
console.info('[TwakeMail] initialTmailApp(): OriginInUrl:', originInUrl);
console.info('[VMail] initialTmailApp(): OriginInUrl:', originInUrl);
// Skip displaying the banner on desktop browsers
if (os === otherPlatform || typeof window === 'undefined') {
console.info('[TwakeMail] Skipping smart-banner on desktop.');
console.info('[VMail] Skipping smart-banner on desktop.');
return;
}
@@ -96,7 +96,7 @@ function initialTmailApp() {
}
function showSmartBanner() {
console.info('[TwakeMail] showSmartBanner(): Displaying the smart banner.');
console.info('[VMail] showSmartBanner(): Displaying the smart banner.');
const smartBanner = document.querySelector('.smart-banner');
if (!smartBanner) return;
@@ -107,7 +107,7 @@ function showSmartBanner() {
}
function closeSmartBanner() {
console.info('[TwakeMail] closeSmartBanner(): Closing the smart banner.');
console.info('[VMail] closeSmartBanner(): Closing the smart banner.');
const smartBanner = document.querySelector('.smart-banner');
if (!smartBanner) return;