Hi All
Getting a weird message when using the AppUpdater library.
The download seems to work OK but when it tries to install I am getting the following:
Looks like a permissions problem, anyone know what is needed?
Thanks
Getting a weird message when using the AppUpdater library.
The download seems to work OK but when it tries to install I am getting the following:
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
---- AppUpdating.JobDone --
---- AppUpdating.DownloadApk
---- AppUpdating.JobDone --
JobName = JobApkDownload, Success = true
-- JobApkDownload
new apk version downloaded and ready to install
---- AppUpdating.InstallApk
main_update_updatecomplete (java line: 1045)
android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/MyCompany.MyProject/files/tmp.apk exposed beyond app through Intent.getData()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1958)
at android.net.Uri.checkFileUriExposed(Uri.java:2356)
at android.content.Intent.prepareToLeaveProcess(Intent.java:10511)
at android.content.Intent.prepareToLeaveProcess(Intent.java:10465)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1616)
at android.app.Activity.startActivityForResult(Activity.java:4564)
at android.app.Activity.startActivityForResult(Activity.java:4522)
Looks like a permissions problem, anyone know what is needed?
Thanks