nativescript-advanced-webview
nativescript-advanced-webview copied to clipboard
pass data via URL
Hey @bradmartin This looks amazing! Before I install it I just want to know - can I add parameters to my URL like a token and user_role so my server can apply some logic? The standard {N} webview doesn't has my parameters in the URL but my server doesn't see them, so not sure it passes them along.
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 you can do this but I'm not aware of how to at this time.
hahaha @bradmartin thanks, will have to download it and try it out. I'm a bit of an amateur with {N}, so not sure about this, but you'll know as it's your plugin: is there any way to include the webview on the page under the action bar? Or is it specifically its own 'page'?
:) 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 had no clue what to name it when it was done 😆
@bradmartin Ah ok cool, thanks bud! I really need it to be a webview of sorts as I'm using it for an analytics/.dashboard page but the info and graphs will be too fluid to hard code into an app. I may add graphs and stats every few days and don't want to keep launching new versions of the app.