Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: PlatformException(Couldn't find meta-data for provider with authority {MyAppId}, null, null) #25

Open
stan009 opened this issue Aug 2, 2020 · 1 comment

Comments

@stan009
Copy link

stan009 commented Aug 2, 2020

   <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="_{myAppID}_provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/provider_paths"/>
    </provider>

I made a nw file in src/res/xml/provider_paths.xml with the following content

The application works in iOS simulator both post error in android simulator
ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: Couldn't find meta-data for provider with authority - list my application id.

@MohsinP07
Copy link

Hey @stan009 did you found any solution regarding this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants