Closed julienherrero closed 4 months ago
@julienherrero Sadly, a normal third-party app can't install packages silently. Only system-signed apps, device owner apps or affiliated profile owner apps can proceed without user action on fresh install. Ackpine doesn't support these cases specifically as they are already handled in Android system, and if your app falls under these categories, then using Ackpine should not trigger user action.
For further reference, see the Android code which determines requirement for user action: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/core/java/com/android/server/pm/PackageInstallerSession.java;drc=074bb2dc367bde42b837a8de4d4e88f26c074c32;l=949 https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/core/java/com/android/server/pm/PackageInstallerSession.java;drc=074bb2dc367bde42b837a8de4d4e88f26c074c32;l=2587
@julienherrero Is your question resolved?
Closing due to inactivity.
@solrudev Sorry for the delay, and thank you for your (clear) answer 👍
Hi, to follow #52, I would know if it's possible to avoid any user interactions - even for install.
I have read #52 and the documentations + played with sample, but it seems only relevant for update cases and not install.
Just to be more specific: I am looking for a way to make an internal app store to handle my apps, and avoid any user interaction as it should be transparent for users.