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

fix: deep linking crash #425

Conversation

1abhishekpandey
Copy link
Contributor

About the issue

We noticed that when Intent.EXTRA_REFERRER is absent in the extras while invoking a deep link, the SDK threw a NullPointerException.

About the fix

Implemented a check to verify whether the referrer is null or not. If it's not null, then it is cast to a string.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • Version upgraded (project, README, gradle, podspec etc)
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit tests for the code
  • I have made corresponding changes to the documentation

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@1abhishekpandey 1abhishekpandey merged commit 3b58967 into develop May 20, 2024
12 checks passed
@1abhishekpandey 1abhishekpandey deleted the fix/sdk-1811-resolve-the-deep-linking-crash-on-android branch May 20, 2024 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants