memspace / zefyr

Soft and gentle rich text editing for Flutter applications.
https://zefyr-editor.gitbook.io
2.22k stars 551 forks source link

Integration with Firebase #156

Closed me-abhishekpal closed 4 years ago

me-abhishekpal commented 4 years ago

Hi @pulyaevskiy

I have an app that I am working on which is integrated with Firebase for getting the Form filled via the user and submit it to firebase.

I want to take marked up content from the user and want to submit that as a rich text file in firebase storage.

Can you please help me with that ?

I could not get any idea of getting it integrated with Firebase.

Thanks in advance !

r/abhee

pulyaevskiy commented 4 years ago

You can check out new Quick Start tutorial which I updated recently with examples of how to save and load documents. Those examples simply show how to save a document into a local file, but it should be fairly straightforward to extend these and add Firebase Storage upload step.

Look at _loadDocument() and _saveDocument() methods. Hope this helps.

AlexMainaMunyua commented 4 years ago

Hi @pulyaevskiy Regarding the issue on Integrating with firebase, are we supposed to save the document in firebase storage or firebase database.

cgestes commented 4 years ago

I would be you are supposed to save it in database, especially if you want realtime collaboration.

On Tue, Dec 10, 2019 at 7:01 AM Alex Maina notifications@github.com wrote:

Hi @pulyaevskiy https://github.com/pulyaevskiy Regarding the issue on Integrating with firebase, are we supposed to save the document in firebase storage or firebase database.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/memspace/zefyr/issues/156?email_source=notifications&email_token=AAAL75LVRBIDJ4NEIWR7UETQX4WCNA5CNFSM4IUQ3SN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGOBUEI#issuecomment-563878417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAL75OMNLLGAR7EZKM3HDTQX4WCNANCNFSM4IUQ3SNQ .

pulyaevskiy commented 4 years ago

Yes, it very much depends on your needs and requirements. From Zefyr point of view it doesn’t matter where documents are saved to or loaded from.

As far as I know you can save documents in either database and it’s really up to you to pick one that suits your needs.

marc-walton commented 4 years ago

Hi @pulyaevskiy

I have an app that I am working on which is integrated with Firebase for getting the Form filled via the user and submit it to firebase.

I want to take marked up content from the user and want to submit that as a rich text file in firebase storage.

Can you please help me with that ?

I could not get any idea of getting it integrated with Firebase.

Thanks in advance !

r/abhee

Hey did you integrate it firebase?Can you please help me?

me-abhishekpal commented 4 years ago

No I did not, I dropped the idea as of now !

maditya01 commented 3 years ago

please any one tell me how i connect upload data(post) in zefyreditor in firebase database