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

Avoid storing reference to a particular Appboy instance #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivngrz
Copy link

@ivngrz ivngrz commented Feb 24, 2022

We have found that we need to do a call to Braze.wipeData() using the Android SDK. As the documentation says that call makes the Braze instance unusable.

The problem is that in the Segment connector you are storing the Braze instance in “mAppboy” and there is no way to get a new one after a call to Braze.wipeData().

Accessing the Braze instance through the Appboy.getInstance() method works around that issue.

@chshapiro
Copy link
Contributor

Hey @ivngrz,
Thank you for your contribution. We will test it and hopefully integrate it into our next release.

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