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?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top