Skip to content

Commit

Permalink
mention react native on android issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia authored Jan 30, 2025
1 parent 8de6b05 commit d957960
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The features implemented by this SDK can be found in [SDK feature matrix](https:
* [Protobuf support](#protobuf-support)
* [Using with NodeJS](#using-with-nodejs)
* [Custom WebSocket constructor](#custom-websocket-constructor)
* [Using with React Native on Android](#using-with-react-native-on-android)
* [Run tests locally](#run-tests-locally)

## Install
Expand Down Expand Up @@ -817,6 +818,10 @@ var centrifuge = new Centrifuge('ws://localhost:8000/connection/websocket', {

See a basic example with React Native where this technique is used [in this comment](https://github.com/centrifugal/centrifuge-js/issues/224#issuecomment-1538820023).

## Using with React Native on Android

If you have issues with the connection on Android when using React Native – [check out this comment](https://github.com/centrifugal/centrifuge-js/issues/242#issuecomment-2569474401) – you probably using non-secure endpoint schemes and need to explicitly allow it.

## Run tests locally

If you want to run `centrifuge-js` tests locally, start test Centrifugo server:
Expand Down

0 comments on commit d957960

Please sign in to comment.