hui-z / flutter_install_plugin

A flutter plugin for install apk for android; and using url to go to app store for iOS.
MIT License
103 stars 111 forks source link

Couldnt Find Metadata #40

Closed aryan29 closed 11 months ago

aryan29 commented 4 years ago
install apk error: PlatformException(IllegalArgumentException,
 Couldn't find meta-data for provider with authority com.jio.jioplay.tv.fileProvider.install, null)

I am passing apk path and its package name(If I am right it is equal to AppID) And yes I am using android Android 9

Flutter 1.17.1 • channel stable •
https://github.com/flutter/flutter.git
Framework • revision f7a6a7906b (11 days
ago) • 2020-05-12 18:39:00 -0700
Engine • revision 6bc433c6b6
Tools • Dart 2.8.2
aryan29 commented 4 years ago

And yes the same error for any other app

install apk error: PlatformException(IllegalArgumentException, 
Couldn't find meta-data for provider with authority com.truecaller.fileProvider.install, null)
wang-zeqi commented 3 years ago

我也有这个问题

geronald10 commented 3 years ago

you must add metadata file provider in your AndroidManifest.xml. see: https://developer.android.com/reference/androidx/core/content/FileProvider It's all about security concern to access your file.