@bobfrankston/rmfmail 1.2.31 → 1.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -355,11 +355,15 @@
355
355
  if (!url) return;
356
356
  try {
357
357
  if (/Android/i.test(navigator.userAgent)) {
358
- var f = document.createElement("iframe");
359
- f.style.display = "none";
360
- f.src = "mailxapi://openurl?url=" + encodeURIComponent(url);
361
- document.body.appendChild(f);
362
- setTimeout(function () { f.remove(); }, 500);
358
+ // Use the SAME mechanism the contact/calendar intents use: a
359
+ // top-frame location.href to mailxapi-intent://, which the MAUI
360
+ // WebView's OnNavigating reliably intercepts. The old hidden-
361
+ // iframe to mailxapi://openurl did NOT work — OnNavigating fires
362
+ // for MAIN-frame navigations only, not sub-frame (iframe) ones,
363
+ // so LinkedIn "View message" and every preview link silently did
364
+ // nothing (Bob 2026-06-17). location.href is canceled by the
365
+ // handler (e.Cancel) so the page doesn't navigate away.
366
+ window.location.href = "mailxapi-intent://open/" + encodeURIComponent(url);
363
367
  return;
364
368
  }
365
369
  } catch (e) { /* fall through to IPC */ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -45,7 +45,7 @@
45
45
  "@bobfrankston/msger": "^0.1.387",
46
46
  "@bobfrankston/node-tcp-transport": "^0.1.10",
47
47
  "@bobfrankston/oauthsupport": "^1.0.32",
48
- "@bobfrankston/rmf-tiny": "^0.1.33",
48
+ "@bobfrankston/rmf-tiny": "^0.1.34",
49
49
  "@bobfrankston/smtp-direct": "^0.1.9",
50
50
  "@bobfrankston/tcp-transport": "^0.1.7",
51
51
  "@capacitor/android": "^8.3.0",
@@ -125,7 +125,7 @@
125
125
  "@bobfrankston/msger": "^0.1.387",
126
126
  "@bobfrankston/node-tcp-transport": "^0.1.10",
127
127
  "@bobfrankston/oauthsupport": "^1.0.32",
128
- "@bobfrankston/rmf-tiny": "^0.1.33",
128
+ "@bobfrankston/rmf-tiny": "^0.1.34",
129
129
  "@bobfrankston/smtp-direct": "^0.1.9",
130
130
  "@bobfrankston/tcp-transport": "^0.1.7",
131
131
  "@capacitor/android": "^8.3.0",