How to Create Custom Inapp Browser?

2019-09-11 00:56发布

Hi I want to add Some buttons over the inAppbrowser in my android application how to add here is my code

$scope.customInappbrowser = function() {

    $cordovaInAppBrowser.open('https://www.google.co.in', '_blank', options)
          .then(function(event) {
            // success
          })
          .catch(function(event) {
            // error
          });

       // window.open(v, "_system", "location=yes");
    }
$scope.customInappbrowser();

1条回答
冷血范
2楼-- · 2019-09-11 01:07

You can try following plugin that is already modified. cordova-plugin-themeablebrowser. You can refer its code for reference. Regards.

查看更多
登录 后发表回答