Skip to content

Conversation

@ObranS
Copy link
Contributor

@ObranS ObranS commented Sep 23, 2025

🔗 Related Links

⬅️ As Is

There is no way to see the SDK platforms and the Flutter versions

➡️ To Be

Added parameters to VirtusizeParams:
{
"sdkVersion" : "1.2.3",
"sdkPlatform" : "ios",
}

☑️ Checklist

  • Useless comments and/or print etc are removed
  • Unit test are covered
  • Code has been deployed and tested on STG
  • ClickUp ticket status has been updated to production
  • Update CHANGELOG.md with the new changes

@ObranS ObranS changed the title - Feature: SDK version and SDK platform parameters added (NSDK-316) SDK version and SDK platform parameters to VirtusizeParams Sep 23, 2025
@ObranS ObranS requested a review from devAbhimanyu September 24, 2025 00:34
@mikhail-yevstratiev
Copy link
Contributor

@ObranS please rebase trunk branch on main before merging the PR.

Copy link

@devAbhimanyu devAbhimanyu left a comment

Choose a reason for hiding this comment

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

@ObranS are the versions up to date?

@ObranS
Copy link
Contributor Author

ObranS commented Oct 1, 2025

@ObranS are the versions up to date?

Yes it is

* trunk:
  Increment build version
  Increment build version
  Fix: bra body measurements - suggested size issue fixed
  Increment build version
  Fixed LINE redirect url issue for WebView
  Codefixes based on pull request review comments
  Increment build version
  Fix (memory): resolve WebView leak, cleanup observers/listeners, fix initialization race condition
  Remove unused print()
  Update SDK version
  Fix: Added close button on error loading webview

# Conflicts:
#	CHANGES.md
#	README-JP.md
#	README.md
#	Virtusize.podspec
#	Virtusize/Sources/VirtusizeConfiguration.swift
#	Virtusize/Tests/APIEventTests.swift
#	VirtusizeAuth.podspec
#	VirtusizeCore.podspec
@ObranS ObranS requested a review from devAbhimanyu October 23, 2025 12:37
Copy link

@devAbhimanyu devAbhimanyu left a comment

Choose a reason for hiding this comment

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

@ObranS thanks, @riicodespretty we need to check if these parameters are shared to the frontend

Copy link

@devAbhimanyu devAbhimanyu left a comment

Choose a reason for hiding this comment

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

minor query

static let allowedLanguages = "allowedLanguages"
static let detailsPanelCards = "detailsPanelCards"
static let sdkVersion = "sdkVersion"
static let sdkPlatform = "sdkPlatform"

Choose a reason for hiding this comment

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

where is this being used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://app.clickup.com/t/3702259/NSDK-315

"sdkVersion": "1.2.3",
"sdkPlatform": "ios"

These parameters are injected into the WebUI. See VirtusizeWebViewController, line 290.

Afterwards, these parameters are represented in the WebView. They are used in the Flutter version to determine whether the platform is iOS or Android for diagnostic purposes.

@michellequibido-virtusize
Copy link
Contributor

@ObranS looks good to me. Just an observation, there are unrelated commits for this feature branch which is probably due to merging the trunk branch to this feature branch, may I suggest to use rebase instead of merge next time. And I think the feature branch name number should be 315 not 316?

OleS added 3 commits November 13, 2025 12:26
* trunk:
  Hotfix: fixed release.yaml to push release version
  Increment build version
  Increment build version
  - Fix: Added concurrent queue lock to fix race condition crashes
  - Fix: Add null safety and defensive programming

# Conflicts:
#	CHANGES.md
#	README-JP.md
#	README.md
#	Virtusize.podspec
#	Virtusize/Sources/VirtusizeConfiguration.swift
#	Virtusize/Tests/APIEventTests.swift
#	VirtusizeAuth.podspec
#	VirtusizeCore.podspec
@ObranS ObranS force-pushed the feature/NSDK-316-sdk-parameters branch from 818370e to d0393e2 Compare November 17, 2025 18:29
OleS added 3 commits November 17, 2025 20:38
* trunk:
  [NSDK-363]Add optional configuration for show/hide privacy policy in inpage standard
  - Fix: fixed VirtusizeOrder API key parameter
@ObranS ObranS merged commit a171895 into trunk Nov 17, 2025
3 checks passed
@ObranS ObranS deleted the feature/NSDK-316-sdk-parameters branch November 17, 2025 19:37
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.

5 participants