com-dot-app-sancharsaathi-1-5-0.apk
Download file
package com.dexterous.flutterlocalnotifications;
import G.m;
import android.app.Notification;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.util.Log;
import com.dexterous.flutterlocalnotifications.models.NotificationDetails;
import com.dexterous.flutterlocalnotifications.utils.StringUtils;
public class ScheduledNotificationReceiver extends BroadcastReceiver {
private static final String TAG = "ScheduledNotifReceiver";
public class a extends C2.a<NotificationDetails> {
public a() {
}
}
public void onReceive(Context context, Intent intent) {
String stringExtra = intent.getStringExtra(FlutterLocalNotificationsPlugin.NOTIFICATION_DETAILS);
if (StringUtils.isNullOrEmpty(stringExtra).booleanValue()) {
int intExtra = intent.getIntExtra("notification_id", 0);
Notification notification = Build.VERSION.SDK_INT >= 33 ? (Notification) intent.getParcelableExtra("notification", Notification.class) : (Notification) intent.getParcelableExtra("notification");
if (notification == null) {
FlutterLocalNotificationsPlugin.removeNotificationFromCache(context, Integer.valueOf(intExtra));
Log.e(TAG, "Failed to parse a notification from Intent. ID: " + intExtra);
return;
}
notification.when = System.currentTimeMillis();
m.e(context).h(intExtra, notification);
if (!intent.getBooleanExtra("repeat", false)) {
FlutterLocalNotificationsPlugin.removeNotificationFromCache(context, Integer.valueOf(intExtra));
return;
}
return;
}
NotificationDetails notificationDetails = (NotificationDetails) FlutterLocalNotificationsPlugin.buildGson().i(stringExtra, new a().e());
FlutterLocalNotificationsPlugin.showNotification(context, notificationDetails);
FlutterLocalNotificationsPlugin.scheduleNextNotification(context, notificationDetails);
}
}
Download file