PubNub Key Concepts
PubNub’s globally distributed network infrastructure powers three core services from which all other features build upon:
- Publish/Subscribe: this is the messaging pattern for how to stream data in realtime across the PubNub network for realtime updates and IoT.
- PubNub Functions: this enables you to run code directly inside the PubNub network, which executes on your data as it is being streamed between senders and receivers.
What Is Flutter?
Flutter is Google’s portable UI toolkit for building beautiful, natively-compiled applications for mobile, web, and desktop from a single codebase.
What This Package Do
This plugin lets you integrate Pubnub in your app.
Android : To use this plugin you must migrate to AndroidX and set your minSdkVersion to at least 20.
Here Are The Methods To Use This Package
- To Initialize
- Listen to change in status or msg
- Subscribe to channels
- Publish msg to a channel
- Unsubscribe to channels