Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://com.example.app.provider/… typ=application/vnd.android.package-archive flg=0x50000001 pkg=com.example.app }
- MainActivity.kt
- UpdateService.kt
- AndroidManifest
I want to programmatically download apk from server if there is the latest version of it and download app in the background and upon completing close current running app and update to the new version of it by installing currently downloaded APK
Flutter version
2