Probably you should look at https://stackoverflow.com/questions/58085899/android-10-no-activity-found-to-handle-intent ACTION_VIEW (for APKs) and ACTION_INSTALL_PACKAGE were deprecated in Android 10. You need to switch to the PackageInstaller API.
You can try switch API and check. If you will get it work, please write a result.