fix(android): update cryptography version to 46.0.7 and adjust WebView settings for media playback

This commit is contained in:
Ivan
2026-04-16 03:37:19 -05:00
parent dc475a0e90
commit 81dea45d34
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ chaquopy {
install "websockets>=15.0.1"
install "bcrypt==3.1.7"
install "aiohttp-session>=2.12.1,<3.0.0"
install "cryptography==42.0.8"
install "cryptography==46.0.7"
install "pycparser>=3.0"
install "pyserial>=3.5"
install "jaraco.context>=6.1.1"
@@ -115,6 +115,7 @@ public class MainActivity extends AppCompatActivity {
webSettings.setAllowFileAccess(true);
webSettings.setAllowContentAccess(true);
webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
webSettings.setMediaPlaybackRequiresUserGesture(false);
webView.setWebViewClient(new WebViewClient() {
@Override
@@ -0,0 +1,9 @@
package:
name: cryptography
version: "46.0.7"
requirements:
build:
- rust
host:
- openssl