Skip to content

3.3.0-SNAPSHOT causing FileProvider issues #409

@JayNewstrom

Description

@JayNewstrom

✍️ Describe the bug

When using the latest snapshot with my app, I'm getting a bug due to manifest merger issues related to the FileProvider

💣 Steps to reproduce

Have a file provider that looks like this in the app.

<manifest>
    <application>
        <provider
            android:authorities="${applicationId}.my.app"
            android:exported="false"
            android:grantUriPermissions="true"
            android:name="androidx.core.content.FileProvider">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_paths"/>
        </provider>
    </application>
</manifest>

🔧 Expected behavior

The app should build without errors

📷 Screenshots

📱 Tech info

  • Chucker version: 3.3.0-SNAPSHOT

📄 Additional context

It looks like the best way to solve this is to make your own implementation of a FileProvider subclass. See https://stackoverflow.com/questions/42893846/androidmanifest-merge-error-using-fileprovider

I can submit a PR with the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions