🚧 KMP Integration Help Needed 🚧
Hey everyone – quick check-in from our KMP initiative 👋
We’ve built a KMP library that includes multiple Compose screens with built-in navigation. This library is intended to be used across both Android and iOS (via XCFramework).
✅ On Android, everything is working smoothly.
✅ The iOS integration is also functional – screens open and render as expected.
❗However, we’re noticing a memory issue on iOS:
When we open and close the KMP screen multiple times, memory usage keeps increasing and doesn’t seem to get cleaned up.
These screens primarily display images (SVGs and PNGs) along with some lightweight content fetched from the web.
📌 Has anyone faced similar issues with memory not being released properly on iOS (especially with Compose in XCFramework)?
Any leads or suggestions on cleanup strategies, memory profiling, or Compose setup that can help here would be super valuable.
Your input can really help us get our first app onboarded to KMP successfully 🙌
Thanks in advance!.