Closed 1abhishekpandey closed 2 months ago
We noticed that when Intent.EXTRA_REFERRER is absent in the extras while invoking a deep link, the SDK threw a NullPointerException.
Intent.EXTRA_REFERRER
extras
NullPointerException
Implemented a check to verify whether the referrer is null or not. If it's not null, then it is cast to a string.
referrer
null
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
About the issue
We noticed that when
Intent.EXTRA_REFERRER
is absent in theextras
while invoking a deep link, the SDK threw aNullPointerException
.About the fix
Implemented a check to verify whether the
referrer
isnull
or not. If it's notnull
, then it is cast to a string.Type of change
Checklist: