Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No callback for RENDER_FRAME_FINISHED event. #2306

Open
lantah-1 opened this issue Mar 10, 2024 · 0 comments
Open

No callback for RENDER_FRAME_FINISHED event. #2306

lantah-1 opened this issue Mar 10, 2024 · 0 comments
Labels
bug 🪲 Something isn't working

Comments

@lantah-1
Copy link

Environment

  • Android OS version: Android 14
  • Devices affected: magic 6 pro
  • Maps SDK Version: 11.2.0

Observed behavior and steps to reproduce

In my project, I'm using the snapshot feature. After calling the method mapview.snapshot, there are two callbacks: the first one is null and the second one contains the correct bitmap. Upon inspecting the source code, I noticed that there is no callback for the RENDER_FRAME_FINISHED event with RenderModeType.FULL, which causes the property readyForSnapshot to be false.

Expected behavior

This doesn't happen 100% of the time, but it's likely to occur.
The expected outcome is to receive a callback for the RenderModeType.FULL state within the RENDER_FRAME_FINISHED event, thereby setting the value of readyForSnapshot to true.

Notes / preliminary analysis

Additional links and references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant