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(pinpoint): fix NPE if Pinpoint configured without event collection #3117

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

tjleing
Copy link
Contributor

@tjleing tjleing commented Dec 12, 2022

If the customer has pinpointConfig.withAllowsEventCollection(false); there is a crash in displaying a push notification. This simply guards the event call.

  • tested locally

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tjleing tjleing requested a review from a team as a code owner December 12, 2022 17:46
@tjleing tjleing changed the title Fix NPE if Pinpoint configured without event collection fix(pinpoint): fix NPE if Pinpoint configured without event collection Dec 12, 2022
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.

3 participants