react-native-rsa-native icon indicating copy to clipboard operation
react-native-rsa-native copied to clipboard

On iOS RSAKeychain.getPublicKey returns an object instead of a string

Open leabaertschi opened this issue 2 years ago • 1 comments

When calling RSAKeychain.getPublicKey() on iOS, it returns an object {public: string} instead of a string. The app was built with XCode 14 and react-native 0.69.6.

leabaertschi avatar Oct 21 '22 08:10 leabaertschi

I confirm. The return value from getPublicKey or getPublicKeyRSA on iOS is of the type PublicKey, not a string. On Android it's a string.

hanyufoodles avatar Mar 22 '24 10:03 hanyufoodles