Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use react-native-fast-image for stickers #12769

Closed
wants to merge 0 commits into from

Conversation

flexsurfer
Copy link
Member

use react-native-fast-image for stickers

@status-im-auto
Copy link
Member

status-im-auto commented Oct 29, 2021

Jenkins Builds

Click to see older builds (71)
Commit #️⃣ Finished (UTC) Duration Platform Result
e3566df #1 2021-10-29 12:16:30 ~6 min android 📄log
e3566df #1 2021-10-29 12:16:34 ~6 min android-e2e 📄log
✔️ e3566df #1 2021-10-29 12:30:10 ~19 min ios 📦ipa 📲
343adf9 #2 2021-10-29 12:30:45 ~5 min android-e2e 📄log
343adf9 #2 2021-10-29 12:30:46 ~5 min android 📄log
✔️ 343adf9 #2 2021-10-29 12:40:58 ~15 min ios 📦ipa 📲
9c72c4d #3 2021-11-01 09:06:34 ~9 min android-e2e 📄log
9c72c4d #3 2021-11-01 09:06:35 ~9 min android 📄log
✔️ 9c72c4d #3 2021-11-01 09:11:26 ~14 min ios 📦ipa 📲
d86849c #4 2021-11-01 09:21:14 ~5 min android-e2e 📄log
d86849c #4 2021-11-01 09:21:16 ~5 min android 📄log
✔️ d86849c #4 2021-11-01 09:31:00 ~15 min ios 📦ipa 📲
438aa96 #5 2021-11-01 09:44:49 ~5 min android-e2e 📄log
438aa96 #5 2021-11-01 09:44:56 ~5 min android 📄log
✔️ 438aa96 #5 2021-11-01 09:55:00 ~15 min ios 📦ipa 📲
4e9412e #6 2021-11-01 10:11:51 ~4 min android-e2e 📄log
4e9412e #6 2021-11-01 10:12:57 ~5 min android 📄log
✔️ 4e9412e #6 2021-11-01 10:22:47 ~15 min ios 📦ipa 📲
b3b7c7b #7 2021-11-01 10:35:02 ~5 min android-e2e 📄log
b3b7c7b #7 2021-11-01 10:35:05 ~5 min android 📄log
✔️ b3b7c7b #7 2021-11-01 10:43:04 ~13 min ios 📦ipa 📲
✔️ abe0375 #8 2021-11-04 17:53:35 ~12 min android 📦apk 📲
✔️ abe0375 #8 2021-11-04 17:54:03 ~12 min android-e2e 📦apk 📲
✔️ abe0375 #8 2021-11-04 17:58:08 ~16 min ios 📦ipa 📲
745ee42 #9 2021-11-04 18:21:31 ~6 min android 📄log
745ee42 #9 2021-11-04 18:21:33 ~6 min android-e2e 📄log
✔️ 745ee42 #9 2021-11-04 18:31:13 ~16 min ios 📦ipa 📲
0416f00 #10 2021-11-04 19:01:19 ~4 min android 📄log
0416f00 #10 2021-11-04 19:02:41 ~5 min android-e2e 📄log
0416f00 #10 2021-11-04 19:03:20 ~6 min ios 📄log
ae8386b #11 2021-11-04 19:30:18 ~4 min ios 📄log
✔️ ae8386b #11 2021-11-04 19:41:26 ~15 min android-e2e 📦apk 📲
✔️ ae8386b #11 2021-11-04 19:41:31 ~15 min android 📦apk 📲
ae8386b #12 2021-11-05 09:37:52 ~4 min ios 📄log
✔️ ae8386b #12 2021-11-05 09:48:57 ~15 min android-e2e 📦apk 📲
✔️ ae8386b #12 2021-11-05 09:49:00 ~15 min android 📦apk 📲
0d107f2 #13 2021-11-05 09:51:33 ~3 min android 📄log
0d107f2 #13 2021-11-05 09:52:31 ~4 min ios 📄log
0d107f2 #13 2021-11-05 09:53:00 ~4 min android-e2e 📄log
59c720d #14 2021-11-05 12:07:36 ~4 min android-e2e 📄log
59c720d #14 2021-11-05 12:07:38 ~4 min android 📄log
59c720d #14 2021-11-05 12:08:01 ~4 min ios 📄log
e4ebff4 #15 2021-11-08 08:09:51 ~4 min ios 📄log
✔️ e4ebff4 #15 2021-11-08 08:21:48 ~16 min android 📦apk 📲
✔️ e4ebff4 #15 2021-11-08 08:21:48 ~16 min android-e2e 📦apk 📲
98fa44f #16 2021-11-08 10:24:43 ~5 min ios 📄log
✔️ 98fa44f #16 2021-11-08 10:31:54 ~13 min android 📦apk 📲
✔️ 98fa44f #16 2021-11-08 10:32:08 ~13 min android-e2e 📦apk 📲
✔️ b0e623a #17 2021-11-08 11:15:40 ~14 min android-e2e 📦apk 📲
✔️ b0e623a #17 2021-11-08 11:16:45 ~15 min android 📦apk 📲
✔️ b0e623a #17 2021-11-08 11:20:27 ~19 min ios 📦ipa 📲
3a53cbc #18 2021-11-12 11:25:53 ~7 min ios 📄log
✔️ 3a53cbc #18 2021-11-12 11:35:20 ~16 min android-e2e 📦apk 📲
✔️ 3a53cbc #18 2021-11-12 11:35:39 ~17 min android 📦apk 📲
✔️ 3a53cbc #19 2021-11-14 11:48:53 ~13 min ios 📦ipa 📲
✔️ 4935bb1 #19 2021-11-16 08:36:39 ~12 min android 📦apk 📲
✔️ 4935bb1 #19 2021-11-16 08:42:00 ~18 min android-e2e 📦apk 📲
✔️ 4935bb1 #20 2021-11-16 08:44:14 ~20 min ios 📦ipa 📲
✔️ d4f319e #20 2021-11-16 10:42:56 ~12 min android-e2e 📦apk 📲
✔️ d4f319e #20 2021-11-16 10:44:40 ~14 min android 📦apk 📲
✔️ d4f319e #21 2021-11-16 10:48:18 ~17 min ios 📦ipa 📲
✔️ 3dd0892 #21 2021-11-16 12:15:45 ~13 min android 📦apk 📲
✔️ 3dd0892 #21 2021-11-16 12:25:56 ~23 min android-e2e 📦apk 📲
3dd0892 #22 2021-11-16 12:27:54 ~25 min ios 📄log
3dd0892 #23 2021-11-16 12:44:19 ~6 min ios 📄log
08fd9ba #24 2021-11-16 13:19:58 ~4 min ios 📄log
✔️ 08fd9ba #22 2021-11-16 13:29:39 ~14 min android 📦apk 📲
✔️ 08fd9ba #22 2021-11-16 13:29:43 ~14 min android-e2e 📦apk 📲
✔️ 6394cdb #23 2021-11-16 13:53:56 ~11 min android-e2e 📦apk 📲
✔️ 6394cdb #25 2021-11-16 13:56:15 ~13 min ios 📦ipa 📲
✔️ 6394cdb #23 2021-11-16 13:58:38 ~16 min android 📦apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 38a713c #24 2021-11-16 14:01:45 ~14 min android 📦apk 📲
✔️ 38a713c #24 2021-11-16 14:02:11 ~14 min android-e2e 📦apk 📲
✔️ 38a713c #26 2021-11-16 14:02:59 ~15 min ios 📦ipa 📲
✔️ cdb3950 #27 2021-11-16 14:26:51 ~16 min ios 📦ipa 📲
✔️ cdb3950 #25 2021-11-16 14:27:41 ~16 min android 📦apk 📲
✔️ cdb3950 #25 2021-11-16 14:27:42 ~17 min android-e2e 📦apk 📲

