Brad Martin

Results 232 comments of Brad Martin

@Bezlepkin - what do you mean "that's it"? Removing it or something?

I'd have to look but I don't recall seeing any native methods on the APIs that allow programmatically closing chrome/safari. Can you look into the native APIs and see if...

Gotcha. Well if android has something then that would be a great addition to add. Id like to add more of the options for it I just don't have time...

Poke around here on the android docs: https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder.html - my quick glance didn't look promising on the API for customtabs - but yea closing the Chrome activity seems reasonable 👍...

Hi, honestly I'm not sure 😄 - never looked into that. This plugin is just exposing Safari and ChromeCustomTabs instead of the stock webview that android/ios provide. So it's possible...

:) I don't think so. This plugin actually launches Chrome on android and Safari on iOS. It's not really a 'webview'. The name is probably not great 😄 but I...

Not sure, read over the documentation here and let me know if you find an event to handle this if it's possible on iOS https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller?preferredLanguage=occ

I haven't looked at iOS - but Android shouldn't be too difficult to add if someone wants to help contribute to this: https://developer.android.com/reference/android/support/customtabs/CustomTabsCallback.html#onNavigationEvent(int, android.os.Bundle)

Answer would be yes, RN can use native android/ios libs. You'd need to create the wrapper/bindings for it to work in RN though since you can't drop in the dependency...

I've spent quite some time digging into this. It's very much an iOS 14 issue impacting many projects, not those just created with NativeScript. iOS14 introduced a new approach to...