Skip to content

Commit ab566f3

Browse files
committed
fix android package download issue
1 parent 3994fae commit ab566f3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/android/android-passport-reader/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dependencies {
7373
implementation 'commons-codec:commons-codec:1.13'
7474

7575
//Camera
76-
implementation 'io.fotoapparat:fotoapparat:2.7.0'
76+
implementation "com.github.RedApparat:Fotoapparat:2.7.0"
7777

7878
implementation 'androidx.multidex:multidex:2.0.1'
7979

app/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ dependencies {
155155
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-common:19.1.0'
156156
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
157157
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
158-
implementation 'io.fotoapparat:fotoapparat:2.7.0'
158+
implementation "com.github.RedApparat:Fotoapparat:2.7.0"
159159

160160
implementation "androidx.concurrent:concurrent-futures:1.1.0"
161161
implementation "com.google.guava:guava:31.1-android"

app/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ allprojects {
3636
}
3737
configurations.configureEach {
3838
resolutionStrategy.dependencySubstitution {
39-
substitute(platform(module('com.gemalto.jp2:jp2-android'))) using module('com.github.Tgo1014:JP2ForAndroid:1.0.4')
39+
substitute(platform(module('com.gemalto.jp2:jp2-android'))) using module('com.github.Tgo1014:JP2ForAndroid:1.0.4')
40+
substitute module('io.fotoapparat:fotoapparat') using module('com.github.RedApparat:Fotoapparat:2.7.0')
4041
}
4142
resolutionStrategy.force 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
4243
}

0 commit comments

Comments
 (0)