Closed Jmchemama closed 4 years ago
In the file videorecorder.android.js change
} else { path = app.android.currentContext .getExternalFilesDir(null) .getAbsolutePath(); } file = new java.io.File(path + '/' + fileName);· if (sdkVersionInt >= 21) { tempPictureUri =(android.support.v4.content)).FileProvider.FileProvider.getUriForFile(app.android.foregroundActivity, pkgName + ".provider", file); }
to
else { path = app.android.context .getExternalFilesDir(null) .getAbsolutePath(); } file = new java.io.File(path + '/' + fileName); if (sdkVersionInt >= 21) { tempPictureUri = androidx.core.content.FileProvider.getUriForFile(app.android.foregroundActivity, pkgName + ".provider", file); }
In the file videorecorder.android.js change
to