Skip to content

[Bug] Messaging Subscribe stays pending on Android #1361

Closed
@Neitah

Description

@Neitah

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: Pre-built SDK
  • Firebase C++ SDK version: 11.2.0
  • Problematic Firebase Component: Messaging
  • Other Firebase Components in use: Core
  • Platform you are using the C++ SDK on: Windows
  • Platform you are targeting: Android

[REQUIRED] Please describe the issue here:

Created a Qt 6.3.1 project with Firebase Messaging.

Received the Firebase Authentication Token

Tried to subscribe to a topic, and it stays pending.

The same code works on iOS.

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
What's the issue repro rate? (eg 100%, 1/5 etc)
100%

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
The status of the Future gotten from Subscribe stays as kFutureStatusPending

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

Relevant Code:

Token received like described here :
https://medium.com/@shigmas/push-notifications-in-qt-for-ios-and-android-50c2f9a38444

Then, I just did this :

::firebase::messaging::Subscribe("TopicToSubscribeObstructed");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions