Skip to content

Latest commit

 

History

History
 
 

inappmessaging

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Firebase In-App Messaging Quickstart

Introduction

This quickstart demonstrates basic usage of Firebase In-App Messaging. To learn more about in app messaging, visit the Getting Started Guide.

Getting Started

Using a in-app messaging campaign tied to an analytics event:

  • Follow the instructions to add Firebase to your Flutter app.
  • In the Firebase console, navigate to the In-App Messaging section.
  • Click New Campaign
    • In the Style and content section, design a campaign using one of the provided layouts (Modal, Image, or Banner), then click Next.
    • In the Target section, enter any campaign name and description. In the dropdown, choose to target the app you just created, then click Next.
    • In the Scheduling section, choose any reasonable start and end date. Choose engagement_party for the trigger event, then click Next.
    • In the Conversion events tab choose the ecommerce_purchase conversion event.
  • Run the sample app on your device
    • Press the Trigger button to fire the event.

Using the Firebase Installation ID:

  • Follow the instructions to add Firebase to your Flutter app.
    • In the Firebase console, navigate to the In-App Messaging section.
    • Click New Campaign
      • In the Style and content section, design a campaign using one of the provided layouts (Modal, Image, or Banner), then click in the upper right hand corner Test on Device.
      • Place your Firebase Installation ID in the box and then press test
      • Background the app and bring it to the foreground. You should now see your in-app message.

Result

If you successfully trigger a message, you should see something like this: