Skip to content

[Bug] RegistrationIntentService not found #1244

Closed
@kadko

Description

@kadko

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: _____
  • Firebase C++ SDK version: 9.2.0, 10.6.0
  • Problematic Firebase Component: firebase-messaging
  • Other Firebase Components in use: firestore, auth, analytics
  • Platform you are using the C++ SDK on: Windows
  • Platform you are targeting:Android

[REQUIRED] Please describe the issue here:

After I add messaging service to my project app started to crash with this error.
It builds without error but " .... RegistrationIntentService not found" error at runtime.
If I comment out this line it works firebase::messaging::Initialize(*app, &listener);
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

Steps to reproduce:

setup firestore, auth, analytics and messaging lib,
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? when i start app after building APK in my device its crashing with mentioned error
This could be a description, log/console output, etc.

E/firebase: Java class com/google/firebase/messaging/cpp/RegistrationIntentService not found. Please verify the AAR which contains the com/google/firebase/messaging/cpp/RegistrationIntentService class is included in your app.

E/firebase: clazz

A/firebase: Java class com/google/firebase/messaging/cpp/RegistrationIntentService not found. Please verify the AAR which contains the com/google/firebase/messaging/cpp/RegistrationIntentService class is included in your app.

A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 26939 (GLThread 73389), pid 26894 (t.rotatingballs)

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:

problematic line is:

firebase::messaging::Initialize(*app, &listener);

// TODO(you): code here to reproduce the problem

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