Potentially Intent Spoofing

Description

The application is vulnerable to intent spoofing which could result in the access and exploitation of unauthorized components.

Recommendation

It is recommended to apply proper input validation and parameter filtering on intent action.

Technical details
[TAINT] String 'https://www.kayako.com/?utm_source=%s&utm_medium=%s&utm_content=%s&utm_campaign=%s' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/kayako/sdk/android/k5/messenger/replyboxview/j;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/kayako/sdk/android/k5/messenger/replyboxview/ReplyBoxFragment;', 'a', '(Lcom/kayako/sdk/android/k5/messenger/replyboxview/ReplyBoxFragment; Ljava/lang/String;)V'), ('Lcom/kayako/sdk/android/k5/messenger/replyboxview/ReplyBoxFragment;', 'n', '(Ljava/lang/String;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value https://www.kayako.com/?utm_source=%s&utm_medium=%s&utm_content=%s&utm_campaign=%s to construct an Intent

Method com.kayako.sdk.android.k5.messenger.replyboxview.j.onClick():


    public void onClick(android.view.View p2)
    {
        com.kayako.sdk.android.k5.messenger.replyboxview.ReplyBoxFragment.a(this.a, com.kayako.sdk.android.k5.messenger.replyboxview.a.a());
        return;
    }

Method com.kayako.sdk.android.k5.messenger.replyboxview.ReplyBoxFragment.a():


    static synthetic void a(com.kayako.sdk.android.k5.messenger.replyboxview.ReplyBoxFragment p0, String p1)
    {
        p0.n(p1);
        return;
    }

Method com.kayako.sdk.android.k5.messenger.replyboxview.ReplyBoxFragment.n():


    private void n(String p3)
    {
        this.a(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p3)));
        return;
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/y;', 'b', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.y.b():


    public static void b(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/y;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.y.a():


    public static void a(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/q;', 'a', '()I'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.q.a():


    public final declared_synchronized int a()
    {
        try {
            if (this.e == 0) {
                int v0_5 = this.a.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.h.h()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.e = 1;
                            return this.e;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.h.h()) {
                            this.e = 1;
                        } else {
                            this.e = 2;
                        }
                        return this.e;
                    } else {
                        this.e = 2;
                        return this.e;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.e;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.w.a():


    private static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.w.b == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.w.b = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.w.b);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/q;', 'a', '()I'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.q.a():


    public final declared_synchronized int a()
    {
        try {
            if (this.e == 0) {
                int v0_5 = this.a.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.h.h()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.e = 1;
                            return this.e;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.h.h()) {
                            this.e = 1;
                        } else {
                            this.e = 2;
                        }
                        return this.e;
                    } else {
                        this.e = 2;
                        return this.e;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.e;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.w.a():


    private static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.w.b == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.w.b = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.w.b);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/q;', 'a', '()I'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.q.a():


    public final declared_synchronized int a()
    {
        try {
            if (this.e == 0) {
                int v0_5 = this.a.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.h.h()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.e = 1;
                            return this.e;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.h.h()) {
                            this.e = 1;
                        } else {
                            this.e = 2;
                        }
                        return this.e;
                    } else {
                        this.e = 2;
                        return this.e;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.e;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.w.a():


    private static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.w.b == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.w.b = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.w.b);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/w;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.w.a():


    private static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.w.b == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.w.b = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.w.b);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/q;', 'a', '()I'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.q.a():


    public final declared_synchronized int a()
    {
        try {
            if (this.e == 0) {
                int v0_5 = this.a.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.h.h()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.e = 1;
                            return this.e;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.h.h()) {
                            this.e = 1;
                        } else {
                            this.e = 2;
                        }
                        return this.e;
                    } else {
                        this.e = 2;
                        return this.e;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.e;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/X;', 'run', '()V'), ('Lcom/google/firebase/iid/W;', 'a', '(Landroid/os/Bundle; Lc/d/a/a/h/h;)V'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/q;', 'a', '()I'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.X.run():


    public final void run()
    {
        this.a.a(this.b, this.c);
        return;
    }

Method com.google.firebase.iid.W.a():


    final synthetic void a(android.os.Bundle p2, c.d.a.a.h.h p3)
    {
        try {
            p3.a(this.c.a(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.q.a():


    public final declared_synchronized int a()
    {
        try {
            if (this.e == 0) {
                int v0_5 = this.a.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.h.h()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.e = 1;
                            return this.e;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.h.h()) {
                            this.e = 1;
                        } else {
                            this.e = 2;
                        }
                        return this.e;
                    } else {
                        this.e = 2;
                        return this.e;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.e;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/X;', 'run', '()V'), ('Lcom/google/firebase/iid/W;', 'a', '(Landroid/os/Bundle; Lc/d/a/a/h/h;)V'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.X.run():


    public final void run()
    {
        this.a.a(this.b, this.c);
        return;
    }

Method com.google.firebase.iid.W.a():


    final synthetic void a(android.os.Bundle p2, c.d.a.a.h.h p3)
    {
        try {
            p3.a(this.c.a(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/X;', 'run', '()V'), ('Lcom/google/firebase/iid/W;', 'a', '(Landroid/os/Bundle; Lc/d/a/a/h/h;)V'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'b', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'c', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/w;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.X.run():


    public final void run()
    {
        this.a.a(this.b, this.c);
        return;
    }

Method com.google.firebase.iid.W.a():


    final synthetic void a(android.os.Bundle p2, c.d.a.a.h.h p3)
    {
        try {
            p3.a(this.c.a(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.w.a():


    final android.os.Bundle a(android.os.Bundle p6)
    {
        if (this.e.d() < 12000000) {
            return this.b(p6);
        } else {
            try {
                return ((android.os.Bundle) c.d.a.a.h.m.a(com.google.firebase.iid.e.a(this.d).b(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    int v1_3 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v1_3).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v1_3);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.o)) {
                    if (((com.google.firebase.iid.o) v0_5.getCause()).a() == 4) {
                        return this.b(p6);
                    }
                }
                return 0;
            } catch (int v0_5) {
            }
        }
    }

Method com.google.firebase.iid.w.b():


    private final android.os.Bundle b(android.os.Bundle p4)
    {
        int v0 = this.c(p4);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.c(p4);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.w.c():

Couldn't retrieve source code

Method com.google.firebase.iid.w.a():


    private static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.w.b == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.w.b = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.w.b);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.firebase.iid.TOKEN_REFRESH' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'run', '()V'), ('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.iid.TOKEN_REFRESH to construct an Intent

Method com.google.firebase.iid.B.run():


    public final void run()
    {
        this.b.acquire();
        try {
            com.google.firebase.iid.FirebaseInstanceId v0_8;
            this.c.a(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_11) {
            this.b.release();
            throw v0_11;
        }
        if (this.c.h()) {
            if (this.b()) {
                if ((!this.c()) || ((!this.d()) || (!this.e.a(this.c)))) {
                    this.c.a(this.a);
                } else {
                    v0_8 = this.c;
                    v0_8.a(0);
                }
            } else {
                new com.google.firebase.iid.C(this).a();
            }
        } else {
            v0_8 = this.c;
        }
        this.b.release();
        return;
    }

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'run', '()V'), ('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Lcom/google/firebase/iid/y;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.B.run():


    public final void run()
    {
        this.b.acquire();
        try {
            com.google.firebase.iid.FirebaseInstanceId v0_8;
            this.c.a(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_11) {
            this.b.release();
            throw v0_11;
        }
        if (this.c.h()) {
            if (this.b()) {
                if ((!this.c()) || ((!this.d()) || (!this.e.a(this.c)))) {
                    this.c.a(this.a);
                } else {
                    v0_8 = this.c;
                    v0_8.a(0);
                }
            } else {
                new com.google.firebase.iid.C(this).a();
            }
        } else {
            v0_8 = this.c;
        }
        this.b.release();
        return;
    }

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.y.a():


    public static void a(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.messaging.NEW_TOKEN' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'run', '()V'), ('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.messaging.NEW_TOKEN to construct an Intent

Method com.google.firebase.iid.B.run():


    public final void run()
    {
        this.b.acquire();
        try {
            com.google.firebase.iid.FirebaseInstanceId v0_8;
            this.c.a(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_11) {
            this.b.release();
            throw v0_11;
        }
        if (this.c.h()) {
            if (this.b()) {
                if ((!this.c()) || ((!this.d()) || (!this.e.a(this.c)))) {
                    this.c.a(this.a);
                } else {
                    v0_8 = this.c;
                    v0_8.a(0);
                }
            } else {
                new com.google.firebase.iid.C(this).a();
            }
        } else {
            v0_8 = this.c;
        }
        this.b.release();
        return;
    }

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'run', '()V'), ('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Lcom/google/firebase/iid/y;', 'b', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.B.run():


    public final void run()
    {
        this.b.acquire();
        try {
            com.google.firebase.iid.FirebaseInstanceId v0_8;
            this.c.a(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_11) {
            this.b.release();
            throw v0_11;
        }
        if (this.c.h()) {
            if (this.b()) {
                if ((!this.c()) || ((!this.d()) || (!this.e.a(this.c)))) {
                    this.c.a(this.a);
                } else {
                    v0_8 = this.c;
                    v0_8.a(0);
                }
            } else {
                new com.google.firebase.iid.C(this).a();
            }
        } else {
            v0_8 = this.c;
        }
        this.b.release();
        return;
    }

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.y.b():


    public static void b(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Lcom/google/firebase/iid/y;', 'b', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.y.b():


    public static void b(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.iid.TOKEN_REFRESH' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.iid.TOKEN_REFRESH to construct an Intent

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Lcom/google/firebase/iid/y;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.y.a():


    public static void a(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.y.b(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.messaging.NEW_TOKEN' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/B;', 'd', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.messaging.NEW_TOKEN to construct an Intent

Method com.google.firebase.iid.B.d():


    private final boolean d()
    {
        boolean v1_3 = this.c.d();
        if ((!v1_3) || (v1_3.b(this.d.b()))) {
            try {
                android.content.Intent v4_1 = this.c.e();
            } catch (boolean v1_6) {
                boolean v1_8 = String.valueOf(v1_6.getMessage());
                if (v1_8.length() == 0) {
                    boolean v1_10 = new String("Token retrieval failed: ");
                } else {
                    v1_10 = "Token retrieval failed: ".concat(v1_8);
                }
                android.util.Log.e("FirebaseInstanceId", v1_10);
                return 0;
            } catch (boolean v1_6) {
            }
            if (v4_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v1_3) || ((v1_3) && (!v4_1.equals(v1_3.b)))) {
                    boolean v1_4 = this.a();
                    String v5_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v5_4.putExtra("token", v4_1);
                    com.google.firebase.iid.y.b(v1_4, v5_4);
                    com.google.firebase.iid.y.a(v1_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method android.content.Intent.<init>() not found.