Copy link

@justjapann justjapann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try use <FastImage
source={{
uri: 'you url',
headers: { Authorization: 'someAuthToken' },
}}
/>

@shivekkhurana
Copy link
Contributor

Do you think it makes sense to use fast-image everywhere?

bitmoji

@flexsurfer
Copy link
Member Author

first, i need to build it and test on Android, before it didn't work, then we'll see

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

The error is:

/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:8: error: package com.bumptech.glide.annotation does not exist
import com.bumptech.glide.annotation.GlideModule;
                                    ^
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:32: error: cannot find symbol
@GlideModule
 ^
  symbol: class GlideModul

And we can see the com.github.bumptech.glide:annotations module is included in Gradle dependencies:

 > ag com.github.bumptech.glide:annotation 
nix/deps/gradle/deps.list
337:com.github.bumptech.glide:annotations:4.12.0

But we can also see that the error mentions com.bumptech.glide.annotation, and not com.github.bumptech.glide:annotations.

Notice the addition of github and the plural form of annotation.

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

Apparently the path uses annotation while the ID is annotations:

POM_ARTIFACT_ID=annotations

https://github.com/bumptech/glide/blob/master/annotation/gradle.properties#L2

Very messy.

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

If we look at their Gradle wrapper properties they are using Gradle 4.10.1 to build 4.12.0:

distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

https://github.com/bumptech/glide/blob/v4.12.0/gradle/wrapper/gradle-wrapper.properties#L6

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

The contents of the JAR appear to have what the error is mentioning: com.bumptech.glide.annotation.GlideModule

 > jar tf /nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar 
META-INF/
META-INF/MANIFEST.MF
com/
com/bumptech/
com/bumptech/glide/
com/bumptech/glide/annotation/
com/bumptech/glide/annotation/GlideExtension.class
com/bumptech/glide/annotation/GlideOption.class
com/bumptech/glide/annotation/GlideType.class
com/bumptech/glide/annotation/GlideModule.class
com/bumptech/glide/annotation/Excludes.class
com/bumptech/glide/annotation/compiler/
com/bumptech/glide/annotation/compiler/Index.class

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

The Gradle tools version used by react-native-fast-image is compatible with our Gradle:

            classpath 'com.android.tools.build:gradle:3.5.3'

https://github.com/DylanVann/react-native-fast-image/blob/v8.5.11/android/build.gradle#L15

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

The class files definitely contain what is required:

 > unzip /nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar

 > javap -p ./com/bumptech/glide/annotation/GlideModule.class                                                                                      
Compiled from "GlideModule.java"
public interface com.bumptech.glide.annotation.GlideModule extends java.lang.annotation.Annotation {
  public abstract java.lang.String glideName();
}

What the fuck is this?

@jakubgs
Copy link
Member

jakubgs commented Nov 2, 2021

If I run Gradle with --debug I can see the paths used:

