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

feat: Update External iD on Initialization #166

Merged

Conversation

BrandonStalnaker
Copy link
Contributor

Summary

  • To better serve customer data, product requested we update the external id on app launch.

Testing Plan

  • Verified through compilation of a local application.

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

src/main/kotlin/com/mparticle/kits/AppboyKit.kt Outdated Show resolved Hide resolved
Co-authored-by: Ben Baron <[email protected]>
Signed-off-by: Brandon Stalnaker <[email protected]>
Copy link
Contributor

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

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

Looks good to me

@@ -97,6 +98,12 @@ open class AppboyKit : KitIntegration(), AttributeListener, CommerceListener,
)
}
setIdentityType(settings)

val user = MParticle.getInstance()!!.Identity().currentUser
Copy link
Contributor

Choose a reason for hiding this comment

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

MParticle.getInstance()?.Identity()?.currentUser

can do like this? to avoid null pointer exception?

@BrandonStalnaker BrandonStalnaker merged commit 664c19d into development Jun 11, 2024
16 checks passed
@BrandonStalnaker BrandonStalnaker deleted the feat/6495-Update-External-ID-on-Initialization branch June 11, 2024 13:37
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