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

[MOB-10951] Add mobile framework info to register token request #884

Merged
merged 17 commits into from
Jan 16, 2025

Conversation

sumeruchat
Copy link
Contributor

@sumeruchat sumeruchat commented Jan 13, 2025

🔹 Jira Ticket(s)

✏️ Description

Add mobile framework info to iOS according to spec

Please read the full spec at https://iterable.slab.com/posts/mobile-datadog-dashboard-flutter-rn-support-fd6p2n7e?shr=6m4blt3qaTsWYn38av0w-Mkg

@sumeruchat sumeruchat changed the title [MOB-10951] Add mobile framework info [MOB-10951] Add mobile framework info (WIP) Jan 13, 2025
@sumeruchat sumeruchat changed the title [MOB-10951] Add mobile framework info (WIP) [MOB-10951] Add mobile framework info to register request Jan 15, 2025
@sumeruchat sumeruchat changed the title [MOB-10951] Add mobile framework info to register request [MOB-10951] Add mobile framework info to register token request Jan 15, 2025
* master:
  [MOB-10605] prepares version 6.5.9 release (#885)
  [MOB-9446] Enhance push notification state tracking in SDKs (#881)
  [MOB-9233] Fix tests for json only in app messages (#883)
let hasFlutter = hasFrameworkClasses(FrameworkClasses.flutter)
let hasReactNative = hasFrameworkClasses(FrameworkClasses.reactNative)

switch (hasFlutter, hasReactNative) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably refactor this later in the case where we have more than 2 frameworks.

@sumeruchat sumeruchat merged commit ab02a03 into master Jan 16, 2025
0 of 2 checks passed
@sumeruchat sumeruchat deleted the feature/MOB-10951-add-mobile-framework-infi branch January 16, 2025 13:55
Comment on lines +14 to +15
let frameworkType: IterableAPIMobileFrameworkType
let iterableSdkVersion: String?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sumeruchat I think maybe we need to mark these as public, so they're accessible in outside modules that rely on this struct

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.

4 participants