native.showWebPopup vs native.newWebView -- Update code or stay with old?

Hi, 

I’m in the process of updating an app which made use of native.showWebPopup. I realize that there is a new & improved API call… native.newWebView. From what I can tell, this new API call provides feedback on the web page loaded, success etc. This is great of course. Other than this are there any pros/cons to the new API? 

In a nutshell, I’m trying to determine whether it is worth the time to update from old API to new and whether there are any new gotchas hidden in there. 

Thank you very much for your feedback.

Regards,

Kerem

if it’s not broke, don’t fix it :slight_smile:

We have no plans on removing native web popup.  In fact, on Android, it has some advantages over a webview.  For example, it automatically handles the back key to go back to the previous page, and if you’re on the last page, then it’ll automatically close the web popup.  This matches the default web browser popup behavior of other Android apps.  Versus with a WebView, you would have to handle the back key yourself.

Anyways, I hope this helps!

Joshua,

Thank you very much! This is exactly the type of information I was looking for. Most appreciated. I spent the day learning about the challenges surrounding newWebView so those + the information from you just sealed the deal for me. Will stay with showWebPopup for now then. 

Regards,

Kerem

if it’s not broke, don’t fix it :slight_smile:

We have no plans on removing native web popup.  In fact, on Android, it has some advantages over a webview.  For example, it automatically handles the back key to go back to the previous page, and if you’re on the last page, then it’ll automatically close the web popup.  This matches the default web browser popup behavior of other Android apps.  Versus with a WebView, you would have to handle the back key yourself.

Anyways, I hope this helps!

Joshua,

Thank you very much! This is exactly the type of information I was looking for. Most appreciated. I spent the day learning about the challenges surrounding newWebView so those + the information from you just sealed the deal for me. Will stay with showWebPopup for now then. 

Regards,

Kerem