Hey! Thanks a lot! I wanted to add some confetti to an app I’m working on, so this weekend I decided to adapt Konfetti library to CMP kodee lost
By working on it, I realized that I needed to drop some features to quickly be able to build the library on CMP. Here are some of the breaking changes with the original library:
• I dropped the XML View support to focus only on the Compose part
• I removed the support for custom shapes (Shape.DrawableShape)
• I changed the signature of Emitter to declare the duration with kotlinx-datetime Duration (because java.util.concurrent.TimeUnit is not available on all the platforms)
My first intention was just to make it work. Now, I’ll see if it’s possible to merge this work into the original one without breaking too many things 😅