-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathreact-native.config.js
More file actions
34 lines (33 loc) · 1.02 KB
/
react-native.config.js
File metadata and controls
34 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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'
);
},
},
},
},
};