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

[Bug]: Improve Performance of canRequestAds in AdsControl Interface #164

Open
3 tasks done
teogor opened this issue Oct 27, 2023 · 0 comments
Open
3 tasks done

[Bug]: Improve Performance of canRequestAds in AdsControl Interface #164

teogor opened this issue Oct 27, 2023 · 0 comments
Assignees
Labels
ads Marks an Issue/PR as linked to the ceres:ads module @bug Something isn't working @priority-low

Comments

@teogor
Copy link
Owner

teogor commented Oct 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

Currently, the AdsControl interface includes a property named canRequestAds, which plays a crucial role in determining whether ads can be requested. However, it is observed that the current implementation of this property directly blocks the UI thread, leading to performance issues.

Expected Behavior

The canRequestAds property should efficiently fetch its value from memory via shared preferences without causing UI thread blocking.

Actual Behavior

The current implementation of canRequestAds blocks the UI thread, resulting in performance degradation and potential user experience issues.

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@teogor teogor added @bug Something isn't working @priority-low ads Marks an Issue/PR as linked to the ceres:ads module labels Oct 27, 2023
@teogor teogor added this to the 1.0.0-alpha04 milestone Oct 27, 2023
@teogor teogor self-assigned this Oct 27, 2023
@teogor teogor removed this from the 1.0.0-alpha04 milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ads Marks an Issue/PR as linked to the ceres:ads module @bug Something isn't working @priority-low
Projects
Status: No status
Development

No branches or pull requests

1 participant