UNPKG

react-native-ssl-manager

Version:

React Native SSL Pinning provides seamless SSL certificate pinning integration for enhanced network security in React Native apps. This module enables developers to easily implement and manage certificate pinning, protecting applications against man-in-th

35 lines (33 loc) 1.05 kB
// React Native SSL Manager Auto-linking Configuration module.exports = { dependencies: { 'react-native-ssl-manager': { platforms: { android: { sourceDir: '../android', packageImportPath: 'import com.usesslpinning.UseSslPinningPackage;', packageInstance: 'new UseSslPinningPackage()', // Auto-setup SSL config copy script buildTypes: [], componentDescriptors: [], cmakeListsPath: null, }, ios: { podspecPath: '../react-native-ssl-manager.podspec', }, }, hooks: { postlink: () => { console.log('🔗 React Native SSL Manager linked successfully'); console.log('📋 SSL config auto-copy script is now available'); console.log( '💡 Android: Run "cd android && ./gradlew checkSslConfig" to verify setup' ); console.log( '💡 iOS: ssl_config.json will be auto-copied during build' ); }, }, }, }, };