Comments (6)
This seems like it might be a Compose error unrelated to Coil as Coil isn't mentioned in the error. Are you able to reproduce error only importing Compose Multiplatform?
The error might be related to local configuration. I'm able to run ./gradlew samples:compose:jsRun
to run the JS sample in this repository.
from coil.
The error occurred only when the dependencies I said in the previous comment are imported, without these the composition goes well and the content of the page is not blank, I don't understand the usages of the comment you said ./gradlew samples:compose:jsRun
I need to run and share to you the result or is the proof that for you works correctly?
from coil.
To Reproduce: In a Kotlin/Js project using the AsyncImage api and the error occurs ispecting the webpage in the Console tab will be printed the error
I'm not able to reproduce the exception using the sample JS app in this repo which imports AsyncImage
. Do you have a sample that reproduces the issue?
from coil.
Yes, I share with you the demo project where I am trying to implement the Coil library, it works based on the Kobweb library, so I think you should install if the project has not the gradle tasks required.
You can download the demo project from WeTransfer at the email you have in your profile of GitHub, this because I cannot attach here due its size
from coil.
Kobweb is based on Compose HTML, but Coil uses Compose Multiplatform. It's likely that you need to set up your project for Compose Multiplatform similar to here.
from coil.
Yes I'm sorry I totally forgot this requirement about Compose HTML is not Compose Multiplatform, thanks for the help
from coil.
Related Issues (20)
- Use software bitmap if target size exceeds max texture size HOT 2
- SubcomposeAsyncImage doesn't save network images properly HOT 7
- SSL certificates validation when are self-signed HOT 2
- Coil3 ImageLoader set bitmap config not work
- Not able to find ImageRequest in coil3 for multiplatform project HOT 1
- New field in ImageRequest.Builder to be able to recompose HOT 2
- When targeting Android for a KMP project using Coil 3.0.0-alpha06, attempting to use `.toBitmap()` and `.asComposeImageBitmap()` results in `Unresolved reference` HOT 6
- Duplicate class androidx.lifecycle.ViewModel in coil 2.2.0 HOT 3
- SVG is blurry when rendered using rememberAsyncImagePainter but not when using AsyncImage HOT 3
- [Coil 3] make crossfade support using different scale type for placeholder vs final image HOT 3
- java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps HOT 1
- How to specify the width of an image? HOT 2
- Coil 3 + GIF w/o delay + Xiaomi Android 14 = GIF isn't playing HOT 4
- Gif playback can not be stopped since coil 3.x HOT 1
- Unsupported type: ImageBitmap HOT 1
- Gif playback is interrupted until next draw phase HOT 3
- coil3 loading long image will be crash HOT 3
- Issue Describetion
- coil-kt/coil HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coil.