10:18:02.741 [DEBUG] [org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler] Compiler arguments: -source 1.7 -target 1.7 -d /build/node_modules/react-native-fast-image/android/build/intermediates/javac/release/classes -encoding UTF-8 -bootclasspath /nix/store/b36sawh7ksaq55cq52fhy5px8ir72gra-androidsdk-mod-sdk/platforms/android-30/android.jar -g -sourcepath  -processorpath /nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar -s /build/node_modules/react-native-fast-image/android/build/generated/ap_generated_sources/release/out -XDuseUnsharedTable=true -classpath /build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/406b957617fac5bc3968a4fdfd318cff/jetified-react-native-0.63.4-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/okhttp3-integration/4.12.0/okhttp3-integration-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/infer/annotation/infer-annotation/0.11.2/infer-annotation-0.11.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/javax/inject/javax.inject/1/javax.inject-1.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/ac96f13c1d6b3201941b526b03f95001/appcompat-1.0.2-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/d5023d0a355e963d986891e69aa4c1d5/fragment-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/e82b5274791941e8c5282ad169deb5ad/vectordrawable-animated-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/40e5b6e9cc698ca60b30e1daf1af8e8c/legacy-support-core-ui-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/f99382d2d241baa477c8b2af4f1cb450/swiperefreshlayout-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/7544f3b79f887993819d03e427debb4f/legacy-support-core-utils-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/899a47339e6e3b83d10a80aade2664e5/vectordrawable-1.0.1-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/71aa4158d7995a35b5edb1b0f0de02f9/loader-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/7c6ec2932e93b660c1a888fb3838854a/viewpager-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/9011184677e96b5f555f8a44ff71f5d7/coordinatorlayout-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/0eb3d10d3afdc845ea3c6efd195df1a7/drawerlayout-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/f5cedf641a563cefda2535d34b0090b0/slidingpanelayout-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/02d62ddd2538aa94e810078c7907fdca/customview-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/58483e41de5ef771da037f4a94882ab4/asynclayoutinflater-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/f767ac3ec1c6803cdafa6a8be2796252/core-1.0.1-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/76262ed5ccb14334e6689dc6682918c6/versionedparcelable-1.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/collection/collection/1.0.0/collection-1.0.0.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/46e710b2d01afa262e3d9c0e6fd304b1/cursoradapter-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/6a1dc7f8afc0e926158680484174737c/interpolator-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/10c3f6ec0c6f8c86ec829f8e2a79ed45/lifecycle-runtime-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/4158195cce70e46c2776dd659bb45d17/documentfile-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/b335028dc3f7c6dbfd257f11b38cb7f7/localbroadcastmanager-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/d5f5e7ab474d0c933b63ad358b9c2fea/print-1.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/f7ec0dd8f964886d74c5c58450e9e8f4/lifecycle-viewmodel-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/203b70d623eac66ad56b9353e476ee20/lifecycle-livedata-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/6c7f228808742457ee6aa50ca0d1d831/lifecycle-livedata-core-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/lifecycle/lifecycle-common/2.0.0/lifecycle-common-2.0.0.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/3c1604c471424c396bf4cd133668f1ae/core-runtime-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/arch/core/core-common/2.0.0/core-common-2.0.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/annotation/annotation/1.0.0/annotation-1.0.0.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/4ad733edfc8fc65899795cdb7fe6aad3/fresco-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/cc76ba129ba825e799ff972e25e8473c/jetified-fbcore-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/67452b509981aa1e1be9f45edf5cb08a/drawee-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/2e8fab79df75e2d64af4ee43281f982b/imagepipeline-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/f4b06160d75bdf7759742fd201f4b531/imagepipeline-base-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/9e84b3e82c9f19233eb9a095b1b9e812/soloader-0.9.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/annotation/0.9.0/annotation-0.9.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/nativeloader/0.9.0/nativeloader-0.9.0.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/8a0171500056b7f17f069987c38b6746/nativeimagefilters-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/53f2bb4d9e3c666b68890b34dc843b79/nativeimagetranscoder-2.0.0-api.jar:/build/tmp.R6SChztUCO/caches/transforms-2/files-2.1/068cb46e6ca8fcb031ee4744abbee622/imagepipeline-okhttp3-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp-urlconnection/3.12.12/okhttp-urlconnection-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp/3.12.12/okhttp-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okio/okio/1.15.0/okio-1.15.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.jar:/build/node_modules/react-native-fast-image/android/build/intermediates/compile_only_not_namespaced_r_class_jar/release/R.jar /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageRequestListener.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewWithUrl.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageCacheControl.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageSource.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageProgressListener.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewConverter.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewModule.java /build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewPackage.java /build/node_modules/react-native-fast-image/android/build/generated/source/buildConfig/release/com/dylanvann/fastimage/BuildConfig.java

And we can clearly see the module is in there:

/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

I ran Gradle through strace -f -o strace.log -e open,stat,access and found that it does find the annotations JAR:

170   access("/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar", R_OK) = 0
172   access("/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar", R_OK) = 0
171   access("/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar", R_OK) = 0

So what the fuck?

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

As far as I can tell Gradle does not get any ENOENT errors for any JARs or POMs it's searching for:

 > grep NOENT ./result/strace.log | grep -iE '(jar|pom)' 

So it seems to me like the issue is somewhere internally in how Gradle resolves Java classes.

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

One interesting thing I've noticed. If excludeAppGlideModule = false is set the error is:

> Task :react-native-fast-image:compileReleaseJavaWithJavac FAILED
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:8: error: package com.bumptech.glide.annotation does not exist
import com.bumptech.glide.annotation.GlideModule;
                                    ^
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:32: error: cannot find symbol
@GlideModule
 ^
  symbol: class GlideModule
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageGlideModule.java:3: error: package com.bumptech.glide.annotation does not exist
import com.bumptech.glide.annotation.GlideModule;
                                    ^
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageGlideModule.java:7: error: cannot find symbol
@GlideModule
 ^
  symbol: class GlideModule
4 errors

But if excludeAppGlideModule = true is set then instead we get:

> Task :react-native-fast-image:compileReleaseJavaWithJavac FAILED
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:8: error: package com.bumptech.glide.annotation does not exist
import com.bumptech.glide.annotation.GlideModule;
                                    ^
/build/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:32: error: cannot find symbol
@GlideModule
 ^
  symbol: class GlideModule
