Many Bubble developers report that mail links and external URLs open correctly on iOS, but fail on Android, especially within BubbleGo or wrapped Android apps. Here’s a clearer breakdown and solutions:
1.
Enable Built-in Link Recognition
- In your Text element inspector, enable “Recognize links and emails”.
- This allows Bubble to automatically convert “mailto:” and “http(s):” into tappable links—usually works on both platforms forum.bubble.io+15forum.bubble.io+15forum.bubble.io+15.
2.
Use JS to Trigger Native Handling on Android
Android wrappers (like Cordova-based) may not handle mailto:
links out of the box. In such cases, use JavaScript:
js
CopyEdit
window.location.href = "mailto:user@example.com?subject=Hello";
This method bypasses internal webviews and invokes the Android system’s mail app. Works reliably even when standard links don’t .
3.
For InAppBrowser or WebView Wrappers
If your native shell uses a webview:
- Ensure the config allows external schemes. In Cordova, you’d add:
xml
CopyEdit
<access origin="mailto:*" launch-external="true"/>
- Then use:
js
CopyEdit
window.open('mailto:user@example.com', '_system');
This tells the wrapper to open links outside the webview forum.bubble.io+1forum.bubble.io+1.
Quick Testing Checklist
Step | Action |
---|---|
1 | Enable Recognize links and emails in Bubble text elements. |
2 | Test simple mailto: functionality in BubbleGo for both platforms. |
3 | If Android fails, add a small JS action (using an HTML element or plugin) triggered on tap: |
js
CopyEdit
window.location.href = "mailto:someone@example.com";
``` |
| 4 | Wrap and retest. |
| 5 | If still blocked, ensure your native wrapper (e.g. Cordova) allows external intents. |
---
Applied together, these fixes usually resolve most Android-specific link issues. Let me know what you see after testing—happy to help further!
::contentReference[oaicite:12]{index=12}