Android Question [SOLVED] Manifest for FileProvider, is it still needed?

incendio

Well-Known Member
Licensed User
Longtime User
Hi guys,

Prior B4A 10.5, FileProvider is a class, and manifest editor like this is needed
B4X:
AddApplicationText(
  <provider
  android:name="android.support.v4.content.FileProvider"
  android:authorities="$PACKAGE$.provider"
  android:exported="false"
  android:grantUriPermissions="true">
  <meta-data
  android:name="android.support.FILE_PROVIDER_PATHS"
  android:resource="@xml/provider_paths"/>
  </provider>
)
CreateResource(xml, provider_paths,
   <files-path name="name" path="shared" />
)

Now on B4A 10.5, FileProvider is internal library, is the codes in manifest file still needed?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…