-
Notifications
You must be signed in to change notification settings - Fork 2
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: add the source ID to the register events API #84
Conversation
@@ -1,6 +1,16 @@ | |||
import Foundation | |||
|
|||
struct RegisterEventsRequestBody: Codable { | |||
internal init(events: [Event] = [], | |||
sdkVersion: String = Version.current, | |||
sourceId: SourceID = SourceID.ios |
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.
set the default values. it like the way we did in Android SDK
https://github.com/bucketeer-io/android-client-sdk/pull/165/files#diff-4d7bb55f81bf07536550c06fc990b013fd606b6054932e3c88bb9c60ee44cbd4R12
@cre8ivejp @kakcy please help me to take a look. |
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.
Thank you!
Part of bucketeer-io/bucketeer#916
Changes