Skip to content

Manifest merger clash on 3.9.2 for ExternalProcessRelayActivity #33

@DanielSobczak

Description

@DanielSobczak

As described in the docs, we have defined ExternalProcessRelayActivity within our manifest file.
This was working fine but with 3.9.2 version of the library we now have a manifest merger failing when we try to build the app.

/fullApp/src/debug/AndroidManifest.xml:143:13-44 Error:
	Attribute activity#ch.datatrans.payment.ExternalProcessRelayActivity@launchMode value=(singleTask) from AndroidManifest.xml:143:13-44
	is also present at [ch.datatrans:android-sdk:3.9.2] AndroidManifest.xml:35:13-43 value=(singleTop).
	Suggestion: add 'tools:replace="android:launchMode"' to <activity> element at AndroidManifest.xml to override.
/fullApp/src/debug/AndroidManifest.xml:144:13-72 Error:
	Attribute activity#ch.datatrans.payment.ExternalProcessRelayActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from AndroidManifest.xml:144:13-72
	is also present at [ch.datatrans:android-sdk:3.9.2] AndroidManifest.xml:36:13-72 value=(@style/Theme.AppCompat.DayNight.NoActionBar).
	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml to override.

We could fix it with overrides as suggested by the merger, but what is the current guideline-compliant approach we should take instead?

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