我正在尝试使用Firebase-Notification API,当我将下游消息从控制台发送到应用程序时,该服务是完美的,但如何向主题注册用户发送消息?
我在android方面做过
FirebaseMessaging.getInstance().subscribeToTopic("TopicName");
Run Code Online (Sandbox Code Playgroud)
但当我尝试从控制台向主题发送下游消息时,它说
This project does not have any topics
Run Code Online (Sandbox Code Playgroud)
编辑:我发现在映射主题后,最多需要1天才能显示在Firebase控制台中
android firebase google-cloud-messaging firebase-notifications
其中一项新功能android studio 2.2 preview 1是APK Analyzer
,当您尝试它时,它会为您提供统计信息Defined Methods和Referenced Methods
示例输出:
这个dex文件用28823个方法定义了4118个类,并引用了35206个方法