Path is not useful in api 29-android 10
mortezaRahimi opened this issue · comments
@OverRide
public void onQuickShotSuccess(String path) {
File file = new File(path);
Uri uri = FileProvider.getUriForFile(this, BuildConfig.APPLICATION_ID +
getString(R.string.file_provider_authority), file);
}
Path not working in android 10 in order to get uri and throws exception :
java.lang.IllegalArgumentException: Failed to find configured root that contains /Pictures/1587840596143.png
Same issue