How to get handle update result of in-App updates

Viewed 399

Issue,

'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java

As per in-app update docs, the given method requires onActivityResult but that is deprecated.

I can't find any details on how to use registerForActivityResult for the in-app updates.

P.S: I am using Jetpack compose. Relevant answers would be helpful.

Note:
I am well aware that this is not an error but a warning. I am using Jetpack compose and hence this is an issue for me as having activity results makes the code outside Compose.

0 Answers
Related