Syncing app data to Google Account

后端 未结 2 1066
长情又很酷
长情又很酷 2020-12-14 19:21

How exactly does one use the Google account sign in feature in Android Apps?

For example, is it possible to store application data such as tables, shared preferences

2条回答
  •  猫巷女王i
    2020-12-14 20:13

    Unfortunately Storing app data is deprecated now. Here is a discussion about a way to replace it. In general Google recommends to use slutions like Cloud Firestore:

    Accessing App Data
    Support for storing and syncing in the app data folder will likely be removed from Drive in the future. Clients requiring app data storage are strongly encouraged to migrate to a non-Drive solution such as Cloud Firestore.

提交回复
热议问题