Check out example codes for "ndroid.support.v4.content.FileProvider". It will help you in understanding the concepts better.

Code Example 1

androidx.core.content.FileProvider;

Learn ReactJs, React Native from akashmittal.com