I am trying to disable SSL in react native expo
here is what I have tried
import * as https from "https"
const agent = new https.Agent({
rejectUnauthorized: false,
});
let response = await axios(options, { httpsAgent: agent });
But its throwing an error on npm start
While trying to resolve module
httpsfrom fileD:\work\ALPHA OBS\gosi\app\screens\Authentication\signIn.js, the packageD:\work\ALPHA OBS\gosi\node_modules\https\package.jsonwas successfully found. However, this package itself specifies amainmodule field that could not be resolved (D:\work\ALPHA OBS\gosi\node_modules\https\index.js. Indeed, none of these
Please Guide me over this.