Is it possible to save API Google ’s account in Google account, for example the value of game coins or settings, and then pull it out? If, for example, the person deletes the game, then installs again so that all settings and data are saved in the account. With API Google made authorization in the android application, but how to save the data?

And at the expense of Firebase , you can store data there, but as I understand, there is a restriction on the simultaneous connection to the database on a free account. It seems the number of restrictions: 100 people were, is it possible to connect, take data and disconnect?

And yet, I need to use their authorization (i.e. for users) to connect to the database or can I create 1 login and use it from all users, how can I authenticate and take certain data?

  • Isn’t the google play service created for this purpose (saving the player’s progress), why invent something of your own? - pavlofff
  • The @pavloff google play service only does what saves progress ie player's account, and the number of coins, settings, etc. He Doesn't Save - Iman

1 answer 1

1) The connection quota acts on simultaneous connections (at the moment - no more than 100 connections). This means that if a person came in, did his work and went out - his connection is released.
2) Data in a google account cannot be saved, you can save a unique id (for example, device token) devices, make a button like "recover data" on which you will send all data from your database to the client (not the firebase database, but from the database to your server) As an option, you can of course from your database, and not clean the firebase, but then on the frishnom account you can quickly fill up the entire place (depending on the size of the project, of course)
3) You can not use their authorization if you configure the rules of the firebase database correctly
4) There is also a quota for receiving data from the database, as many as a GB per month

  • but there is a moment there, I'm talking about your 4 point, that how much I used, you pay so much. Do you have to pay once a month? There the prices are: $ 5 / GB $ 1 / GB, and if I use less than 1 GB for example, do I still have to pay for 1 GB? And how much in your opinion will the size of 3 rows in the table, the name of the account, the number of coins, and one more number of coins weigh? - Iman
  • one
    @Iman here's an article about “how much you used, and pay so much” habrahabr.ru/company/everydaytools/blog/329282 - ermak0ff
  • @Iman To the topic as you use - you pay so much. If you don’t use 1GB, it’s better not to pay. If you are sure that you are using the whole free limit, take Blaze, 3 lines in the database will not pull on the gig, and the traffic will not be eaten in a month, but again, everything is just in words, you can calculate more approximate numbers, how many users are planned, how many calls to the database are planned, etc. - Klimenkomud