[Flutter][Android] Local snapshot taken using takeSnapshot API is cached
locandpad opened this issue · comments
Describe the bug
When taking snapshot continuously, the newly taken image is cached and the API returns the same image as previous one.
To Reproduce
Steps to reproduce the behavior:
- Use the
TakeSnapshot
example from this repo. - Join a channel.
- Take snapshot of
picture A
--> API returns correctly. - Continue to take snapshot of
picture B
--> API returns successfully (errorCode = 0) but result is the same as previous call (picture A
). - Call take snapshot again of
picture C
--> API returns the result ofpicture B
.
Expected behavior
API should return the correct image and should not cache the result
same as me, please help us have a look on this
Which platform you are facing this issue, I tested on macOS, and it seems to work fine.
@littleGnAl I tested on Android device.
Okay, I will test it later.
It is most likely a bug on 6.2.6, I tested it on 6.3.0, and it works fine, please try our example on the main branch.
@littleGnAl Thank you for your support, it is working correctly now.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.