File tree Expand file tree Collapse file tree
src/main/java/me/devilsen/czxing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ C++ port of ZXing for Android
99### 使用
1010在gradle中:
1111``` groovy
12- implementation 'me.devilsen:CZXing:0.9.1 '
12+ implementation 'me.devilsen:CZXing:0.9.2 '
1313```
1414建议加入abiFilters
1515``` gradle
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ android {
66 defaultConfig {
77 minSdkVersion rootProject. ext. minSdkVersion
88 targetSdkVersion rootProject. ext. targetSdkVersion
9- versionCode 16
10- versionName " 0.9.1 "
9+ versionCode 17
10+ versionName " 0.9.2 "
1111
1212 externalNativeBuild {
1313 cmake {
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ protected void onDestroy() {
129129 mScanView .onDestroy (); // 销毁二维码扫描控件
130130 mSoundPoolUtil .release ();
131131 super .onDestroy ();
132+ ScanActivityDelegate .getInstance ().setScanResultDelegate (null );
133+ ScanActivityDelegate .getInstance ().setOnClickAlbumDelegate (null );
132134 }
133135
134136 @ Override
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ android {
4747
4848dependencies {
4949
50- // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-3'
50+ debugImplementation ' com.squareup.leakcanary:leakcanary-android:2.0-beta-3'
5151// implementation project(':czxing')
52- implementation ' me.devilsen:CZXing:0.9.1 '
52+ implementation ' me.devilsen:CZXing:0.9.2 '
5353
5454 implementation rootProject. ext. appcompat
5555 testImplementation rootProject. ext. junit
You can’t perform that action at this time.
0 commit comments