| | |
| | | |
| | | mPermissionsChecker = new PermissionHelper(this, this); |
| | | // webview.loadUrl("http://mp.weixin.qq.com/s/mu3lJ1DYEc0MxgnMHArHYA"); |
| | | // String url = "http://192.168.1.122:8848/test/WKWebView.html"; |
| | | //url = "https://amcn.bytedance.com/ug/armor/623040fd8df75a02420060e1?show_loading=1&pull_down_close=0&enter_from=UG_CF_CSJ_2022&ug_feed_type=1&ug_app=0&plan_id=7106425777876369677&ug_app=0&page_id=F618&ecom_pid=dy_107062945313497465096_11642_3276765365"; |
| | | if (!StringUtils.isEmpty(url)) { |
| | | getWebConfig(url); |
| | | } |
| | |
| | | @Override |
| | | public void onResume() { |
| | | super.onResume(); |
| | | MobclickAgent.onPageStart("网页"); |
| | | if (webview != null) { |
| | | webview.onResume(); |
| | | webview.loadUrl("javascript:yestvcallback.resume()"); |
| | |
| | | @Override |
| | | public void onPause() { |
| | | super.onPause(); |
| | | MobclickAgent.onPageEnd("网页"); |
| | | if (webview != null) { |
| | | webview.onPause(); |
| | | } |