title: How to auto close a Safari View Controller or Chrome Custom Tab and return to the mobile app?
body: <p>My mobile app (React Native) uses a Web View (Chrome Custom Tabs on Android and Safari View Controller on iOS) for a small user flow within the app.</p>
  
  <p>At the end of the process the web view should close and return to the app. I've managed to make it work on Android by using a custom scheme URL redirect at the end (myapp://home), but that doesn't seem to work on iOS. In fact, I haven't found a way to do it on iOS at all.</p>
  
  <p>What approach is generally used for this type of scenario?</p>