2 errors

Which is interesting...

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

My best guess is that this indeed is an issue with ProGuard, but I'll have to read up on that.

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

But if I set in android/app/build.gradle:

            minifyEnabled false
            useProguard false

Then the build fails the same way.

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

Oh, but I found something relevant in the logs:

WARNING: DSL element 'useProguard' is obsolete and will be removed soon. Use 'android.enableR8' in gradle.properties to switch between R8 and Proguard..

Lets try android.enableR8 then.

@jakubgs
Copy link
Member

jakubgs commented Nov 3, 2021

Help, I tied all possible ways, including setting the contents of android/app/proguard-rules.pro to:

-dontoptimize
-dontshrink
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose

But it still fails. So I'm starting to think it must be something else.

@jakubgs
Copy link
Member

jakubgs commented Nov 4, 2021

One thing I noticed after looking at the javac compiler flags is that the annotations JAR is provided to the -processorpath flag rather than to the -classpath one:

-processorpath /nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar
-classpath ./tmp.9U05mpx0Po/caches/transforms-2/files-2.1/9e03fcfdddef7b90d3a2f1d397566ecb/jetified-react-native-0.63.4-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/github/bumptech/glide/okhttp3-integration/4.12.0/okhttp3-integration-4.12.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/facebook/infer/annotation/infer-annotation/0.11.2/infer-annotation-0.11.2.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/javax/inject/javax.inject/1/javax.inject-1.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/ac96f13c1d6b3201941b526b03f95001/appcompat-1.0.2-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/d5023d0a355e963d986891e69aa4c1d5/fragment-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/e82b5274791941e8c5282ad169deb5ad/vectordrawable-animated-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/40e5b6e9cc698ca60b30e1daf1af8e8c/legacy-support-core-ui-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/f99382d2d241baa477c8b2af4f1cb450/swiperefreshlayout-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/7544f3b79f887993819d03e427debb4f/legacy-support-core-utils-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/899a47339e6e3b83d10a80aade2664e5/vectordrawable-1.0.1-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/71aa4158d7995a35b5edb1b0f0de02f9/loader-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/7c6ec2932e93b660c1a888fb3838854a/viewpager-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/9011184677e96b5f555f8a44ff71f5d7/coordinatorlayout-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/0eb3d10d3afdc845ea3c6efd195df1a7/drawerlayout-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/f5cedf641a563cefda2535d34b0090b0/slidingpanelayout-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/02d62ddd2538aa94e810078c7907fdca/customview-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/58483e41de5ef771da037f4a94882ab4/asynclayoutinflater-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/f767ac3ec1c6803cdafa6a8be2796252/core-1.0.1-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/76262ed5ccb14334e6689dc6682918c6/versionedparcelable-1.0.0-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/androidx/collection/collection/1.0.0/collection-1.0.0.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/46e710b2d01afa262e3d9c0e6fd304b1/cursoradapter-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/6a1dc7f8afc0e926158680484174737c/interpolator-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/10c3f6ec0c6f8c86ec829f8e2a79ed45/lifecycle-runtime-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/4158195cce70e46c2776dd659bb45d17/documentfile-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/b335028dc3f7c6dbfd257f11b38cb7f7/localbroadcastmanager-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/d5f5e7ab474d0c933b63ad358b9c2fea/print-1.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/f7ec0dd8f964886d74c5c58450e9e8f4/lifecycle-viewmodel-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/203b70d623eac66ad56b9353e476ee20/lifecycle-livedata-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/6c7f228808742457ee6aa50ca0d1d831/lifecycle-livedata-core-2.0.0-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/androidx/lifecycle/lifecycle-common/2.0.0/lifecycle-common-2.0.0.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/3c1604c471424c396bf4cd133668f1ae/core-runtime-2.0.0-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/androidx/arch/core/core-common/2.0.0/core-common-2.0.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/androidx/annotation/annotation/1.0.0/annotation-1.0.0.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/4ad733edfc8fc65899795cdb7fe6aad3/fresco-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/eb99b7a34a5bd97dcdace07382449c36/jetified-fbcore-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/67452b509981aa1e1be9f45edf5cb08a/drawee-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/2e8fab79df75e2d64af4ee43281f982b/imagepipeline-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/f4b06160d75bdf7759742fd201f4b531/imagepipeline-base-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/9e84b3e82c9f19233eb9a095b1b9e812/soloader-0.9.0-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/facebook/soloader/annotation/0.9.0/annotation-0.9.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/facebook/soloader/nativeloader/0.9.0/nativeloader-0.9.0.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/8a0171500056b7f17f069987c38b6746/nativeimagefilters-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/53f2bb4d9e3c666b68890b34dc843b79/nativeimagetranscoder-2.0.0-api.jar:/build/tmp.9U05mpx0Po/caches/transforms-2/files-2.1/068cb46e6ca8fcb031ee4744abbee622/imagepipeline-okhttp3-2.0.0-api.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/squareup/okhttp3/okhttp-urlconnection/3.12.12/okhttp-urlconnection-3.12.12.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/squareup/okhttp3/okhttp/3.12.12/okhttp-3.12.12.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/squareup/okio/okio/1.15.0/okio-1.15.0.jar:/nix/store/sw2ijki2azf0inaq56lvdzx135jsy71a-status-react-maven-deps/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.jar:/build/node_modules/react-native-fast-image/android/build/intermediates/compile_only_not_namespaced_r_class_jar/release/R.jar

Which doesn't look right.

@jakubgs
Copy link
Member

jakubgs commented Nov 4, 2021

I've identified what's wrong by using nix-shell instead of nix-build to interactively run genericBuild in the shell and then be able to run javac command with the flags that Gradle tried to use:

