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

feat: Controller event stream #6

Merged
merged 5 commits into from
Jan 28, 2024
Merged

feat: Controller event stream #6

merged 5 commits into from
Jan 28, 2024

Conversation

thekorn
Copy link
Owner

@thekorn thekorn commented Jan 28, 2024

ad events are now propagated via the controller

Description

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • βœ… Build configuration change
  • πŸ“ Documentation
  • πŸ—‘οΈ Chore

πŸ”§ refactor(xandr): replace event delegate with StreamController for better event handling
πŸŽ‰ feat(xandr): add listen method to XandrController to allow listening to events
πŸ› fix(xandr_android): add event triggers to XandrEventHandler methods to emit events when ad is loaded or an error occurs
…AdEvent for better type safety

✨ feat(xandr): add detailed event classes for ad loading events to provide more context about the events
πŸ”§ refactor(xandr): update debugPrint statements to include more detailed event information for better debugging
…etter code organization

🎨 style(main.dart): add more ad sizes to _XandrExampleState for better ad display flexibility
πŸ”§ chore(main.dart): adjust AdBanner parameters for better ad display control
πŸ”¨ refactor(ad_banner.dart): convert AdBanner from StatelessWidget to StatefulWidget for dynamic size adjustment
✨ feat(ad_banner.dart): add BannerAdEventDelegate to handle ad events and dynamically adjust ad size
πŸ“¦ feat(xandr_builder.dart): create new file for XandrBuilder class for better code organization
πŸ”¨ build(xandr_android): add ktlint for Kotlin code linting and formatting
πŸ“ docs(CONTRIBUTING.md, cspell.json, melos.yaml): add ktlint to contributing guide, cspell and melos scripts
πŸŽ‰ feat(.editorconfig): add .editorconfig for Kotlin files to maintain consistent coding styles
@thekorn thekorn merged commit 01eca4a into main Jan 28, 2024
10 of 11 checks passed
@thekorn thekorn deleted the controller_event_stream branch February 18, 2024 17:48
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

Successfully merging this pull request may close these issues.

1 participant