Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Congratulations + questions ? #22

Open
postacik opened this issue Dec 26, 2022 · 6 comments
Open

Congratulations + questions ? #22

postacik opened this issue Dec 26, 2022 · 6 comments
Labels
question Usage or code question etc

Comments

@postacik
Copy link

Supports nearly every OS and works beautifully.

This may be the ultimate Airdrop alternative for all the operating systems.

Thanks for sharing.

Two questions:

  1. I assume the files are not encrypted before sending. Is there any other encryption involved other than the TLS encryption during file transfer?

  2. Is file transfer always peer to peer without any relays?

@postacik
Copy link
Author

Third question:

I cloned the project.

I created a new Firebase project and updated __APP__FIREBASE_PROJECT_ID and __APP__FIREBASE_API_KEY values in .env file.

Then I ran "dart tools/scripts.dart app_env" which updated env.dart file.

However I get "flutter: LOG_ERROR: failedAnonSignIn AuthException: ADMIN_ONLY_OPERATION" error when the application starts.

Are there any other Firebase related settings that has to be done?

@postacik postacik changed the title Congratulations! Congratulations + questions ? Dec 26, 2022
@postacik
Copy link
Author

Answer to my 3rd question: I enabled Anonymous sign-in in the Firebase project and it worked.

Maybe you should add this info to README.md :)

@simonbengtsson
Copy link
Owner

Thanks! Glad you like it.

  1. The encryption method used is the one defined as part of the webrtc srtp protocol.
  2. When using Airdash from the app store etc it is using Twilio as a turn server whenever a peer to peer connection is not possible.
  3. Sounds great! If you submit a pull request I'll merge right away.

@postacik
Copy link
Author

postacik commented Dec 27, 2022

Besides enabling anonymous login, you also have storage, functions, firestore and hosting features on Firebase.

I suppose hosting is only for your website's static files.

Can you explain how to initialize the others on the Firebase project to be able to successfully run the application?

And Twilio is never mentioned in the readme. I think it also has a free tier for TURN. Is it possible to explain where to register for it and place the necessary API keys?

@simonbengtsson
Copy link
Owner

Good point! I added the required steps you mentioned now to the readme with a comment on that you also can setup twilio if you want to support turn servers.

@simonbengtsson simonbengtsson added the question Usage or code question etc label Dec 28, 2022
@postacik
Copy link
Author

I think firestore and storage rules (firestore.rules and storage.rules) also need to be deployed using firebase deploy function if they are being used to store data. Am I right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usage or code question etc
Projects
None yet
Development

No branches or pull requests

2 participants