element-hq / element-hq/element-android

net::ERR_CLEARTEXT_NOT_PERMITTED when adding a http:// widget

Open
#2,833 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

Adding a widget to room that is behind http (not https) works fine
on Element Desktop, but on Android it gives this error. I don't see a
reason to limit widgets to https only so this smells like a bug.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Element Desktop
2. /addwidget http://some.url/
3. Try to open the widget on Android
4. See error

**Expected behavior**
Widget should appear as on desktop.

**Screenshots**

![image](https://user-images.githubusercontent.com/81116/108122789-818bad80-70ad-11eb-8fc7-6b374bfc359a.png)

**Smartphone (please complete the following information):**
- Device: Cosmo Communicator

**Additional context**
- App version and store 1.0.16 / gplay
- Homeserver: hacklab.fi

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.