Problem with ActivityStarter

Hey guys.
I’m making an application on Kodular to download and after finishing the download it should start installing it.
However, when the download finishes and the installation should start, I receive this error below.

Runtime Error

file://storage/emulated/0/Download/aplicativo_00.apk beyond exposed app through Intent.getData()

END APPLICATION

I saw in other topics here in the community that the problem is because I am using files// in front of the uri, as from Android 7 it must be using content//.

However, I don’t know how to do this in Kodular because I don’t develop many applications yet.

Could someone perhaps help me with this situation.