Android messaging sdk file provider



Posted Jan 31, 2022

Hi, messaging sdk has this issue from 2.0.0

AndroidManifest.xml:406:13-64 Error:
  Attribute provider#androidx.core.content.FileProvider@authorities value=(x.fileprovider) from AndroidManifest.xml:406:13-64
    is also present at [zendesk.messaging:messaging-android:2.1.0] AndroidManifest.xml:49:13-76 value=(com.zendesk.native_messaging.fileprovider).
    Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:404:9-412:20 to override.
AndroidManifest.xml:411:17-60 Error:
    Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/external_file_paths) from AndroidManifest.xml:411:17-60
    is also present at [zendesk.messaging:messaging-android:2.1.0] AndroidManifest.xml:54:17-51 value=(@xml/files_path).
    Suggestion: add 'tools:replace="android:resource"' to <meta-data> element at AndroidManifest.xml:409:13-411:62 to override.

Public SDK's should not use default file provider.  Can you fix this extending file provider for your needs.

Thanks


0

20

20 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post