juliandramirez / react-native-user-identity

Get the user id configured for the device (iCloud recordID for iOS, email of a device account for android)
Apache License 2.0
31 stars 12 forks source link

is it possible to change style of prompt dialog on android? #35

Closed nikkizol closed 1 year ago

nikkizol commented 1 year ago

Calling this - RNUserIdentity.getUserId({}); prompts dialog ,Choose an account' which takes full width of the screen and it has different style then regular Alert. any idea how to fix it? IMG_5274

juliandramirez commented 1 year ago

The styles are OS-dependent as far as I'm aware of. On Android, it is defined by the default styling of the modal that is triggered by "android.accounts.AccountManager. newChooseAccountIntent"

If you can find a way to set styles there do let me know.