Closed arunprasath218 closed 1 year ago
Hi, I just want to ask is there any update regarding this ticket?
Hi @arunprasath218 thank you for your patience, may I please ask you to check the following in your Kiosk device:
Hi @shadyabarada
Anyways, I manually implemented the In-App Update using the download URL provided by AppCenter and its working well thanks.
val fileUri: Uri = FileProvider.getUriForFile(Objects.requireNonNull(activity.applicationContext), BuildConfig.APPLICATION_ID + ".provider", file) val updateAppIntent = Intent(Intent.ACTION_VIEW, fileUri) updateAppIntent.putExtra(Intent.EXTRA_NOT_UNKNOWN_SOURCE, true) updateAppIntent.setDataAndType(fileUri, "application/vnd.android" + ".package-archive") updateAppIntent.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK updateAppIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) activity.startActivity(updateAppIntent) activity.finish()
@arunprasath218, So as far as I understand your issue is resolved?
Yes
Description
Hi, In App Update is not working. After click download button on the dialog. The APK will get downloaded but it wont update the app. Instead an error toast will be displayed "Failed to install app update". This issue is very similar to #1550. Its working properly on my OnePlus Nord but not working on my Android Kiosk Device.
Confirmation to install a new release dialog was not asked in my Kiosk but it was asked for my OnePlus Nord.
Video Link - https://drive.google.com/file/d/1FkxWAgDhB_VicMPsldm1Iwy1BGjb1pa9/view?usp=sharing
Logs
Repro Steps
Details