Skip to content

Android with FCM set up does not compile #1

@daniloapr

Description

@daniloapr

Hi! Thanks for the package!

I just tried the package and noticed that it doesn't compile for Android with Firebase Cloud Messaging already integrated. The fix is:

In the main/AndroidManifest:

<manifest ...
    xmlns:tools="http://schemas.android.com/tools" <!-- Add this line -->
    package="com.teamflowhq.mobileApp">

In the meta-data where the default_notification_id is set:

        <meta-data
            tools:replace="android:value"  <!-- Add this line -->
            android:name="com.google.firebase.messaging.default_notification_channel_id"
            android:value="your_notifications_channel" />

I think it would be good to have this in the Readme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions