i am not able to send data in firebase realtime database in flutter application.
getting this error :-
Firebase Database connection was forcefully killed by the server. Will not attempt reconnect. Reason: Database lives in a different region. Please change your database URL to https://jonk-amit-default-rtdb.asia-southeast1.firebasedatabase.app
2
Answers
i updated google-service.json file , now this is working perfectly
This usually means that you are either missing a database URL in your configuration or have a wrong database URL in your configuration. Either way, the solution is to redownload or regenerate the configuration – usually in the same was as you got/generated it the first time around.
We’ve covered this error quite a few times before, so I recommend checking out: