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

refactor: Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin #506

Merged

Conversation

Mansi-mParticle
Copy link
Contributor

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin.
  • Create a new package structure like the one used for Java, and move the Kotlin files into the new package.

Testing Plan

  • Was this tested locally? If not, explain why.
  • Tested with sample application and ran the unit test cases

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

Copy link
Member

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

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

minor comments

/**
* This class is used by the AppStateManager to determine when the app is visible or in the background.
*
* Separated into it's own class to avoid annoying logcat messages on pre-ICS devices.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Separated into it's own class to avoid annoying logcat messages on pre-ICS devices.
* Separated into its own class to avoid annoying logcat messages on pre-ICS devices.

Copy link
Collaborator

@einsteinx2 einsteinx2 left a comment

Choose a reason for hiding this comment

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

LGTM

@Mansi-mParticle Mansi-mParticle merged commit 687e623 into development Sep 18, 2024
24 checks passed
@Mansi-mParticle Mansi-mParticle deleted the refactor/SQDSDKS-6717-MPLifecycleCallback-refactor branch September 18, 2024 14:56
mparticle-automation added a commit that referenced this pull request Oct 15, 2024
## [5.58.3](v5.58.2...v5.58.3) (2024-10-15)

### Updates & Maintenance

* Migrate Internal Constants class to kotlin  ([#510](#510)) ([2fd32f6](2fd32f6))
* Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin ([#506](#506)) ([687e623](687e623))
* Remove unused session history upload code ([#507](#507)) ([a86cd3b](a86cd3b))
* Update submodules ([c0ffeb6](c0ffeb6))
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 5.58.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

mparticle-automation added a commit that referenced this pull request Oct 24, 2024
## [5.58.3](v5.58.2...v5.58.3) (2024-10-24)

### Updates & Maintenance

* Migrate Internal Constants class to kotlin  ([#510](#510)) ([2fd32f6](2fd32f6))
* Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin ([#506](#506)) ([687e623](687e623))
* Remove unused session history upload code ([#507](#507)) ([a86cd3b](a86cd3b))
* Update submodules ([81e50ca](81e50ca))
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 5.58.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants