As suggested in this "Where can Ubuntu snaps write data?"
I tried Option[1] for my app which is working fine for devmode confinement. But the same is getting failed when i tried to change the confinement form devmode to classing mode. Any reason why this is getting failed for classic confinement. If needed i can share you my code with you which will help you to understand the issue.
Thanks & I appreciate any suggestion here!!