playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 953 forks source link

Is it possible to disable automatic sign in? #3258

Open henrickJona opened 12 months ago

henrickJona commented 12 months ago

i have a game that is aimed to children and older ages, so i need to implement a neutral age screen, i did it, but automatic sign in keeps triggering, i have read whole documentation, and edited some files from plugin folder, but it seems to not work, please i'd like some information about it, if its possible or not using this plugin

smile616 commented 12 months ago

@henrickJona it is impossible with v11 plugin to disable the automatic sign in. Could you show the age screen after the sign in?

henrickJona commented 12 months ago

@henrickJona it is impossible with v11 plugin to disable the automatic sign in. Could you show the age screen after the sign in?

it is a simple panel with texts and buttons Captura de tela 2023-07-03 144626

henrickJona commented 12 months ago

@henrickJona it is impossible with v11 plugin to disable the automatic sign in. Could you show the age screen after the sign in?

should i downgrade the version? which one is still possible to disable?

smile616 commented 12 months ago

@henrickJona why do you want to show the dialog? Do you follow some documentation that say you have to do that?

henrickJona commented 12 months ago

@henrickJona why do you want to show the dialog? Do you follow some documentation that say you have to do that?

since my app is aimed for children and older ages is necessary to implement it, otherwise im not allowed to use the plugin, google says:

Play Families policy: Apps that target both children and older audiences must not implement APIs or SDKs that are not approved for use in child-directed services unless they are used behind a neutral age screen or implemented in a way that does not result in the collection of data from children. Apps that target both children and older audiences must not require users to sign-in or access app content through an API or SDK that is not approved for use in child-directed services.

the google play games services is included in those API or SDK which are not allowed for use in child-directed services.

henrickJona commented 12 months ago

ideally you should show the age screen after the sign in.

In any case, v10 plugin is still allow the demand sign-in.

ill try this out

henrickJona commented 12 months ago

ideally you should show the age screen after the sign in. In any case, v10 plugin is still allow the demand sign-in.

ill try this out

it worked like a charm, thanks