GoogleChrome / android-browser-helper

The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library.
Apache License 2.0
695 stars 289 forks source link

Catch exceptions thrown by newSession call. #362

Closed PEConn closed 2 years ago

PEConn commented 2 years ago

In Issue #94 , one of the causes is from a browser throwing while in newSession. This PR protects against that and falls back to the Custom Tab launch.