[nix-shell:/tmp/status]$ javac -source 1.7 -target 1.7 -d /tmp/status/node_modules/react-native-fast-image/android/build/intermediates/javac/release/classes -encoding UTF-8 -bootclasspath /nix/store/b36sawh7ksaq55cq52fhy5px8ir72gra-androidsdk-mod-sdk/platforms/android-30/android.jar -g -sourcepath '' -processorpath /nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar -s /tmp/status/node_modules/react-native-fast-image/android/build/generated/ap_generated_sources/release/out -XDuseUnsharedTable=true -classpath /run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/1e75a64a191db09e1a8f30783a04e76c/jetified-react-native-0.63.4-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/okhttp3-integration/4.12.0/okhttp3-integration-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/infer/annotation/infer-annotation/0.11.2/infer-annotation-0.11.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/javax/inject/javax.inject/1/javax.inject-1.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/ac96f13c1d6b3201941b526b03f95001/appcompat-1.0.2-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/d5023d0a355e963d986891e69aa4c1d5/fragment-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/e82b5274791941e8c5282ad169deb5ad/vectordrawable-animated-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/40e5b6e9cc698ca60b30e1daf1af8e8c/legacy-support-core-ui-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f99382d2d241baa477c8b2af4f1cb450/swiperefreshlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/7544f3b79f887993819d03e427debb4f/legacy-support-core-utils-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/899a47339e6e3b83d10a80aade2664e5/vectordrawable-1.0.1-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/71aa4158d7995a35b5edb1b0f0de02f9/loader-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/7c6ec2932e93b660c1a888fb3838854a/viewpager-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/9011184677e96b5f555f8a44ff71f5d7/coordinatorlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/0eb3d10d3afdc845ea3c6efd195df1a7/drawerlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f5cedf641a563cefda2535d34b0090b0/slidingpanelayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/02d62ddd2538aa94e810078c7907fdca/customview-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/58483e41de5ef771da037f4a94882ab4/asynclayoutinflater-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f767ac3ec1c6803cdafa6a8be2796252/core-1.0.1-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/76262ed5ccb14334e6689dc6682918c6/versionedparcelable-1.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/collection/collection/1.0.0/collection-1.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/46e710b2d01afa262e3d9c0e6fd304b1/cursoradapter-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/6a1dc7f8afc0e926158680484174737c/interpolator-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/10c3f6ec0c6f8c86ec829f8e2a79ed45/lifecycle-runtime-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/4158195cce70e46c2776dd659bb45d17/documentfile-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/b335028dc3f7c6dbfd257f11b38cb7f7/localbroadcastmanager-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/d5f5e7ab474d0c933b63ad358b9c2fea/print-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f7ec0dd8f964886d74c5c58450e9e8f4/lifecycle-viewmodel-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/203b70d623eac66ad56b9353e476ee20/lifecycle-livedata-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/6c7f228808742457ee6aa50ca0d1d831/lifecycle-livedata-core-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/lifecycle/lifecycle-common/2.0.0/lifecycle-common-2.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/3c1604c471424c396bf4cd133668f1ae/core-runtime-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/arch/core/core-common/2.0.0/core-common-2.0.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/annotation/annotation/1.0.0/annotation-1.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/4ad733edfc8fc65899795cdb7fe6aad3/fresco-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/32e588cfd99fe81e279be76ed2ca32f5/jetified-fbcore-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/67452b509981aa1e1be9f45edf5cb08a/drawee-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/2e8fab79df75e2d64af4ee43281f982b/imagepipeline-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f4b06160d75bdf7759742fd201f4b531/imagepipeline-base-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/9e84b3e82c9f19233eb9a095b1b9e812/soloader-0.9.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/annotation/0.9.0/annotation-0.9.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/nativeloader/0.9.0/nativeloader-0.9.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/8a0171500056b7f17f069987c38b6746/nativeimagefilters-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/53f2bb4d9e3c666b68890b34dc843b79/nativeimagetranscoder-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/068cb46e6ca8fcb031ee4744abbee622/imagepipeline-okhttp3-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp-urlconnection/3.12.12/okhttp-urlconnection-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp/3.12.12/okhttp-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okio/okio/1.15.0/okio-1.15.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.jar:/tmp/status/node_modules/react-native-fast-image/android/build/intermediates/compile_only_not_namespaced_r_class_jar/release/R.jar /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageRequestListener.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageCacheControl.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewPackage.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewModule.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewWithUrl.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageSource.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewConverter.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageProgressListener.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java /tmp/status/node_modules/react-native-fast-image/android/build/generated/source/buildConfig/release/com/dylanvann/fastimage/BuildConfig.java

/tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:8: error: package com.bumptech.glide.annotation does not exist
import com.bumptech.glide.annotation.GlideModule;
                                    ^
/tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java:32: error: cannot find symbol
@GlideModule
 ^
  symbol: class GlideModule
2 errors

And as we can see I could reproduce the error. But here's what worked:

