-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Was Fresco 3.0.0 intentionally released? #2714
Comments
Hey! Thanks for reaching out. What issues are you seeing? We did make several changes to our release pipeline. We did intend to release a new Fresco version. |
The issues found so far are around customisations to default behaviour to override cache control and request headers. The code is many years old now, so there may be better ways of doing this? The first is this method, which is now marked final so we cannot override:
Next up, is adding custom headers to images. We've overridden the fetch method as follows:
The issue in this case is with the call to Finally, even if I disable all our customisations, the app compiles OK but then crashes on use because I'm using:
Thanks |
Sorry for that! Related to middleware: Can you try if adding com.facebook.fresco:middleware:3.0.0 fixes your issues? https://repo1.maven.org/maven2/com/facebook/fresco/middleware/3.0.0/ |
That fixes the HasExtraData class, but the native library is still missing (and fetchWithRequest is still final, obviously). I don't want to push you guys to fix it if it wasn't ready. I genuinely expected you to say 3.0.0 was released by accident. I'm happy to wait for the final release. The real reason I'm keen to update, is to see if it has fixed a distortion issue I'm seeing with 2.6.0. Take this URL: https://images-live.youview.tv/images/entity/77502239/ident/1_256x144.png?overlaygradient=0 When rendered in the app with When rendered using centerInside, it works fine (but isn't the correct size). This happens with all our channel logos. |
Hey!
Gradle deps:
Init logic:
XML layout:
Loading image:
Your channel log seems to render fine and I don't see any crash. Can you try and also add implementation 'com.facebook.fresco:nativeimagetranscoder3:3.0.0' to your Gradle file? That's what should include the missing native lib |
java.lang.UnsatisfiedLinkError: dlopen failed: library "libnative-imagetranscoder.so" not found |
Version 3.0.0 crashes directly ,2.6.0 is ok |
2.6.0 to 3.0.0: |
implementation 'com.facebook.fresco:fresco:3.0.0' compileSdkVersion 33 Android 12 Emulator crash E/AndroidRuntime: FATAL EXCEPTION: FrescoIoBoundExecutor-1 |
Can you please try adding the following Gradle dependency to your build:
That should fix the crash. |
Hi @oprisnik, thanks for the answer, I can't find com.facebook.fresco:nativeimagetranscoder3:3.0.0 in the repositories, I tried to add com.facebook.fresco:nativeimagetranscoder:3.0.0 which doesn't contain the '3' at the end of the name, but that still with "libnative-imagetranscoder.so" not found error message. |
รับ Outlook สำหรับ Android<https://aka.ms/AAb9ysg>
…________________________________
From: plhjd ***@***.***>
Sent: Wednesday, April 12, 2023 1:51:56 AM
To: facebook/fresco ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [facebook/fresco] Was Fresco 3.0.0 intentionally released? (Issue #2714)
Hi @oprisnik<https://github.com/oprisnik>, thanks for the answer, I can't find com.facebook.fresco:nativeimagetranscoder3:3.0.0 in the repositories, I tried to add com.facebook.fresco:nativeimagetranscoder:3.0.0 which doesn't contain the '3' at the end of the name, but that still with "libnative-imagetranscoder.so" not found error message.
—
Reply to this email directly, view it on GitHub<#2714 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A43CNFNMNBJH6FPQGSI2BALXAWR4ZANCNFSM6AAAAAAWBL3HDE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
ในวันที่ พ. 12 เม.ย. 2023 01:54 น. ชัยวัฒน์ จันทร์ทักษ์ <
***@***.***> เขียนว่า:
…
รับ Outlook สำหรับ Android <https://aka.ms/AAb9ysg>
------------------------------
*From:* plhjd ***@***.***>
*Sent:* Wednesday, April 12, 2023 1:51:56 AM
*To:* facebook/fresco ***@***.***>
*Cc:* Subscribed ***@***.***>
*Subject:* Re: [facebook/fresco] Was Fresco 3.0.0 intentionally released?
(Issue #2714)
Hi @oprisnik <https://github.com/oprisnik>, thanks for the answer, I
can't find com.facebook.fresco:*nativeimagetranscoder3*:3.0.0 in the
repositories, I tried to add com.facebook.fresco:*nativeimagetranscoder*:3.0.0
which doesn't contain the '3' at the end of the name, but that still with
"libnative-imagetranscoder.so" not found error message.
—
Reply to this email directly, view it on GitHub
<#2714 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A43CNFNMNBJH6FPQGSI2BALXAWR4ZANCNFSM6AAAAAAWBL3HDE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It can be used!! Simply put, this will force the use of dependencies in version 2.6.0
|
Nope, this is not working, but this works, see #2722 (comment) |
|
I'm not sure what's happened to this project - too many seemingly accidental public releases, always with no release notes, and sometimes deleted shortly after. |
Before I go reporting bugs for numerous issues with Fresco 3.0.0, I just wanted to confirm that it wasn't an accidental release. Could someone please confirm? It seems to have too many issues for it to be intentional.
The text was updated successfully, but these errors were encountered: