HMS-Core / hms-react-native-plugin

This repo contains all of React-Native HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
240 stars 68 forks source link

[react-native-hms-account] HUAWEI ID signInWithIdToken: Scope email address option getting as unselected #145

Closed dorapax-lab closed 2 years ago

dorapax-lab commented 2 years ago

Description When I signed in with id token, I want to get mandatory the obtain your email address option. But currently the option is there but default unselected. I am passing authScopeList: [HMSAuthScopeListConstants.EMAIL] for scope as well.

Expected behavior obtain your email address option should be default selected and disabled.

Current behavior obtain your email address option is unselected and user need to select it.

Screenshots image

Logs Post logs here or paste them to Ghostbin and insert the link here.

Environment

betulerkoc commented 2 years ago

Hi,

Only profile is selected by default. email cannot be set as default selected since it should be an option to be requested from user and unfortunately we cannot manipulate this part.

Thank you for your interest.

aktug commented 2 years ago

Hi, thank you @betulerkoc 👍👍