Giter VIP home page Giter VIP logo

enigma's Introduction

Awesome Flutter

Enigma

Enigma - A minimalist, locked-down one-to-one chat app.

Usage

  • Flutter - Get Started
  • Since this is a Firebase dependent project, create a Firebase Project and enable
    • Firebase Phone Authentication (for authentication)
    • Cloud Firestore (not Realtime Database)
    • Firebase Storage (for storing images)
    • Firebase In-App Messaging (for custom messages)
  • After enabling the above features, download the google-services.json and paste it in android/app folder.
  • Do flutter packages get to get the packages.
  • Use a device or an emulator and run flutter run.

Notifications

  1. Enable FCM in your Firebase Console.
  2. Notifications use Cloud Functions. Copy the functions directory to the root of your project.
  3. Do firebase deploy --only functions You need to have firebase-cli installed for this command to execute.

Screenshots

Screenshot #1

Firebase Rules for Storage and Cloud Firestore

I've used the following basic rule

allow read, write: if request.auth.uid != null;

but you can be more restrictive if you so wish. For more info - Get Started on Writing Rules

Get it on Google Play

Google Play and the Google Play logo are trademarks of Google LLC.

Features

Authentication: Passcode authentication is enabled which is needed to unlock hidden and locked chats. If your device supports fingerprint authentication, then you can use it as well.

End-To-End Encryption: Your messages are encrypted right from the moment you send it. This makes sure that only the recipient receives the message and NO ONE ELSE.

Hide Chats: You can hide chats to protect against prying eyes. YOU will have to authorize to unhide the chats.

Lock Chats: Hidden chats not secure enough? Lock individual chats which only open after YOU have authorized it.

End Conversations: Once you're done with a conversation, you can choose to end it, by swiping your friend's message from left to right. Doing so will delete all the conversation up until that message.

Save messages: Double tap on any message to save it locally. Saved messages can be viewed by swiping right to left on the chat screen.

No pesky notifications: We do not believe in keeping users addicted to our app by frequent notifications. Chat when you feel like it. We do not bother you with notifications.

No forwarding: Enigma is developed to be an intimate one-to-one chat application. There's no option for forwarding messages. Hence no fake news.

Beautiful, minimal UI: The UI is uncluttered and beautiful. Gestures are used to make it pragmatic instead of using additional screen space.

Less than 10 MB: All the above features are tucked under a measely < 10 MB APK Size.

Acknowledgement

Passcode Widget: https://github.com/xPutnikx/flutter-passcode Apache 2.0 License

enigma's People

Contributors

amitjoki avatar dependabot[bot] 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

enigma's Issues

Activate Notifications

Hi,
thank you for the effort developing this app. So currently I am playing around with it to learn Flutter/Dart.
I wanted to find out how to activate push notifications and also for some reason I cannot upload pictures. When I ant to add a profile pic for example I do not have the "right" to add them. When I open the camera and add a picture which I just took the app seems to load for ever. I then need to close the app but cannot add a picture.

cache network image provider

having a version problem even after changing the version in pubsepc.yaml I'm getting the error

Because Enigma depends on cached_network_image ^2.1.0+1 which depends on flutter_cache_manager ^1.2.0, flutter_cache_manager ^1.2.0 is required.
So, because Enigma depends on flutter_cache_manager ^0.3.2, version solving failed.

Build Apk error

Hi, i get error when try build apk

`registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

ERROR: [TAG] Failed to resolve variable '${junit.version}'

ERROR: [TAG] Failed to resolve variable '${animal.sniffer.version}'

Compiler message:

../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.8.0/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../Downloads/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').

ImageStreamCompleter load(T key, DecoderCallback decode);
^

Target kernel_snapshot failed: Exception: Errors during snapshot creation: null

build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/admin/Downloads/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 776

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/Users/admin/Downloads/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org
    `

Notification is not working

Hey iam nooby with firebase i setup evrey think right and the app is runing the only thing that is not working is the notification can u please explain how does it work ?
Thank you

Messages lost after uninstall/install

Hi,
Since encryption related info is stored in the application data, after uninstall and then reinstall + register with the same phone number, all previous messages before uninstall appear empty.

Since WhatsApp stores the messages locally and gives an option to back them up on Google drive, you never loose old messages after a reinstall.

Do you have any suggestions to overcome this problem in your app?

Not past login screen

Hello amit, the file built but not getting past login screen . loads and loads for ever

End to end encryption

Can you explain a bit about the details of end to end encryption used in this app?

Not getting realtime messages

realtime messages are not working.

In Chat.dart file inside loadMessagesAndListen() method below condition is present.

query.documentChanges.where((doc) {
return doc.oldIndex <= doc.newIndex;
})

If I reverse the condition then I am able to see the realtime messages

query.documentChanges.where((doc) {
return doc.oldIndex >= doc.newIndex;
})

is this condition correct?

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.