正在查看: Aplazo v2.4.68 应用的 KusFcmService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Aplazo v2.4.68 应用的 KusFcmService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.kustomer.ui.fcm;
import Fi.F;
import Fi.H;
import Fi.J;
import Fi.u;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
import com.kustomer.core.utils.log.KusLog;
import com.kustomer.ui.utils.helpers.KusNotificationService;
import ki.i;
import kotlin.jvm.internal.l;
public final class KusFcmService extends FirebaseMessagingService {
private final u job;
private final F scope;
public KusFcmService() {
this(null, null, 3, null);
}
private final void registerDeviceToken(String str) {
KusLog.INSTANCE.kusLogDebug("Registering Device Token from FCM Service " + str);
J.B(this.scope, (i) null, (H) null, new KusFcmService$registerDeviceToken$1(str, null), 3);
}
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
l.e(remoteMessage, "remoteMessage");
KusLog kusLog = KusLog.INSTANCE;
kusLog.kusLogDebug("Push notification received : " + remoteMessage);
kusLog.kusLogDebug("isKustomerPush : " + KusNotificationService.onMessageReceived$default(KusNotificationService.INSTANCE, remoteMessage, this, null, 4, null));
}
@Override
public void onNewToken(String str) {
l.e(str, "token");
KusLog.INSTANCE.kusLogDebug("New FCM Token received in FCM Service " + str + " ");
registerDeviceToken(str);
}
public KusFcmService(Fi.u r1, Fi.F r2, int r3, kotlin.jvm.internal.DefaultConstructorMarker r4) {
throw new UnsupportedOperationException("Method not decompiled: com.kustomer.ui.fcm.KusFcmService.<init>(Fi.u, Fi.F, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
}
public KusFcmService(u uVar, F f) {
l.e(uVar, "job");
l.e(f, "scope");
this.job = uVar;
this.scope = f;
}
}