Skip to content

Migrate from kotlin-android-extensions to kotlin-parcelize#545

Merged
tonidero merged 2 commits into
mainfrom
csdk-123
Jun 13, 2022
Merged

Migrate from kotlin-android-extensions to kotlin-parcelize#545
tonidero merged 2 commits into
mainfrom
csdk-123

Conversation

@tonidero

Copy link
Copy Markdown
Contributor

Description

https://revenuecats.atlassian.net/browse/CSDK-123

kotlin-android-extensions was deprecated a while back. We only used the parcelize functionalities of that plugin, which were moved to the kotlin-parcelize plugin. With this PR we use that new plugin. In order to use the new plugin I had to update our kotlin version from 1.4.10 to 1.4.20. Didn't see any changes there that should cause problems

The changes mostly involved changing the imports to the new package.

@tonidero tonidero requested a review from a team June 10, 2022 16:27

@aboedo aboedo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes look good to me, but waiting for @beylmk or @vegaro to give the thumbs up

@aboedo aboedo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh, just noticed that these changes were also a part of #474. Looks safe to merge

@tonidero

Copy link
Copy Markdown
Contributor Author

Ahh I didn't notice that PR already had these changes. That PR bumps a bunch of extra versions which would be good to get as well, but there shouldn't be many conflicts after merging this, except maybe on the kotlin version. So will go ahead and merge it.

@tonidero tonidero merged commit 79aed7b into main Jun 13, 2022
@tonidero tonidero deleted the csdk-123 branch June 13, 2022 13:49
@vegaro

vegaro commented Jun 14, 2022

Copy link
Copy Markdown
Member

Thanks for doing this. I kept that #474 PR as draft because the number of changes were growing so much and got blocked by a weird error and decided to come back to it in the future.

@@ -7,7 +7,7 @@ package com.revenuecat.purchases

import android.os.Parcelable
import kotlinx.android.parcel.IgnoredOnParcel

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch! I would have thought this wouldn't compile... Will fix it on a followup PR. Thanks!

tonidero added a commit that referenced this pull request Jun 14, 2022
@tonidero tonidero mentioned this pull request Jun 22, 2022
1 task
@tonidero tonidero mentioned this pull request Jul 7, 2022
@aboedo aboedo mentioned this pull request Jul 13, 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