将 FCM 发送到您的 android 应用的特定版本

如何将 FCM(Firebase 云消息)发送到您的 Android 应用的特定版本?例如:- 我的应用程序的最新版本是 2.0,我只想向 2.0 版本的设备发送通知.

解决方案

如果您使用的是

  • 在弹出的新行中,您可以选择版本"并选择一个应用版本:

how to send FCM (Firebase Cloud Message) to a particular version of your android app? for example:- my app's latest version is 2.0 and i only want to send notifications to devices having version 2.0.

解决方案

If you're using the Notifications composer in the Firebase console to send your messages, you can target based on app version.

  • Choose "User segment" under the "Target" step, select your app, and click "and" on the right side:

  • In the new line that pops up, you can select "Version" and pick an app version:

相关文章