본문 바로가기

Android

간만에 안보던 apk 업데이트를 봤더니만 ACTION_INSTALL_PACKAGE 이 deprecated 되었다. =_ =

https://developer.android.com/reference/android/content/pm/PackageInstaller
https://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/content/InstallApk.java
https://forums.xamarin.com/discussion/170925/xamarin-android-10-how-to-install-3rd-party-apk
https://stackoverflow.com/questions/58374527/installing-apk-that-updates-the-same-app-fails-on-android-10-java-lang-security



수정하기 귀찮군 =_ =

1. 일단 기존 방식으로도 29 (Q) 에서 동작됨을 확인 함
2. self apk update 시 업데이트는 되는데 업데이트가 완료된 이후 앱이 종료 되 버림 죽은 듯한 느낌으로 =_ = 이것 때문에 29 (Q) 에 바로 적용하기가 애매해짐