Closed kishanj918 closed 8 months ago
@kishanj918 I have confirmed to run demo-flutter in release mode without problems. Would you try to add "proguard-rules.pro" file to your application? Please see issue #33.
@simago I have already added "proguard-rules.pro". I am getting same exception in the demo-flutter as well. Please see the attached video. It is not moving to next screen after capturing the image because of the exception.
https://github.com/ricohapi/theta-client/assets/3994657/a8103d6a-d07a-46b2-8324-d487d2812508
@kishanj918
Thanks for your comment.
Could you please output the complete error log from Android Studio or console and share it with us ?
Thank you very much.
@LassicYM Sure. Here is the exception I am getting.
PlatformException(NotConnectedException, com.ricoh360.thetaclient.transferred.UnknownResponse cannot be cast to
com.ricoh360.thetaclient.transferred.TakePictureResponse, null, null)
@LassicYM Can you provide any updates on this? The resolution of this issue is crucial for me to proceed with the app release.
@kishanj918
Please add following line to your "proguard-rules.pro" file.
-keep class kotlinx.serialization.** { *; }
@simago Thanks so much! It worked.
I am calling below code to capture still image. This code works in dev mode but when i tested release apk it is throwing an exception.