This is a basic flutter app which shows how to use Token Authentication for Ably.
Warning:
- On iOS, secure transport is disabled to allow using a local http server to perform authentication. You can remove this by deleting the
NSAppTransportSecurity
dictionary inios/Info.plist
- On Android,
android:usesCleartextTraffic="true"
is setAndroidManifest.xml
. - To connect to a local server on your machine from an Android device, use
adb reverse tcp:8000 tcp:8000
.