InAppUpdater icon indicating copy to clipboard operation
InAppUpdater copied to clipboard

Request - ActivityResult

Open elmundomusical2 opened this issue 3 years ago • 3 comments

Hello! Thanks for doing this fantastic library! Can you try to add the method "onActivityResult" This is the official method:

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
  if (requestCode == MY_REQUEST_CODE) {
    if (resultCode != RESULT_OK) {
      log("Update flow failed! Result code: " + resultCode);
      // If the update is cancelled or fails,
      // you can request to start the update again.
    }
  }
}

Thanks a lot! 💙💙💙

elmundomusical2 avatar Oct 25 '20 17:10 elmundomusical2

Please try to add it, if the user can cancel the immediate update there is no sense to show it.. 👍

Dave181295 avatar Mar 04 '21 02:03 Dave181295

Immediate update is cancellable and user can still use app. OnActivityResult is needed. Please include handling of the same.

akhileshsharma avatar Jun 17 '22 01:06 akhileshsharma

any update about this immediate update.

pavelsust avatar Sep 28 '22 08:09 pavelsust