[nix-shell:/tmp/status]$ javac -source 1.7 -target 1.7 -d /tmp/status/node_modules/react-native-fast-image/android/build/intermediates/javac/release/classes -encoding UTF-8 -bootclasspath /nix/store/b36sawh7ksaq55cq52fhy5px8ir72gra-androidsdk-mod-sdk/platforms/android-30/android.jar -g -sourcepath '' -processorpath /nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar -s /tmp/status/node_modules/react-native-fast-image/android/build/generated/ap_generated_sources/release/out -XDuseUnsharedTable=true -classpath /run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/1e75a64a191db09e1a8f30783a04e76c/jetified-react-native-0.63.4-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/okhttp3-integration/4.12.0/okhttp3-integration-4.12.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/infer/annotation/infer-annotation/0.11.2/infer-annotation-0.11.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/javax/inject/javax.inject/1/javax.inject-1.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/ac96f13c1d6b3201941b526b03f95001/appcompat-1.0.2-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/d5023d0a355e963d986891e69aa4c1d5/fragment-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/e82b5274791941e8c5282ad169deb5ad/vectordrawable-animated-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/40e5b6e9cc698ca60b30e1daf1af8e8c/legacy-support-core-ui-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f99382d2d241baa477c8b2af4f1cb450/swiperefreshlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/7544f3b79f887993819d03e427debb4f/legacy-support-core-utils-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/899a47339e6e3b83d10a80aade2664e5/vectordrawable-1.0.1-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/71aa4158d7995a35b5edb1b0f0de02f9/loader-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/7c6ec2932e93b660c1a888fb3838854a/viewpager-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/9011184677e96b5f555f8a44ff71f5d7/coordinatorlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/0eb3d10d3afdc845ea3c6efd195df1a7/drawerlayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f5cedf641a563cefda2535d34b0090b0/slidingpanelayout-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/02d62ddd2538aa94e810078c7907fdca/customview-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/58483e41de5ef771da037f4a94882ab4/asynclayoutinflater-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f767ac3ec1c6803cdafa6a8be2796252/core-1.0.1-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/76262ed5ccb14334e6689dc6682918c6/versionedparcelable-1.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/collection/collection/1.0.0/collection-1.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/46e710b2d01afa262e3d9c0e6fd304b1/cursoradapter-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/6a1dc7f8afc0e926158680484174737c/interpolator-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/10c3f6ec0c6f8c86ec829f8e2a79ed45/lifecycle-runtime-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/4158195cce70e46c2776dd659bb45d17/documentfile-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/b335028dc3f7c6dbfd257f11b38cb7f7/localbroadcastmanager-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/d5f5e7ab474d0c933b63ad358b9c2fea/print-1.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f7ec0dd8f964886d74c5c58450e9e8f4/lifecycle-viewmodel-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/203b70d623eac66ad56b9353e476ee20/lifecycle-livedata-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/6c7f228808742457ee6aa50ca0d1d831/lifecycle-livedata-core-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/lifecycle/lifecycle-common/2.0.0/lifecycle-common-2.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/3c1604c471424c396bf4cd133668f1ae/core-runtime-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/arch/core/core-common/2.0.0/core-common-2.0.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/androidx/annotation/annotation/1.0.0/annotation-1.0.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/4ad733edfc8fc65899795cdb7fe6aad3/fresco-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/32e588cfd99fe81e279be76ed2ca32f5/jetified-fbcore-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/67452b509981aa1e1be9f45edf5cb08a/drawee-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/2e8fab79df75e2d64af4ee43281f982b/imagepipeline-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/f4b06160d75bdf7759742fd201f4b531/imagepipeline-base-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/9e84b3e82c9f19233eb9a095b1b9e812/soloader-0.9.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/annotation/0.9.0/annotation-0.9.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/soloader/nativeloader/0.9.0/nativeloader-0.9.0.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/8a0171500056b7f17f069987c38b6746/nativeimagefilters-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/53f2bb4d9e3c666b68890b34dc843b79/nativeimagetranscoder-2.0.0-api.jar:/run/user/1000/tmp.NhnslRScb7/caches/transforms-2/files-2.1/068cb46e6ca8fcb031ee4744abbee622/imagepipeline-okhttp3-2.0.0-api.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp-urlconnection/3.12.12/okhttp-urlconnection-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okhttp3/okhttp/3.12.12/okhttp-3.12.12.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/squareup/okio/okio/1.15.0/okio-1.15.0.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.jar:/tmp/status/node_modules/react-native-fast-image/android/build/intermediates/compile_only_not_namespaced_r_class_jar/release/R.jar:/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar  /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageOkHttpProgressGlideModule.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageRequestListener.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageCacheControl.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewPackage.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewModule.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewWithUrl.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageSource.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewConverter.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageProgressListener.java /tmp/status/node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java /tmp/status/node_modules/react-native-fast-image/android/build/generated/source/buildConfig/release/com/dylanvann/fastimage/BuildConfig.java

[nix-shell:/tmp/status]$ echo $?
0

The key difference is that I copied that annotations JAR path from -processorpath flag to -classpath flag:

/nix/store/14mv613575d7sv9xljdh0nn1mzm4m930-status-react-maven-deps/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.jar

Which shows that the issue appears to be caused by Gradle getting confused that com.github.bumptech.glide:compiler is a compiler preprocessor for the glide library, which depends on com.github.bumptech.glide:annotations:

 > echo com.github.bumptech.glide:compiler:4.12.0 | ./go-maven-resolver
https://repo.maven.apache.org/maven2/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.pom
https://repo.maven.apache.org/maven2/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.pom

Which is ALSO a dependency for glide library itself:

 > echo com.github.bumptech.glide:glide:4.12.0 | ./go-maven-resolver | grep annotations
https://repo.maven.apache.org/maven2/com/github/bumptech/glide/annotations/4.12.0/annotations-4.12.0.pom

Which appears to confuse Gradle, and it does not include it in -classpath argument. Stupid.

Not sure yet what's the proper fix, but this is progress.

@jakubgs
Copy link
Member

jakubgs commented Nov 4, 2021

If I look at the dependencies defined in react-native-fast-image we can see:

dependencies {
    //noinspection GradleDynamicVersion
    implementation 'com.facebook.react:react-native:+'  // From node_modules
    implementation "com.github.bumptech.glide:glide:${glideVersion}"
    implementation "com.github.bumptech.glide:okhttp3-integration:${glideVersion}"
    annotationProcessor "com.github.bumptech.glide:compiler:${glideVersion}"
}

