Skip to content

Keeps adding install referrer to manifest. #144

Closed
@feraligatr

Description

@feraligatr

If there's a defined in AndroidManifest.xml, which is not INSTALL_REFERRER, the build script will insert a new receiver every time.

if (!isThereAnyCustomBroadcastReiver)

This code is absolutely wrong.
It should be:
if (isThereAnyCustomBroadcastReiver) { // If there's custom broadcast receiver, let's iterate on "receiver" attributes a bit more to see if it's ours. foreach (XmlAttribute attribute in node.Attributes) { if (attribute.Value.Contains("com.adjust.sdk.AdjustReferrerReceiver")) { isUsedBroadcastReceiverOurs = true; } } break; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions