nextcloud / nextcloud/android

Unknown Calling Package 'com.google.android.gms'

Open
#14,848 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

Launch the Nextcloud Android app

### Expected behaviour

The service should be accessed correctly if the environment is properly configured.

### Actual behaviour

A SecurityException is thrown with the message: Unknown calling package name 'com.google.android.gms'

### Android version

15

### Device brand and model

Android Emulator

### Stock or custom OS?

Stock

### Nextcloud android app version

3.31.0

### Nextcloud server version

31.0.0

### Using a reverse proxy?

I don't know

### Android logs

```
E Failed to get service from broker.
java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3242)
at android.os.Parcel.createException(Parcel.java:3226)
at android.os.Parcel.readException(Parcel.java:3209)
at android.os.Parcel.readException(Parcel.java:3151)
at asuy.a(:com.google.android.gms@250934035@25.09.34 (260400-738842635):36)
at astf.z(:com.google.android.gms@250934035@25.09.34 (260400-738842635):143)
at asat.run(:com.google.android.gms@250934035@25.09.34 (260400-738842635):54)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at bztb.mv(:com.google.android.gms@250934035@25.09.34 (260400-738842635):1)
at bztb.dispatchMessage(:com.google.android.gms@250934035@25.09.34 (260400-738842635):5)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)

```

### Server error logs

```bash

```

### Additional information

_No response_

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.