From f0577aa66263906f09c87d8580ef6716670f5c99 Mon Sep 17 00:00:00 2001 From: masumulu28 Date: Wed, 14 Feb 2024 09:49:46 +0300 Subject: [PATCH] update: react-native version update: environment & prettier --- templates/app/react-native/.prettierrc | 2 +- templates/app/react-native/Environment.js | 5 ++--- templates/app/react-native/package.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/app/react-native/.prettierrc b/templates/app/react-native/.prettierrc index a42642bf4f..471fac2824 100644 --- a/templates/app/react-native/.prettierrc +++ b/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" diff --git a/templates/app/react-native/Environment.js b/templates/app/react-native/Environment.js index 412ea7b2d2..a4a23995f7 100644 --- a/templates/app/react-native/Environment.js +++ b/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: { diff --git a/templates/app/react-native/package.json b/templates/app/react-native/package.json index 92ac4a714e..d4c5bbc268 100644 --- a/templates/app/react-native/package.json +++ b/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",