File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "author" : " pchalupa <chalupa.petr93@gmail.com> (https://github.com/pchalupa)" ,
1010 "license" : " MIT" ,
1111 "homepage" : " https://github.com/pchalupa/expo-network-security-config#readme.md" ,
12- "main" : " index.js" ,
12+ "main" : " plugin/ index.js" ,
1313 "keywords" : [
1414 " react-native" ,
1515 " expo" ,
1616 " expo-network-security-config"
1717 ],
1818 "files" : [
19- " index.js"
19+ " plugin/ index.js"
2020 ],
2121 "scripts" : {
2222 "lint" : " eslint" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ const { join } = require('path');
1010 * @returns {import('@expo/config-types').ExpoConfig } config
1111 */
1212module . exports = function withExpoNetworkSecurityConfig ( config , { enable, networkSecurityConfig } ) {
13- // Early return switch
1413 if ( ! enable ) return config ;
1514
1615 const { getMainApplicationOrThrow } = AndroidConfig . Manifest ;
You can’t perform that action at this time.
0 commit comments