I am implementing in-app update in Android in my app using fragment. In order to get a callback in onActivityResult in my fragment, I should call update as follow using AppUpdateManager :
appUpdateManager.startUpdateFlowForResult(
info.result,
AppUpdateType.FLEXIBLE,
fragment::startIntentSenderForResult,
flexibleAppUpdateReqCode
)
startIntentSenderForResult is deprecated. What is the new solution for that? So I can get a call to onActivityResult callback in my fragment.