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

Can't dynamically adjust margin value or have multiple banner ads throughout app #312

Open
gldstrrbt opened this issue Feb 17, 2024 · 0 comments

Comments

@gldstrrbt
Copy link

A clear and concise description of what the bug is.

I'm trying to conditionally set the margin key's value for the banner ad options and am unable to do so. The plan was to have a banner ad display above the navigation on the first level views, then on secondary views have a banner ad display above a toolbar that has a different height, which would require the banner ad to have a new margin in order to be flush with the top of the toolbar.

However, it looks like it's not possible to dynamically/conditionally set the margin value. Nor does it appear that multiple banners can be used throughout an app.

Please let me know if these assumptions are wrong and point me in the right direction. Any help would be greatly appreciated. Thank you in advance!

I'm using reactjs (version prior to hooks...),capacitorjs v3, and exporting for Android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant