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

Catch null intent data #663

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Catch null intent data #663

merged 2 commits into from
Jun 2, 2020

Conversation

niallzato
Copy link
Contributor

What does this PR do?
When trackdeeplinks is enabled, this can result in a null pointer exception as getData() can return null while intent does not.

Any background context you want to provide?
Fix for following issue: #657

Copy link
Contributor

@prayansh prayansh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


callback.get().onActivityCreated(activity, new Bundle());

verify(integration, never())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the intention here to check if no interactions have occurred with the integration object or just this specific interaction?

@prayansh
Copy link
Contributor

prayansh commented Jun 2, 2020

closes #657

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.

2 participants