Skip to content

Migrate PackagerConnectionSettings.java to Kotlin - #45800

Closed
OmarBafagih wants to merge 1 commit into
react:mainfrom
OmarBafagih:export-D60296462
Closed

Migrate PackagerConnectionSettings.java to Kotlin#45800
OmarBafagih wants to merge 1 commit into
react:mainfrom
OmarBafagih:export-D60296462

Conversation

@OmarBafagih

Copy link
Copy Markdown
Contributor

Summary: convert PackagerConnectionSettings.java to PackagerConnectionSettings.kt

Reviewed By: rshest

Differential Revision: D60296462

Summary: convert PackagerConnectionSettings.java to PackagerConnectionSettings.kt
Reviewed By: rshest
Differential Revision: D60296462
@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 29, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D60296462

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in ea78d68.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @OmarBafagih in ea78d68

When will my fix make it into a release? | How to file a pick request?

facebook-github-bot pushed a commit that referenced this pull request Oct 14, 2024
Summary:
When migrating `PackagerConnectionSettings` from Java to Kotlin in #45800 the new class ended up being declared as final, causing a breaking change in 0.76.
We should add the `open` directive to `PackagerConnectionSettings.kt` to restore the old behavior. That would be crucial for the `expo-dev-client` package, given that Expo needs to be able to extend this class in order to overwrite the `debugServerHost` value.
## Changelog:
[ANDROID] [FIXED] - Make PackagerConnectionSettings class open again
Pull Request resolved: #47005
Test Plan: Run RNTester on Android
Reviewed By: huntie
Differential Revision: D64323645
Pulled By: cortinico
fbshipit-source-id: 6870a3dee929ba664e4c402f321f84af7704f892
blakef pushed a commit that referenced this pull request Oct 15, 2024
Summary:
When migrating `PackagerConnectionSettings` from Java to Kotlin in #45800 the new class ended up being declared as final, causing a breaking change in 0.76.
We should add the `open` directive to `PackagerConnectionSettings.kt` to restore the old behavior. That would be crucial for the `expo-dev-client` package, given that Expo needs to be able to extend this class in order to overwrite the `debugServerHost` value.
## Changelog:
[ANDROID] [FIXED] - Make PackagerConnectionSettings class open again
Pull Request resolved: #47005
Test Plan: Run RNTester on Android
Reviewed By: huntie
Differential Revision: D64323645
Pulled By: cortinico
fbshipit-source-id: 6870a3dee929ba664e4c402f321f84af7704f892
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@OmarBafagih@facebook-github-bot@react-native-bot