The checkForUpdate() method throws an exception:
PlatformException(TASK_FAILURE, Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED), null, null)
I'm not sure why is this happening.
The
checkForUpdate()
method throws an exception:PlatformException(TASK_FAILURE, Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED), null, null)
I'm not sure why is this happening.