https://github.com/DylanVann/react-native-fast-image/blob/v8.5.11/android/build.gradle#L62-L68

Correctly we see that both glide and okhttp3-integration are included explicitly, and we can see them in -classpath:

-classpath
/build/tmp.iaOYNnt98A/caches/transforms-2/files-2.1/fc9d337e7aeaa42aeb9d8652477ead04/jetified-react-native-0.63.4-api.jar:
/nix/store/w6dlc0cpjpzlsi0lvp1zs2bwgnik6q6r-status-react-maven-deps/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.jar:
/nix/store/w6dlc0cpjpzlsi0lvp1zs2bwgnik6q6r-status-react-maven-deps/com/github/bumptech/glide/okhttp3-integration/4.12.0/okhttp3-integration-4.12.0.jar:
...

@flexsurfer flexsurfer closed this Nov 5, 2021
@flexsurfer flexsurfer reopened this Nov 5, 2021
@flexsurfer
Copy link
Member Author

flexsurfer commented Nov 5, 2021

actually, this error might be related

@flexsurfer
Copy link
Member Author

bumptech/glide#2633

@flexsurfer
Copy link
Member Author

i've added com.github.bumptech.glide:glide:4.9.0 but for some reason there is an offline error

@jakubgs
Copy link
Member

jakubgs commented Nov 8, 2021

I don't see one:

Regenerating Nix files...
Found 37 sub-projects...
Found 610 direct dependencies...
Found 859 dependency URLs...
Generated Nix deps file: nix/deps/gradle/deps.json
Done

@flexsurfer
Copy link
Member Author

but now build is green, dunno

@flexsurfer
Copy link
Member Author

