Our project is module based. Every new feature is ...
# android
a
Our project is module based. Every new feature is developed in a new module using jetpack compose and written in kotlin. We are facing a weird problem. When we tried to take a picture using camera intent, the app got out of the module. Module/ feature activity got destroyed. There is no log in the logcat. No log in firebase crashlytics. Tried leak canary also for the possible memory leak. We can't trace the problem. Is there any other way? We didn't find this problem in the above 3GB ram device. It frequently happens in 2 gb ram devices. We are suspecting this may be a low memory issue.
not kotlin but kotlin colored 1
f
it is a low memory issue, the camera app requires plenty of resources and the OS is bound to kill background processes when the camera is running. you have to use the available tools to save and restore state on your app