Skip to content

Google Play version 24.0.3 is installed as generic build, breaking Firebase push notifications #6538

Description

@ralfrupf1976

Steps to reproduce

  1. Install Nextcloud Talk 24.0.2 from Google Play on a Samsung Galaxy S10 Lite (SM-G770F, Android API 33).

  2. Log in to a Nextcloud server and verify push notifications.

  3. With Talk 24.0.2, diagnostics report:

    • Build flavor: gplay
    • Google Play services: available
    • Firebase push token: present
    • Push registration at server: successful
    • Push registration at push proxy: successful
    • Push notifications work.
  4. Update Nextcloud Talk through Google Play to version 24.0.3.

  5. Reboot the phone and open Talk diagnostics.

  6. Diagnostics now report:

    • Build flavor: generic
    • Google Play services: not available
    • UnifiedPush services: 0
    • No Firebase push token
  7. Send a Talk message to the account while the app is closed.

  8. No push notification is received.

The issue was independently reproduced on a second device:

Samsung Galaxy S25 FE (SM-S731B, Android API 36)

  • The phone is new and Nextcloud Talk had never previously been installed.
  • Talk 24.0.3 was freshly installed directly from Google Play.
  • Diagnostics immediately reported Build flavor: generic and Google Play services are not available.
  • Push notifications did not work.

As a reverse A/B test, Talk 24.0.3 was removed from the S25 FE and Talk 24.0.2 gplay was installed.

Push notifications immediately worked again.

No server-side configuration was changed during any of these tests.

Expected behaviour

The version of Nextcloud Talk distributed through Google Play should use the gplay build flavor, detect Google Play services, register a Firebase push token and receive push notifications.

Updating Nextcloud Talk from 24.0.2 to 24.0.3 through Google Play should not change the app from gplay to generic or disable Firebase push notifications.

Actual behaviour

After updating Nextcloud Talk from 24.0.2 to 24.0.3 through Google Play, the app identifies itself as:

  • Build flavor: generic
  • Google Play services: Google Play services are not available
  • UnifiedPush services: 0 services available
  • Offer UnifiedPush: No
  • Use UnifiedPush: No

No Firebase push token is generated and push notifications stop working.

The behaviour was reproduced on two different Samsung devices and Android versions:

Samsung Galaxy S10 Lite (SM-G770F, Android API 33)

Before Google Play update:

  • Talk 24.0.2
  • Build flavor: gplay
  • Google Play services: available
  • Firebase push token: present
  • Push registration at server: successful
  • Push registration at push proxy: successful
  • Push notifications: working

After updating through Google Play:

  • Talk 24.0.3
  • Build flavor: generic
  • Google Play services: not available
  • No Firebase push token
  • Push notifications: not working

Samsung Galaxy S25 FE (SM-S731B, Android API 36)

Fresh installation directly from Google Play:

  • Talk 24.0.3
  • Build flavor: generic
  • Google Play services: not available
  • No Firebase push token
  • Push notifications: not working

After removing 24.0.3 and installing Talk 24.0.2 gplay on the same S25 FE:

  • Google Play services are available
  • Firebase push works again
  • Push notifications work again

Additional iOS control case

An iPhone connected to the same Nextcloud server/account continues to receive push notifications normally.

Nextcloud Talk for iOS is still on version 24.0.2; no 24.0.3 iOS update has been installed on this device.

This gives us the following A/B results:

  • Android Talk 24.0.2 gplay → push works
  • Android Talk 24.0.3 from Google Play, reported as generic → push fails
  • Android downgrade from 24.0.3 to 24.0.2 gplay → push works again
  • iOS Talk 24.0.2 → push continues to work

Server environment

  • Nextcloud Server: 34.0.3
  • Nextcloud Talk server app: 24.0.4
  • Notifications app: installed
  • Signaling mode: External
  • Server supports WebPush: No

The server configuration remained unchanged throughout all tests.

Device brand and model

Samsung Galaxy S10 Lite (SM-G770F); also reproduced on Samsung Galaxy S25 FE (SM-S731B)

Android version

Android API 33; also reproduced on API 36

Nextcloud Talk app version

24.0.3 (regression from 24.0.2)

Nextcloud server version

34.0.3

Talk version

24.0.4

Custom Signaling server configured

Yes (specify version in Additional Information)

Custom TURN server configured

Yes

Custom STUN server configured

Yes

Android logs

No response

Server log

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions