Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Julian Steenbakker
2022-08-23 15:58:31 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
888abd369fb1ea9cb947c2974dc5ffff68065ea3
888abd36
1 parent
eff29e08
bug: fix unstable camera2 dependency
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
17 deletions
android/build.gradle
example/android/app/build.gradle
example/android/gradle/wrapper/gradle-wrapper.properties
android/build.gradle
View file @
888abd3
...
...
@@ -24,7 +24,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
android
{
compileSdkVersion
3
2
compileSdkVersion
3
3
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
...
...
@@ -52,16 +52,6 @@ dependencies {
// Use this dependency to use the dynamically downloaded model in Google Play Services
// implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.0.0'
implementation
"androidx.camera:camera-camera2:1.2.0-alpha04"
implementation
'androidx.camera:camera-lifecycle:1.2.0-alpha04'
// // The following line is optional, as the core library is included indirectly by camera-camera2
// implementation "androidx.camera:camera-core:1.1.0-alpha11"
// implementation "androidx.camera:camera-camera2:1.1.0-alpha11"
// // If you want to additionally use the CameraX Lifecycle library
// implementation "androidx.camera:camera-lifecycle:1.1.0-alpha11"
// // If you want to additionally use the CameraX View class
// implementation "androidx.camera:camera-view:1.0.0-alpha31"
// // If you want to additionally use the CameraX Extensions library
// implementation "androidx.camera:camera-extensions:1.0.0-alpha31"
implementation
'androidx.camera:camera-camera2:1.1.0'
implementation
'androidx.camera:camera-lifecycle:1.1.0'
}
...
...
example/android/app/build.gradle
View file @
888abd3
...
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
3
2
compileSdkVersion
3
3
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
...
...
@@ -45,7 +45,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"dev.steenbakker.mobile_scanner_example"
minSdkVersion
21
targetSdkVersion
3
2
targetSdkVersion
3
3
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
example/android/gradle/wrapper/gradle-wrapper.properties
View file @
888abd3
#Tue
May 31 10:34:01
CEST 2022
#Tue
Aug 23 15:51:00
CEST 2022
distributionBase
=
GRADLE_USER_HOME
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-7.
4.2
-bin.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-7.
5.1
-bin.zip
distributionPath
=
wrapper/dists
zipStorePath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
...
...
Please
register
or
login
to post a comment