Git Product home page Git Product logo

hajerwael / offline-flutter-nearby-chat-app Goto Github PK

View Code? Open in Web Editor NEW
29.0 0.0 5.0 132 KB

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

Home Page: https://pub.dev/packages/flutter_nearby_connections

Kotlin 0.28% Swift 0.77% Objective-C 0.07% Dart 41.96% HTML 7.58% CMake 15.78% C++ 32.16% C 1.40%
dart flutter chat nearby-connection p2p

offline-flutter-nearby-chat-app's Introduction

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

offline-flutter-nearby-chat-app's People

Contributors

hajerwael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

offline-flutter-nearby-chat-app's Issues

Urgent Problem

The problem is as follows:
image
I don't know whether the problem is in the dependency(flutter_nearby_connections), I try everything in order to solve it.
I need some hints or solutions, plz. Thank u!

Not working with Android 12, and iOS 15.6

Thank you for this great library.
I guess your library is not functioning with Android 12. The Android 12 device cannot be discovered.

Tested scenarios:
Android 10 (Samsung S9) browser, Android 12 (Samsung A31) Advertiser (NOT WORKING)

Android 10 browser, iOS 15.6 (iPhone 13) Advertiser (NOT WORKING)

Flutter version: 3.0.5
compileSdkVersion 33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.