重庆网站免费优化,正能量软件不良网站下载,装修广告做哪个网站最好看,网站文章多久收录Appflyer官方文档
1.原理 1.AppsFlyer每天向Firebase Cloud Messaging#xff08;FCM#xff09;和 Apple Push Notification Services#xff08;APNS#xff09;发送一次API请求。 2.然后FCM和APNS会发送一条静默推送消息#xff0c;用于判断用户设备上是否仍装有相关应…Appflyer官方文档
1.原理 1.AppsFlyer每天向Firebase Cloud MessagingFCM和 Apple Push Notification ServicesAPNS发送一次API请求。 2.然后FCM和APNS会发送一条静默推送消息用于判断用户设备上是否仍装有相关应用。 3.如果响应消息表示该应用已被卸载FCM和APNS都适用或在过去270天内未记录到任何用户行为仅适用于FCMAppsFlyer就会记录一次卸载。 4.AppsFlyer将该次卸载归因到最初带来该用户的渠道。
2.配置 Firebase 打开API生成project_id 配置到AF后台 3.开发 android开发文档点击跳转
Override
public void onNewToken(String s) {super.onNewToken(s);// Sending new token to AppsFlyerAppsFlyerLib.getInstance().updateServerUninstallToken(getApplicationContext(), s);// the rest of the code that makes use of the token goes in this method as well
}记得混淆keep
-dontwarn com.appsflyer.**
-keep public class com.google.firebase.messaging.FirebaseMessagingService {public *;
}