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

[In Progress] SDK - 2519 Open Request Input Params Refactor #1454

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

NidhiDixit09
Copy link
Collaborator

Reference

SDK-2518 -- Code refactor to handle Preference Helper Race Conditions
https://branch.atlassian.net/browse/SDK-2518
Subtask -- SDK-2519 -- Open Request Refactor
https://branch.atlassian.net/browse/SDK-2519

Summary

** SDK will no longer save following values in preference helper -

  • linkClickIdentifier
  • spotlightIdentifier
  • universalLinkUrl
  • referringURL
  • externalIntentURI
  • dropURLOpen
    These values will be stored in BranchOpenRequest object
    A new class is added to encapsulate above variables.
    ** Removed universalLinkUrl and externalIntentURI. referringURL contains same values. So Request construction will use referringURL now.
    ** Remove appVersion property from preference helper. Its no longer used.

Type Of Change

  • New feature (non-breaking change which adds functionality)

Testing Instructions

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

…back with params.referringURL. They both are same.
urlString holds the same value as linkparams.referringURL. So removed urlString and adjusted other functions to use linkparams.referringURL instead.
* Fixed property type of linkParams (strong) and added code to initialize it.
* Added encoding functions for class BranchOpenRequestLinkParams.
* Fixed value passed to saveAppClipData. It should be local variable referringURL.
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