Firebase Real Time Database Has Been Deleted but Can still log in - swift

Yesterday my firebase app was working fine, and all of a sudden the Real-time database has been deleted. Is anyone else experiencing this? I can log in ok, but all my clients cannot fetch their data and neither can I. Please tell me this has happened before and it will come back to normal. I am currently on a flame plan with firebase.
Not a good look with my clients =(
any feedback is appreciated.
Thanks
C

Firebase Real Time Database and Firebase Auth both are different section and keep data separately. If your Firebase Real Time database has been deleted that means not deleted data of Auth.

Firebase Support was awesome in helping, however just received an email that they did not restore my data. Really weird, that it popped up out of nowhere. Has anyone else experienced this? In my console, the data branches where not there and it all looked deleted, I then had to click create a database and go to Real-time database and all of a sudden, an hour later, all my data showed on my screen. How is this possible? Crazy crazy crazy...

Related

How to save data to Firebase RealTime Database in iOS?

As you can see in the picture below, every time I want to save data to the Firebase RealTime Database, I get these red "alerts" and the data won't be saved.
Initially, I thought it was an error of Authentication, but then I configured that too and still can't save data, although I can read it.
Do you know a way to resolve it? Or am I missing something or doing something wrong?
Thanks for your answers :)
If this was an authentication problem, the console would never show the data to begin with.
More likely you have another piece of code somewhere in your app (or in a backend process) that is listening to this same data, and writing back to the same location when it gets called.

How to use sharing with CoreData/CloudKit synching

I have an app that works well synchronizing the local core data records with a private database. I would like to make the CloudKit database a shared database and then selectively share records with users. Is this even possible.
In other words, I'd like to continue having the Core Data/CloudKit sync working, but with the records that get synched limited to the user's share(s).
Does anyone have examples or a link to a discussion of this?
Apple solved this last year at WWDC21
Here is a link to the video
https://developers.apple.com/videos/play/wwdc2021/10015/
and some useful example code:
https://github.com/delawaremathguy/CoreDataCloudKitShare

sending notification to my flutter app when mysql database is updated

I was to send a notification to my flutter app when a certain table is updated.
the find that I can connect it to firebase and it will be solved but my tables are already made and the app is about to finish I can't waste more time.
I came up with a solution that I send an HTTP request and check if there is anything new every minute, but it would cost a lot of Bytes so I wont to try something else.
is there a way to get the information when it is added or within a small time frame.
You can try the socket io which will help to detect onUpdate

Cloudkit Production Records Disappeared

An entire table of Cloudkit records just disappeared from my public production database. The other table of records was intact. I didn't do anything to delete these records. I looked at the logs and I couldn't see anything that looked out of the ordinary. I have no idea how this could have possibly happened. Is CloudKit so unstable that this can just happen randomly? Can anyone give me some insight on this - how can I go about tracking down the source of this issue? Should I assume this is a CloudKit issue? Is there a way to tell what actually happened?
Per one of my dev friends on Twitter, it's a known issue regarding indexes (not data), and Apple's working on it. No ETA I'm aware of, as of 11PM CST.
My app has 8 tables and 3 of them are 'missing' record data.

Why the data is not saved in database?

I am trying to save some data from GPS to a local database. First time when i am entering data, it saves all velues. But after clear the data entry sheet it not saved in database. When i quit the app and again save some data, it enters easily. I m confused what happens in my app ? Any help really appreciated.
Thanks in advance.
Try to debug your app. It seems you are passing some wrong arguments. You need to debug your app. You can use FMDB for all the sqlite purpose. It is very easier to use and very easy to manage.
Have you commited the changes in the DataBase?
Before you decide to use database (SQLite) , make sure you really need a database. If all you need is to persist data and retrive it back (and not querying) , try to do archiving / serialization. See Serialization vs. Archiving? for quick info on them
If your requirement is to have a database, #Rahul's suggestion is the best.