-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: update public API #152
chore: update public API #152
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
required CustomerIOConfig config, | ||
}) { | ||
return _customerIO.initialize(config: config); | ||
static Future<void> initialize({required CustomerIOConfig config}) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is still static function, because CustomerIO.instance.initialize
didn't look good and then I checked what others could be doing, and saw Firebase also has initialize method as static while others instance bound.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed a few CI checks failing, we just need to fix them before merging. Rest looks good.
closes: https://linear.app/customerio/issue/MBL-618/implement-public-api-structure-for-instance-pattern
changes: