Browse Source

update: react-native version

update: environment & prettier
pull/19011/head
masumulu28 2 years ago
parent
commit
f0577aa662
  1. 2
      templates/app/react-native/.prettierrc
  2. 5
      templates/app/react-native/Environment.js
  3. 2
      templates/app/react-native/package.json

2
templates/app/react-native/.prettierrc

@ -2,7 +2,7 @@
"trailingComma": "all",
"singleQuote": true,
"jsxSingleQuote": false,
"printWidth": 100,
"printWidth": 80,
"semi": true,
"jsxBracketSameLine": true,
"arrowParens": "avoid"

5
templates/app/react-native/Environment.js

@ -1,6 +1,5 @@
const yourIP = 'Your Local IP Address etc 192.168.1.64'; // See the docs https://docs.abp.io/en/abp/latest/Getting-Started-React-Native?Tiered=No
const port = 44305;
const yourIP = 'localhost'; // See the docs https://docs.abp.io/en/abp/latest/Getting-Started-React-Native?Tiered=No
const port = 44305;
const apiUrl = `http://${yourIP}:${port}`;
const ENV = {
dev: {

2
templates/app/react-native/package.json

@ -24,7 +24,7 @@
"prop-types": "^15.8.1",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.5",
"react-native": "0.70.8",
"react-native-chart-kit": "^6.11.0",
"react-native-gesture-handler": "~2.8.0",
"react-native-reanimated": "~2.12.0",

Loading…
Cancel
Save