How to Create Custom Inapp Browser?

限于喜欢 提交于 2019-12-12 04:28:04

问题


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:


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



来源:https://stackoverflow.com/questions/38349644/how-to-create-custom-inapp-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!