react-native-pinch
react-native-pinch copied to clipboard
Error reading my certificate .cer
The error happens in ios, when I make the request the application stops ...
This is my way of making the request.
pinch.fetch('https://192.168.0.122:9443/rest/comandero/listaUno', {
method: 'GET',
headers: {'Authorization': 'Basic MTIzOg=='},
sslPinning: {
cert: 'APISICARDOS'
}
})
.then(res => console.warn(We got your response! Response - ${res}
))
.catch(err => console.warn(Whoopsy doodle! Error - ${err}
))