Handle SDK Lifecycle Events
The Hypercheckout SDK runs in a fragment. Hence, to handle certain events based upon activity life cycle, client will need to forward those events to the Hypercheckout SDK.
These events are crucial for seamless functioning of features like OTP reading, App Switches (UPI Intent), Hardware backpress.
Following are the lifecycle events which SDK needs:
Step 1
onBackPressed
Step 2 (Conditional)
onActivityResult
Step 3 (Conditional)
onRequestPermissionsResult

