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

Appyx 2.x - Rename integration point #667

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

manuel-martos
Copy link
Contributor

Description

Checklist

  • I've updated CHANGELOG.md if required.
  • I've updated the documentation if required.

@manuel-martos manuel-martos added this to the 2.0 milestone Jan 26, 2024
@manuel-martos manuel-martos self-assigned this Jan 26, 2024
@manuel-martos manuel-martos changed the title Rename integration point Appyx 2.x - Rename integration point Jan 26, 2024
Comment on lines -83 to -103
### MainActivity

```diff
-import com.bumble.appyx.core.integration.NodeHost
-import com.bumble.appyx.core.integrationpoint.NodeActivity

+import com.bumble.appyx.navigation.integration.NodeHost
+import com.bumble.appyx.navigation.integration.NodeActivity

class MainActivity : NodeActivity() {
super.onCreate(savedInstanceState)
setContent {
HelloAppyxTheme {
- NodeHost(integrationPoint = appyxIntegrationPoint) {
+ NodeHost(integrationPoint = appyxV2IntegrationPoint) {
RootNode(it)
}
}
}
```

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it's better if instead of removing this block we update it. After merging #668, let's make a new release in the scope of 1.x

Then we could update this above block to say something like:

"If you migrate all of your codebase from 1.x to 2.x in a single go, you should skip this step. However, if you intend to keep them in parallel for a gradual migration, you must do the following:

  1. Update your 1.x version to [release containing Appyx 1.x - Rename integration point #668]
  2. Rename appyxIntegrationPoint usage in 1.x code to appyxV1IntegrationPoint:

(include the above code but for 1.x)

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's do this as a standalone PR for documentation when we have the 1.x version out. Merging this ticket now to close API.

@zsoltk zsoltk merged commit e18d59c into bumble-tech:2.x Feb 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants