Skip to content

Commit ad34a43

Browse files
authored
Merge pull request #158 from funnyzak/upgrade/rn0.70.4
2 parents 1a27e65 + d8baab3 commit ad34a43

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
## Overview
3434

35-
项目使用了 React Native 构建了一个 [V2EX](https://v2ex.com) 移动客户端应用。目的是为了构建一个 React Native 快速开发脚手架。客户端数据完全基于 [V2EX](https://v2ex.com) 开放 API。基于 RN 0.70.3
35+
项目使用了 React Native 构建了一个 [V2EX](https://v2ex.com) 移动客户端应用。目的是为了构建一个 React Native 快速开发脚手架。客户端数据完全基于 [V2EX](https://v2ex.com) 开放 API。基于 RN 0.70.4
3636

3737
`Figma 设计稿` 已经开源,可[从此 Duplicate](https://www.figma.com/community/file/1101074002447399194)
3838

@@ -49,6 +49,7 @@
4949

5050
## 完成
5151

52+
- [x] 升级 RN 到到 **0.70.4**
5253
- [x] 升级 RN 到到 **0.70.3**
5354
- [x] plop 模板创建
5455
- [x] 升级 RN 到到 **0.70.1**
@@ -67,7 +68,7 @@
6768

6869
## Features
6970

70-
1. 基于 React Native 0.70.3 版本。
71+
1. 基于 React Native 0.70.4 版本。
7172
2. 引入 TypeScript 强类型检查,保证维护性、可读性、稳定性。
7273
3. eslint 代码规范检查,prettier 代码美化、Husky 作为 git hooks 进行代码格式化、规范校验。
7374
4. i18n 集成,支持多国语言。实现了语言切换功能。

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ android {
138138
applicationId "github.funnyzak.v2ex"
139139
minSdkVersion rootProject.ext.minSdkVersion
140140
targetSdkVersion rootProject.ext.targetSdkVersion
141-
versionCode 36
142-
versionName "0.8.4"
141+
versionCode 37
142+
versionName "0.8.5"
143143
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
144144

145145
if (isNewArchitectureEnabled()) {

ios/app.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
486486
CLANG_ENABLE_MODULES = YES;
487487
CODE_SIGN_IDENTITY = "iPhone Distribution";
488-
CURRENT_PROJECT_VERSION = 25;
488+
CURRENT_PROJECT_VERSION = 26;
489489
DEVELOPMENT_TEAM = ED4U2734MB;
490490
ENABLE_BITCODE = NO;
491491
INFOPLIST_FILE = app/Info.plist;
@@ -494,7 +494,7 @@
494494
"$(inherited)",
495495
"@executable_path/Frameworks",
496496
);
497-
MARKETING_VERSION = 0.8.4;
497+
MARKETING_VERSION = 0.8.5;
498498
OTHER_LDFLAGS = (
499499
"$(inherited)",
500500
"-ObjC",
@@ -520,15 +520,16 @@
520520
CLANG_ENABLE_MODULES = YES;
521521
CODE_SIGN_IDENTITY = "iPhone Distribution";
522522
CODE_SIGN_STYLE = Manual;
523-
CURRENT_PROJECT_VERSION = 25;
523+
CURRENT_PROJECT_VERSION = 26;
524524
DEVELOPMENT_TEAM = ED4U2734MB;
525+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = ED4U2734MB;
525526
INFOPLIST_FILE = app/Info.plist;
526527
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
527528
LD_RUNPATH_SEARCH_PATHS = (
528529
"$(inherited)",
529530
"@executable_path/Frameworks",
530531
);
531-
MARKETING_VERSION = 0.8.4;
532+
MARKETING_VERSION = 0.8.5;
532533
OTHER_LDFLAGS = (
533534
"$(inherited)",
534535
"-ObjC",
@@ -537,6 +538,7 @@
537538
PRODUCT_BUNDLE_IDENTIFIER = github.funnyzak.v2ex;
538539
PRODUCT_NAME = app;
539540
PROVISIONING_PROFILE_SPECIFIER = "v2ex dist";
541+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "v2ex app dis m1";
540542
SWIFT_VER6.0 = SWIFT_VER6.0;
541543
SWIFT_VERSION = 6.0;
542544
TARGETED_DEVICE_FAMILY = "1,2";

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v2hub",
3-
"version": "0.8.4",
3+
"version": "0.8.5",
44
"description": "This project used React Native to build a V2EX mobile client application. The main goal was to build a React Native rapid development scaffold.",
55
"main": "index.js",
66
"private": false,
@@ -61,7 +61,7 @@
6161
"i18n-js": "^3.8.0",
6262
"lodash": "^4.17.21",
6363
"react": "18.1.0",
64-
"react-native": "0.70.3",
64+
"react-native": "0.70.4",
6565
"react-native-actions-sheet": "^0.8.9",
6666
"react-native-device-info": "^10.3.0",
6767
"react-native-easy-toast": "^2.0.0",

0 commit comments

Comments
 (0)