Skip to content

Commit

Permalink
build: upgrade to ZXING 4.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Shandilya <[email protected]>
  • Loading branch information
msfjarvis authored and radcolor committed Mar 9, 2021
1 parent 33432c4 commit 843d0a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
lifecycleRuntimeKtxVersion = '2.3.0'
materialComponentsVersion = '1.3.0'
preferenceVersion = '1.1.1'
zxingEmbeddedVersion = '3.6.0'
zxingEmbeddedVersion = '4.1.0'

groupName = 'com.wireguard.android'
}
Expand Down
5 changes: 4 additions & 1 deletion ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:name="android.software.leanback"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:name="android.hardware.camera.any"
android:required="false" />

<permission
Expand All @@ -29,6 +29,9 @@
android:label="@string/permission_label"
android:protectionLevel="dangerous" />

<!-- This is safe to override, the APIs we use work perfectly fine on Android 6 -->
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />

<application
android:name=".Application"
android:allowBackup="false"
Expand Down

0 comments on commit 843d0a5

Please sign in to comment.