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

Fix: Update TypeScript typings for hasInternetCredentials to match native implementations

Open tumor800 opened this issue 3 months ago • 0 comments

The hasInternetCredentials function no longer accepts a string as a parameter.
Both iOS and Android native implementations now expect an options object with a server field.

This PR updates the TypeScript typings to reflect the correct usage:

iOS native implementation: https://github.com/oblador/react-native-keychain/blob/master/ios/RNKeychainManager/RNKeychainManager.m#L655

Android native implementation: https://github.com/oblador/react-native-keychain/blob/master/android/src/main/java/com/oblador/keychain/KeychainModule.kt#L356

tumor800 avatar Oct 27 '25 09:10 tumor800