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

SDK-2533 Integration validator crash fix #1467

Open
wants to merge 1 commit into
base: integration-validator-2.0
Choose a base branch
from

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
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.

1 participant