
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@huangang/cordova-plugin-webview-x5
Advanced tools
把Cordova
的WebView
替换为腾讯的X5。使用腾讯浏览服务TBS完整版SDK。
Crosswalk
比较,X5
内核仅增加不到300KB左右的apk
大小。WebView
造成的兼容性问题。cordova plugin add @huangang/cordova-plugin-webview-x5
com.tencent.tbs.tbssdk:sdk:44085
此项目继承自项目:https://github.com/runner525/x5webview-cordova-plugin.git
此项目参照的互联网上若干项目
与本项目有关的问题,如加载后无法正常启动,在本项目Issue区内提交新Issue即可。
X5相关问题,请参阅:X5技术指南
请使用官方TBS Studio测试,如其安装的TBS Demo左上角仍显示Sys core
,证明X5内核可能无法被第三方App调用。请参阅X5技术指南或反馈到X5官方。
不推荐同时使用Crosswalk和x5,可能有潜在的兼容风险。 如果确认要使用,可以在初始化内核之前添加这句:
HashMap map = new HashMap();
map.put(TbsCoreSettings.TBS_SETTINGS_USE_PRIVATE_CLASSLOADER, true);
QbSdk.initTbsSettings(map);
使用独立ClassLoader进行加载
当手机上有宿主(QQ、微信或QQ空间)时,其他AP只要接入了x5的SDK就会去共享宿主的内核,当没有宿主或是宿主都没有可用的内核时会自己去下载内核
官网(https://x5.tencent.com/tbs/)
FAQs
Changes the default WebView to x5
The npm package @huangang/cordova-plugin-webview-x5 receives a total of 9 weekly downloads. As such, @huangang/cordova-plugin-webview-x5 popularity was classified as not popular.
We found that @huangang/cordova-plugin-webview-x5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.