SelfLender / react-native-biometrics

React Native module for iOS and Android biometrics
MIT License
664 stars 228 forks source link

IOS: Additional option for keychain access group #276

Open marianJ97 opened 9 months ago

marianJ97 commented 9 months ago

Hi, i was just creating Wallet Extension and i realized that if you are using this package in RN, but you want to createSignature in another app, like extensions for ios...its not possible, because the private key is stored in keychain without opportunity to specify accessGroup attribute in kSec query. For now i added just that one option, but maybe later there could be added another attributes if needed and also for android. Thank you if you look on it and i will be glad for some feedback or what to improve. Thank you

NOTE: in index.ts file is changed basically only createKeys function. Other changes should be only prettier formating