anyway it still has runtime error :(

@jakubgs
Copy link
Member

jakubgs commented Nov 8, 2021

Have you tried updating pods/gems?
These kind of errors are usually caused by some issue between Fastlane and Gems/Pods.

@flexsurfer
Copy link
Member Author

An error occurred while installing unf_ext (0.0.8), and Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.8' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  fastlane was resolved to 2.197.0, which depends on
    faraday-cookie_jar was resolved to 0.0.7, which depends on
      http-cookie was resolved to 1.0.4, which depends on
        domain_name was resolved to 0.5.20190701, which depends on
          unf was resolved to 0.1.4, which depends on
            unf_ext

@jakubgs
Copy link
Member

jakubgs commented Nov 8, 2021

During make nix-update-gems? Weird, worked fine for me. And it's always the unf_ext thing that fails...

@jakubgs
Copy link
Member

jakubgs commented Nov 8, 2021

it's magic

@jakubgs jakubgs force-pushed the feature/fast-image-for-stickers branch from 4935bb1 to d4f319e Compare November 16, 2021 10:30
@flexsurfer flexsurfer force-pushed the feature/fast-image-for-stickers branch 2 times, most recently from 38a713c to cdb3950 Compare November 16, 2021 14:10
@status-im-auto
Copy link
Member

97% of end-end tests have passed

Total executed tests: 69
Failed tests: 2
Passed tests: 67
IDs of failed tests: 6645,5346 

Failed tests (2)

Click to expand
  • Rerun tests

  • 1. test_restore_account_migrate_multiaccount_to_keycard, id: 6645

    ## Recover access(password:qwerty, keycard:False)
    Device 1: Find 'Button' by 'xpath': `//android.widget.CheckBox[@content-desc='checkbox']`

    Device 1: Button by xpath: `//android.widget.CheckBox[@content-desc='checkbox']` is not found on the screen

    Device sessions

    2. test_collectible_from_wallet, id: 5346

    Device 1: Find 'ProfileButton' by 'xpath': `//*[contains(@content-desc,'5 out of 5')]`
    Device 1: Find 'ProfilePictureElement' by 'accessibility id': `chat-icon`

    Collectible image is not set as profile image

    Device sessions

    Passed tests (67)

    Click to expand

    1. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    2. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    3. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    4. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    5. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    6. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    7. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    8. test_open_public_chat_using_deep_link, id: 5396
    Device sessions

    9. test_offline_add_new_group_chat_member, id: 3998
    Device sessions

    10. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    11. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    12. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    13. test_delete_close_all_tabs, id: 5390
    Device sessions

    14. test_create_new_group_chat_messaging_pn_delivered, id: 3994
    Device sessions

    15. test_send_token_with_7_decimals, id: 5350
    Device sessions

    16. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    17. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    18. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    19. test_recover_account_from_new_user_seedphrase, id: 6296
    Device sessions

    20. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    21. test_block_user_from_public_chat, id: 5786
    Device sessions

    22. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    23. test_redirect_to_public_chat_tapping_tag_message_fetch_more_history, id: 5675
    Device sessions

    24. test_edit_delete_message_in_one_to_one_and_public_chats, id: 695843
    Device sessions

    25. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    26. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    27. test_keycard_create_login_restore_unlock_same_seed, id: 5689
    Device sessions

    28. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    29. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    30. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    31. test_long_press_to_delete_chat, id: 5319
    Device sessions

    32. test_copy_and_paste_messages, id: 5317
    Device sessions

    33. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    34. test_unread_messages_counter_public_chat, id: 5360
    Device sessions

    35. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    36. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    37. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    38. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    39. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    40. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    41. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
    Device sessions

    42. test_manage_assets, id: 5341
    Device sessions

    43. test_browser_managing_bookmarks, id: 6633
    Device sessions

    44. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    45. test_request_stt_from_daap, id: 5309
    Device sessions

    46. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    47. test_dapps_permissions, id: 5738
    Device sessions

    48. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
    Device sessions

    49. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    50. test_share_copy_contact_code_and_wallet_address, id: 5323
    Device sessions

    51. test_wallet_set_up, id: 5335
    Device sessions

    52. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    53. test_home_view, id: 5379
    Device sessions

    54. test_logcat_backup_recovery_phrase, id: 5419
    Device sessions

    55. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    56. test_set_profile_picture, id: 6646
    Device sessions

    57. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    58. test_keycard_request_stt_from_daap, id: 6249
    Device sessions

    59. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    60. test_pass_phrase_validation, id: 5363
    Device sessions

    61. test_user_can_see_collectibles_on_rinkeby_after_account_recovering, id: 5381
    Device sessions

    62. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    63. test_send_and_open_links_with_previews, id: 5373
    Device sessions

    64. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    65. test_fetching_balance_after_offline, id: 6237
    Device sessions

    66. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    67. test_public_chat_messaging_emojis_timestamps, id: 5313
    Device sessions

    @status-im-auto
    Copy link
    Member

    50% of end-end tests have passed

    Total executed tests: 2
    Failed tests: 1
    Passed tests: 1
    
    IDs of failed tests: 6645 
    

    Failed tests (1)

    Click to expand
  • Rerun tests

  • 1. test_restore_account_migrate_multiaccount_to_keycard, id: 6645

    ## Recover access(password:qwerty, keycard:False)
    Device 1: Find 'Button' by 'xpath': `//android.widget.CheckBox[@content-desc='checkbox']`

    Device 1: Button by xpath: `//android.widget.CheckBox[@content-desc='checkbox']` is not found on the screen

    Device sessions

    Passed tests (1)

    Click to expand

    1. test_collectible_from_wallet, id: 5346
    Device sessions

    @qoqobolo qoqobolo self-assigned this Nov 17, 2021
    @status-im-auto
    Copy link
    Member

    97% of end-end tests have passed

    Total executed tests: 69
    Failed tests: 2
    Passed tests: 67
    
    IDs of failed tests: 3998,6633 
    

    Failed tests (2)

    Click to expand
  • Rerun tests

  • 1. test_offline_add_new_group_chat_member, id: 3998

    Device 1: Tap on found: Button
    Device 1: Find 'Button' by 'xpath': `//*[@text="Generate keys"]`

    Device 1: Button by xpath: `//*[@text="Generate keys"]` is not found on the screen

    Device sessions

    2. test_browser_managing_bookmarks, id: 6633

    Device 1: **Editing bookmark name to 'My Fav Status'**
    Device 1: Find 'EditBox' by 'accessibility id': `bookmark-input`

    Device 1: EditBox by accessibility id: `bookmark-input` is not found on the screen

    Device sessions

    Passed tests (67)

    Click to expand

    1. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    2. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    3. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    4. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    5. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    6. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    7. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    8. test_open_public_chat_using_deep_link, id: 5396
    Device sessions

    9. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    10. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    11. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    12. test_delete_close_all_tabs, id: 5390
    Device sessions

    13. test_create_new_group_chat_messaging_pn_delivered, id: 3994
    Device sessions

    14. test_send_token_with_7_decimals, id: 5350
    Device sessions

    15. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    16. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    17. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    18. test_recover_account_from_new_user_seedphrase, id: 6296
    Device sessions

    19. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    20. test_block_user_from_public_chat, id: 5786
    Device sessions

    21. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    22. test_redirect_to_public_chat_tapping_tag_message_fetch_more_history, id: 5675
    Device sessions

    23. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    24. test_edit_delete_message_in_one_to_one_and_public_chats, id: 695843
    Device sessions

    25. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    26. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    27. test_keycard_create_login_restore_unlock_same_seed, id: 5689
    Device sessions

    28. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    29. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    30. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    31. test_long_press_to_delete_chat, id: 5319
    Device sessions

    32. test_copy_and_paste_messages, id: 5317
    Device sessions

    33. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    34. test_unread_messages_counter_public_chat, id: 5360
    Device sessions

    35. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    36. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    37. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    38. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    39. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    40. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    41. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
    Device sessions

    42. test_manage_assets, id: 5341
    Device sessions

    43. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    44. test_request_stt_from_daap, id: 5309
    Device sessions

    45. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    46. test_dapps_permissions, id: 5738
    Device sessions

    47. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
    Device sessions

    48. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    49. test_share_copy_contact_code_and_wallet_address, id: 5323
    Device sessions

    50. test_wallet_set_up, id: 5335
    Device sessions

    51. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    52. test_home_view, id: 5379
    Device sessions

    53. test_logcat_backup_recovery_phrase, id: 5419
    Device sessions

    54. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    55. test_set_profile_picture, id: 6646
    Device sessions

    56. test_collectible_from_wallet, id: 5346
    Device sessions

    57. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    58. test_keycard_request_stt_from_daap, id: 6249
    Device sessions

    59. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    60. test_pass_phrase_validation, id: 5363
    Device sessions

    61. test_user_can_see_collectibles_on_rinkeby_after_account_recovering, id: 5381
    Device sessions

    62. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    63. test_send_and_open_links_with_previews, id: 5373
    Device sessions

    64. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    65. test_fetching_balance_after_offline, id: 6237
    Device sessions

    66. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    67. test_public_chat_messaging_emojis_timestamps, id: 5313
    Device sessions

    @flexsurfer flexsurfer closed this Nov 17, 2021
    @flexsurfer flexsurfer force-pushed the feature/fast-image-for-stickers branch from cdb3950 to 437d58f Compare November 17, 2021 14:44
    @jakubgs jakubgs deleted the feature/fast-image-for-stickers branch November 17, 2021 16:01
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    No open projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    6 participants