Firebase 将于 5 月 14 日重返 Google I/O 大会!
立即报名。
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Firebase In-App Messaging
plat_ios
plat_android
plat_flutter
透過符合情境的訊息,吸引活躍的應用程式使用者。
Firebase In-App Messaging 能協助您吸引目標對象,與您應用程式的活躍使用者互動。
鼓勵使用者使用重要應用程式功能的內容情境訊息。例如:
傳送應用程式內訊息
鼓勵使用者訂閱、觀看影片
完成特定關卡或購買商品你可以將訊息自訂為資訊卡、橫幅
互動視窗或圖片,並設定觸發條件
對使用者最有利的功能
利用Firebase In-App Messaging鼓勵使用者探索及發掘資訊:醒目顯示特賣資訊或優待券
在您的電子商務應用程式中提供線索或提示,或按讚或按讚
和社群媒體應用程式分享資訊
準備好了嗎?選擇平台:
iOS 以上
Android
Flutter
主要功能
傳送吸引人且吸引人的訊息 |
「Firebase In-App Messaging」會在最需要時傳送訊息:使用者其實是在
。在使用者造訪您的應用程式內商店時 (而非
。宣傳酷炫新關卡
才是使用者玩遊戲時
而不是坐下看電視的時段
遊戲。
|
依目標對像或行為指定訊息 |
Firebase In-App Messaging 支援 Analytics
和匯入的區隔
提供相關工具,方便您將訊息傳送給
觸及目標對象。根據客戶特徵、使用者
客層或過往行為
|
建立富有彈性的自訂快訊 |
而且還能自訂訊息style、look、display
只要按幾下滑鼠,就能輕鬆觸發內容及提供內容,Firebase In-App Messaging 助您一臂之力
從傳送促銷優惠到吸引使用者更新,
新版應用程式
|
實作路徑
|
連結應用程式 |
首先,請透過 Firebase 控制台將 Firebase 新增至應用程式。
|
|
整合 SDK
|
透過 CocoaPods 或 Gradle 將 Firebase In-App Messaging SDK 新增至應用程式。
|
|
撰寫第一則訊息 |
請前往 Firebase 控制台撰寫、自訂及指定第一則訊息。
|
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-17 (世界標準時間)。
[null,null,["上次更新時間:2025-08-17 (世界標準時間)。"],[],[],null,["Firebase In-App Messaging \nplat_ios plat_android plat_flutter \nEngage active app users with contextual messages. \nFirebase In-App Messaging helps you engage your app's active users by sending them targeted, contextual messages that encourage them to use key app features. For example, you could send an in-app message to get users to subscribe, watch a video, complete a level, or buy an item. You can customize messages as cards, banners, modals, or images, and set up triggers so that they appear exactly when they'd benefit your users most.\n\n\u003cbr /\u003e\n\nUse Firebase In-App Messaging to encourage exploration and discovery: highlight a sale or coupon\nin your ecommerce app, give clues or tips in your game, or prompt a like or\nshare in your social media app.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/in-app-messaging/get-started?platform=ios)\n[Android](/docs/in-app-messaging/get-started?platform=android)\n[Flutter](/docs/in-app-messaging/get-started?platform=flutter)\n\nKey capabilities\n\n|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Send relevant, engaging messages | Firebase In-App Messaging sends messages when they're most needed: while users are actually in your app. Promote your big sale when users visit your in-app store, not while they're in line at the grocery store. Highlight that cool, new level when users play your game, not when they're sitting down to watch the big game. |\n| Target messages by audience or behavior | Firebase In-App Messaging works with [Analytics](/docs/analytics) and [imported segments](/docs/projects/import-segments) to give you tools to deliver messages to the users you'd most like to reach. Send messages based on client characteristics, users' demographics, or past behavior. |\n| Create flexible, custom alerts | With the ability to customize your messages' style, appearance, display triggers, and content all in a few clicks, Firebase In-App Messaging helps you do everything from sending promotional offers to getting users to update to a new version of your app. |\n\nImplementation path\n\n|---|---------------------------|--------------------------------------------------------------------------------|\n| | Connect your app | Start by adding Firebase to your app in the Firebase console. |\n| | Integrate the SDK | Add the Firebase In-App Messaging SDK to your app via CocoaPods or Gradle. |\n| | Create your first message | Visit the Firebase console to write, customize, and target your first message. |\n\nNext steps\n\n- See what you can do with Firebase In-App Messaging by reviewing typical [use cases](/docs/in-app-messaging/explore-use-cases).\n- Learn how to create [an in-app messaging campaign](/docs/in-app-messaging/compose-campaign).\n- Learn how to create [Firebase In-App Messaging experiments with A/B Testing](/docs/ab-testing/abtest-inappmessaging)."]]