Skip to content

Commit

Permalink
Merge branch 'master' of github.com:youlookwhat/ByWebView
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Aug 29, 2022
2 parents 1a3320e + 1f561a8 commit d2765c5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
- 被作为第三方浏览器打开
- **腾讯x5使用示例**

## Document

- [Android 关于WebView全方面的使用(项目应用篇)](http://www.jianshu.com/p/163d39e562f0)
- [Android DeepLink介绍与使用](https://juejin.cn/post/6844903954149539848)
- [Android 应用被作为第三方浏览器打开](https://www.jianshu.com/p/272bfb6c0779)
- [Android WebView与JS交互实例](https://www.jianshu.com/p/97f52819a19d)
- [一款Android WebView进度条显示控件,使其加载进度平滑过渡](https://github.com/youlookwhat/WebProgress)

## 引用
1. Add the JitPack repository to your build file
Expand Down Expand Up @@ -171,14 +178,6 @@ byWebView = ByWebView
.addJavascriptInterface("injectedObject", new MyJavascriptInterface(this)) // 设置Js监听
.loadUrl(mUrl);
```

## Document

- [Android 关于WebView全方面的使用(项目应用篇)](http://www.jianshu.com/p/163d39e562f0)
- [Android DeepLink介绍与使用](https://juejin.cn/post/6844903954149539848)
- [Android 应用被作为第三方浏览器打开](https://www.jianshu.com/p/272bfb6c0779)
- [Android WebView与JS交互实例](https://www.jianshu.com/p/97f52819a19d)
- [一款Android WebView进度条显示控件,使其加载进度平滑过渡](https://github.com/youlookwhat/WebProgress)

## Screenshots

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ dependencies {
})
implementation 'com.google.android.material:material:1.2.1'
testImplementation 'junit:junit:4.12'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
implementation 'androidx.multidex:multidex:2.0.1'
implementation files('libs/tbs_sdk_thirdapp_v4.3.0.253_44153_sharewithdownloadwithfile_withoutGame_obfs_20220117_105333.jar')
implementation files('libs/tbs_sdk_thirdapp_v4.3.0.281_44181_sharewithdownloadwithfile_withoutGame_obfs_20220407_152305.jar')
implementation project(':ByWebView')
// implementation 'com.github.youlookwhat:ByWebView:1.2.0'
}
Binary file not shown.
10 changes: 0 additions & 10 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!--tencent x5添加-->
<!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" />-->
<!-- 硬件加速对X5视频播放非常重要,建议开启 -->
<uses-permission android:name="android.permission.GET_TASKS" />
<!--android 9.0上使用前台服务,需要添加权限 原生WebView未用到,可能x5需要-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<!--录音和拍照 h5开启扫码使用-->
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />


<application
android:name=".App"
Expand Down
Binary file removed app/src/main/jniLibs/armeabi/liblbs.so
Binary file not shown.

0 comments on commit d2765c5

Please sign in to comment.