'How to send In-APP Notification in Firebase using Python SDK for Android | iOS

I've successfully integrated Firebase Python SDK for Android/iOS notifications. Now I want to send in-app notification using firebase python sdk. I couldn't find any code for this on Firebase official documentation. Here is my code for sending push notification which is working fine.

_message = messaging.Message(
    notification=messaging.Notification(
        title=show_title,
        body=episode_title,
        image=image_url,
    ),
    apns=messaging.APNSConfig(
        payload=messaging.APNSPayload(
            aps=messaging.Aps(
                mutable_content=1
            )
        ),
        fcm_options=messaging.APNSFCMOptions(
            image=image_url
        )
    ),
    token=registration_token,
    data=data,
)

Please do let me know IF somehow I can use Firebase python sdk for in-app notification. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source