e-imaxina / cordova-plugin-deeplinks

Cordova plugin to support Universal/Deep Links for iOS/Android.
MIT License
33 stars 68 forks source link

Do not crash when app is opened via custom uri #18

Open vbraun opened 4 years ago

vbraun commented 4 years ago

The intent handler is also triggered for custom URIs like com.example.app:/oauthlogin; In this case getHost() returns null and the plugin crashes.

I think thats a pretty uncontroversial change, just fix a potential null dereference error.