RNPushNotification$a.smali
.class public final Lcom/dieam/reactnativepushnotification/modules/RNPushNotification$a;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;
# direct methods
.method public constructor <init>(Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;)V
.registers 2
iput-object p1, p0, Lcom/dieam/reactnativepushnotification/modules/RNPushNotification$a;->a:Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.registers 7
const-string p1, "onReceive"
const-string v0, "com/dieam/reactnativepushnotification/modules/RNPushNotification$1"
const-string v1, "broadcast"
invoke-static {p1, v0, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
const-string v2, "token"
.line 1
invoke-virtual {p2, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
.line 2
invoke-static {}, Lcom/facebook/react/bridge/Arguments;->createMap()Lcom/facebook/react/bridge/WritableMap;
move-result-object v2
const-string v3, "deviceToken"
.line 3
invoke-interface {v2, v3, p2}, Lcom/facebook/react/bridge/WritableMap;->putString(Ljava/lang/String;Ljava/lang/String;)V
.line 4
iget-object p2, p0, Lcom/dieam/reactnativepushnotification/modules/RNPushNotification$a;->a:Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;
# getter for: Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;->mJsDelivery:Lcom/dieam/reactnativepushnotification/modules/c;
invoke-static {p2}, Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;->access$000(Lcom/dieam/reactnativepushnotification/modules/RNPushNotification;)Lcom/dieam/reactnativepushnotification/modules/c;
move-result-object p2
const-string v3, "remoteNotificationsRegistered"
invoke-virtual {p2, v3, v2}, Lcom/dieam/reactnativepushnotification/modules/c;->c(Ljava/lang/String;Ljava/lang/Object;)V
.line 5
invoke-static {p1, v0, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method