-
Notifications
You must be signed in to change notification settings - Fork 61
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
Appyx 2.x - Rename integration point #667
Conversation
### 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) | ||
} | ||
} | ||
} | ||
``` | ||
|
There was a problem hiding this comment.
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:
- Update your 1.x version to [release containing Appyx 1.x - Rename integration point #668]
- Rename
appyxIntegrationPoint
usage in 1.x code toappyxV1IntegrationPoint
:(include the above code but for 1.x)
There was a problem hiding this comment.
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.
Description
Checklist
CHANGELOG.md
if required.