Nubescope/react-native-facebook-account-kit

Phone number not getting autofilled

jose2007kj opened this issue · 6 comments

Issue Description

[Phone number not getting auto filled in android]

Steps to Reproduce / Code Snippets

[added the permission in manifest file for read phone state]

Expected Results

[phone number field gets auto filled instead of user typing it]

Additional Information

  • React Native Account Kit version: [^0.9.3]
  • React Native version: [0.57.0]
  • Platform(s) (iOS, Android, or both?): [Android]
  • Platform Version(s): [android version 5.1.1(lollipop)]

Set accountKitSdkVersion to 4.29.0 in root build.gradle
setInitialPhoneNumber is not working after 4.29.0

ext {
    accountKitSdkVersion = '4.29.0'
}

thanks @nil1511 i will check

@nil1511 on changing the account kitsdk version in

node_modules/react-native-facebook-account-kit
/android/build.gradle

my app crashed, where i might be going wrong

@jose2007kj update in PROJECT_FOLDER/android/build.gradle not in node_modules.

ok thanks. @nil1511 ... will check

hi @nil1511 sorry, it seems its because i need to request runtime permission for new versions of android.....it worked when manually enabled the permissions in settings
page..... once again thanks