-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release new version Release v0.14.13 #3498
Comments
=> Result |
Twake Workplace redirectRedirection jumps to app store even when the app is installed
app-not-signed-in-store-jump.mov
same-account-app-signed-in-store-jump.mov
app-different-account-signed-in-store-jump.mov |
Support Cyrus serverCannot send email Request{
"using": [
"urn:ietf:params:jmap:submission",
"urn:ietf:params:jmap:mail",
"urn:ietf:params:jmap:core"
],
"methodCalls": [
[
"Mailbox/set",
{
"accountId": "bob",
"create": {
"f71a4b61-ef5c-11ef-ac2d-41c7acf8245d": {
"name": "Outbox",
"isSubscribed": true
}
}
},
"c0"
],
[
"Email/set",
{
"accountId": "bob",
"create": {
"f71a4b62-ef5c-11ef-ac2d-41c7acf8245d": {
"mailboxIds": {
"#f71a4b61-ef5c-11ef-ac2d-41c7acf8245d": true
},
"subject": "dlawknd",
"from": [
{
"name": null,
"email": "[email protected]"
}
],
"to": [
{
"name": null,
"email": "[email protected]"
}
],
"cc": [],
"bcc": [],
"replyTo": [
{
"name": null,
"email": "[email protected]"
}
],
"htmlBody": [
{
"partId": "f71a4b60-ef5c-11ef-ac2d-41c7acf8245d",
"type": "text/html"
}
],
"bodyValues": {
"f71a4b60-ef5c-11ef-ac2d-41c7acf8245d": {
"value": "<div>sawbdw<br><br></div>",
"isEncodingProblem": false,
"isTruncated": false,
"header:Accept-Language:asText": "fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT, de-DE",
"header:Content-Language:asText": "en-US"
}
},
"header:User-Agent:asText": "Twake-Mail/0.14.13 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
}
}
},
"c1"
],
[
"EmailSubmission/set",
{
"accountId": "bob",
"create": {
"f71a4b63-ef5c-11ef-ac2d-41c7acf8245d": {
"emailId": "#f71a4b62-ef5c-11ef-ac2d-41c7acf8245d",
"envelope": {
"mailFrom": {
"email": "[email protected]"
},
"rcptTo": [
{
"email": "[email protected]"
}
]
}
}
},
"onSuccessUpdateEmail": {
"#f71a4b63-ef5c-11ef-ac2d-41c7acf8245d": {
"mailboxIds/xhrnf36c9jvd5zwfi37x32gw": true,
"mailboxIds/#f71a4b61-ef5c-11ef-ac2d-41c7acf8245d": null,
"keywords/$seen": true,
"keywords/$draft": null
}
}
},
"c2"
]
]
} Response{
"methodResponses": [
[
"Mailbox/set",
{
"oldState": "96",
"newState": "96",
"created": null,
"updated": null,
"destroyed": null,
"notCreated": {
"f71a4b61-ef5c-11ef-ac2d-41c7acf8245d": {
"type": "invalidProperties",
"properties": [
"name"
]
}
},
"notUpdated": null,
"notDestroyed": null,
"accountId": "bob"
},
"c0"
],
[
"Email/set",
{
"oldState": "96",
"newState": "96",
"created": null,
"updated": null,
"destroyed": null,
"notCreated": {
"f71a4b62-ef5c-11ef-ac2d-41c7acf8245d": {
"type": "invalidProperties",
"properties": [
"mailboxIds"
]
}
},
"notUpdated": null,
"notDestroyed": null,
"accountId": "bob"
},
"c1"
],
[
"EmailSubmission/set",
{
"oldState": "63",
"newState": "63",
"created": null,
"updated": null,
"destroyed": null,
"notCreated": {
"f71a4b63-ef5c-11ef-ac2d-41c7acf8245d": {
"type": "invalidProperties",
"properties": [
"emailId"
]
}
},
"notUpdated": null,
"notDestroyed": null,
"accountId": "bob"
},
"c2"
],
[
"Email/set",
{
"oldState": "96",
"newState": "96",
"created": null,
"updated": null,
"destroyed": null,
"notCreated": null,
"notUpdated": null,
"notDestroyed": null,
"accountId": "bob"
},
"c2"
]
],
"sessionState": "0"
} Set up
|
After investigating I found the issue on TWP side. When clicking on the app item on TWP website, on mobile it will do 2 actions
So we have to check if the app opened successfully then it does not redirect to the app store. Propose
const handleTwakeMailLink = (deepLink) => {
const playStoreUrl =
'https://play.google.com/store/apps/details?id=com.linagora.android.teammail&hl=en';
// Create an iframe to open the deep link
const iframe = document.createElement("iframe");
iframe.style.display = "none";
iframe.src = deepLink;
document.body.appendChild(iframe);
// Set a timeout to redirect if the app doesn't open
const timeout = setTimeout(() => {
if (!document.hidden) {
window.location.href = playStoreUrl;
}
}, 2000);
document.addEventListener("visibilitychange", () => {
if (document.hidden) {
clearTimeout(timeout);
}
});
// Remove the iframe after 3 seconds to avoid DOM clutter
setTimeout(() => {
document.body.removeChild(iframe);
}, 3000);
};
|
Fixed at #3505 |
|
I found another proper solution using it is deployed to staging for testing now |
I checked on stg, but it still fails, please try again @rezk2ll ScreenRecording_03-04-2025.10-17-22_1.MP4 |
in the demo, did you hit the back button right after opening the tmail application or it happened on it's own? |
I did nothing, just clicked Mail item in TWP page and it happened by itself. |
DoD:
The text was updated successfully, but these errors were encountered: