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

[SDK] Add host, wsPort, and wssPort configurations #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MuhmdRaouf
Copy link

Description

This pull request introduces the ability to configure host, wsPort, and wssPort for Android, aligning it with the existing functionality in iOS. Additionally, these configurations are now exposed via JavaScript.

Parameter Android iOS
host
wsPort
wssPort

CHANGELOG

  • [CHANGED] Add host, wsPort, and wssPort options for Android.
  • [CHANGED] Update README.md with the new options.
  • [CHANGED] Update the example app with the new changes.

@Haukez
Copy link

Haukez commented Sep 25, 2024

I created a patch-package patch for this change, including types that were not changed.
npm install patch-package
add "postinstall": "patch-package" to the scripts section of your package.json
add a patches directory to your projects root and put in
@pusher+pusher-websocket-react-native+1.3.1.patch
npm install and you are done. Just remember to let cluster empty when using host and wsPort(wssPort)
have fun

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.

2 participants