Skip to content

Mobile App. built with flutter allows chatting between devices offline based on nearby connection package

Notifications You must be signed in to change notification settings

HajerWael/offline-flutter-nearby-chat-app

Repository files navigation

Nearby Connection API

What is it ? Why use for ?

Nearby Connections enables advertising, discovery, and connections between nearby devices in a fully-offline peer-to-peer manner. Connections between devices are high-bandwidth, low-latency, and fully encrypted to enable fast, secure data transfers.

Package

https://pub.dev/packages/flutter_nearby_connections

Reference Repository

special thanks to this repo. which I have used as a base to start developing my chat app. https://github.com/VNAPNIC/flutter_nearby_connections

About App.

This chat application is a mobile app. that is developed using flutter/dart to allow devices(android/iPhone) to connect with each other using the nearby connection in an offline mode by advertising and browsing, once the connection is established, users start to make a conversion with each other by sending text messages then disconnect after they finish.

You can find more Info in detailed about how is working https://developers.google.com/nearby/connections/overview

Notes

  1. Regarding to android, you need real devices for testing, unlike IOS can be done using simulators.
  2. Dont forget to enable nearby which will by default turn on (wifi,bluetooth and location) before start.
  3. This is the first version that contains the basic features of chat like sending a text message, not attachments or audio voice, It can be improved later on.

Screenshots of Testing

Android to Android

Screenshot (250) Screenshot (258) Screenshot (251) Screenshot (252) Screenshot (253) Screenshot (254) Screenshot (255) Screenshot (256) Screenshot (257)

IPhone to IPhone

About

Mobile App. built with flutter allows chatting between devices offline based on nearby connection package

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published