Skip to content

Conversation

NidhiDixit09
Copy link
Collaborator

Reference

SDK-2533 -- Integration Validator crashes if URI scheme is not set (null) in dashboard.
https://branch.atlassian.net/browse/SDK-2533

Related Github Issue - #1463

Summary

  • Fixed function compareUriSchemes to handle empty strings
  • Added wrapper function for compareUriSchemes to make it testable.
  • Added unit test

Type Of Change

  • Bug fix (non-breaking change which fixes an issue)

Testing Instructions

Delete URI scheme from the branch dashboard for the app and run integration validator. It should not crash and display message for mismatch.

cc @BranchMetrics/saas-sdk-devs for visibility.

* Fixed function compareUriSchemes to handle empty strings
* Added wrapper function for compareUriSchemes to make it testable.
* Added unit test
@sharath-branch sharath-branch merged commit aa8ad49 into integration-validator-2.0 Jan 20, 2025
9 of 10 checks passed
sharath-branch added a commit that referenced this pull request Jan 21, 2025
* integration-validator-2.0

* Removed file logger from tvOS

* Added tvOS conditional headers

* Change header to public to fix test failure

* Fixed testbed

* fix: PR changes

* fix: testbed file visibility

* SDK-2533 Integration validator crash fix (#1467)

* Fixed function compareUriSchemes to handle empty strings
* Added wrapper function for compareUriSchemes to make it testable.
* Added unit test

---------

Co-authored-by: ndixit-branch <[email protected]>
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.

3 participants