Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jul 14, 2019
1 parent a93d9a7 commit f97af54
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion example/flutter_app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# centrifuge_app

A new Flutter project.
Flutter app example.

Before running example make sure you created `chat` namespace in Centrifugo configuration and allowed publishing into channel - i.e. using config like this:

```json
{
...
"namespaces": [
{
"name": "chat",
"anonymous": false,
"publish": true,
"join_leave": true,
"presence": true,
"presence_stats": true
}
]
}
```

Also run Centrifugo in insecure client mode so it does not expect JWT token from client:

```bash
./centrifugo --config config.json --client_insecure
```

## Getting Started

Expand Down

0 comments on commit f97af54

Please sign in to comment.