element-hq / element-hq/element-x-android

No notifications when background data disabled

Open
#4,680 3 comments 1 reaction 0 assignees View on GitHub
A-Push O-Uncommon S-Major T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Disable background data
2. Lock device (not sure if this is a required step)
3. Wait for push notification
4. No notification pops up

### Outcome

#### What did you expect?

I expected a notification

#### What happened instead?

I did not get a notification, but Push history shows the following:

```
Unable to resolve event: msg=error sending request for url (...), details=SdkError(Http(Reqwest(reqwest::Error { kind: Request, url: "...", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: No address associated with hostname" })) })))
- Idle: false
- Power Saving Mode: false
- Ignoring Battery Optimizations: false
- Device Light Idle Mode: false
- Low Power Standy Enabled: false
- Exempt from Low Power Standby: true
```

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

25.04.3 Play Store

### Homeserver

_No response_

### Will you send logs?

No

### Are you willing to provide a PR?

No

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.