Skip to content

Commit 55aac08

Browse files
committed
feat(assists-web): 添加条形码扫描功能
- 在 AndroidManifest.xml 中添加了 CaptureActivity,用于条形码扫描 - 设置 CaptureActivity 的屏幕方向为竖屏 - 使用 tools:replace 属性以解决可能的合并冲突
1 parent 715efff commit 55aac08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assists-web/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.ven.assists_web">
45

56
<application android:hardwareAccelerated="true">
@@ -13,6 +14,11 @@
1314
android:resource="@xml/assists_web_provider_paths" />
1415
</provider>
1516

17+
<activity
18+
android:name="com.journeyapps.barcodescanner.CaptureActivity"
19+
android:screenOrientation="portrait"
20+
tools:replace="screenOrientation" />
21+
1622
</application>
1723

1824
</manifest>

0 commit comments

Comments
 (0)