[PAID] FirebaseIAM : Implement InAppMessaging with Latest SDK - v21.0.0 ($5 or INR 301)

1. Introduction

Latest Version: 1
Released: 2024-07-15T18:30:00Z
Last Updated: 2024-07-15T18:30:00Z

Key Features:

  • Enable/Disable IAM Receiving: Easily toggle the reception of IAM messages without altering your app’s core functionalities.
  • Temporary Message Suspension: Temporarily stop messages from displaying, perfect for maintenance or special events (like payments flow).

Firebase IAM offers beautiful and customizable layouts, including:

  • Card
  • Modal
  • Top Banner
  • Image Only

Enhance your app’s messaging capabilities with these versatile and engaging designs.

2. Blocks


image

3. Documentation

Methods:

Init

image

Initialize Firebase InAppMessaging Client with provided credentials. You need to call this method only once and then extension will auto init client itself.

Parameter Type
projectId text
apiKey text
appId text
senderId text

EnableInAppMessaging

image

Enables InAppMessage receiving


DisableInAppMessaging

image

Disables InAppMessage receiving


IsInAppMessagingEnabled

image

Returns whether message receiving is enabled or not

Return Type: boolean


SuppressIAM

image

Suppress messages from displaying temporarily


UnSuppressIAM

image

Un Suppress messages and let them be shown when possible


AreMessagesSuppressed

image

Returns whether messages has been supressed or not

Return Type: boolean


TriggerEvent

image

Shows message associated with given event

Parameter Type
eventName text

Events:

InAppMessageClicked

image

Event raised when InAppMessage is clicked

Parameter Type
campaignId text
messageType text
message dictionary
actionUrl text

InAppMessageDismissed

image

Event raised when InAppMessage is dismissed

Parameter Type
campaignId text
messageType text
message dictionary

InAppMessageDisplayError

image

Event raised when error occurred in showing InAppMessage

Parameter Type
errorReason text

4. Purchase Extension

5. Preview

Note: Messages are fetched only once per day to preserve battery.

I would recommend to read firebase docs.
https://firebase.google.com/docs/in-app-messaging/explore-use-cases

Thank you.
Hope it helps!

3 Likes