Skip to content

Commit

Permalink
Merge pull request #158 from funnyzak/upgrade/rn0.70.4
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed Oct 27, 2022
2 parents 1a27e65 + d8baab3 commit ad34a43
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

## Overview

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

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

Expand All @@ -49,6 +49,7 @@

## 完成

- [x] 升级 RN 到到 **0.70.4**
- [x] 升级 RN 到到 **0.70.3**
- [x] plop 模板创建
- [x] 升级 RN 到到 **0.70.1**
Expand All @@ -67,7 +68,7 @@

## Features

1. 基于 React Native 0.70.3 版本。
1. 基于 React Native 0.70.4 版本。
2. 引入 TypeScript 强类型检查,保证维护性、可读性、稳定性。
3. eslint 代码规范检查,prettier 代码美化、Husky 作为 git hooks 进行代码格式化、规范校验。
4. i18n 集成,支持多国语言。实现了语言切换功能。
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ android {
applicationId "github.funnyzak.v2ex"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36
versionName "0.8.4"
versionCode 37
versionName "0.8.5"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

if (isNewArchitectureEnabled()) {
Expand Down
10 changes: 6 additions & 4 deletions ios/app.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CURRENT_PROJECT_VERSION = 25;
CURRENT_PROJECT_VERSION = 26;
DEVELOPMENT_TEAM = ED4U2734MB;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = app/Info.plist;
Expand All @@ -494,7 +494,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.8.4;
MARKETING_VERSION = 0.8.5;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -520,15 +520,16 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 25;
CURRENT_PROJECT_VERSION = 26;
DEVELOPMENT_TEAM = ED4U2734MB;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = ED4U2734MB;
INFOPLIST_FILE = app/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.8.4;
MARKETING_VERSION = 0.8.5;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -537,6 +538,7 @@
PRODUCT_BUNDLE_IDENTIFIER = github.funnyzak.v2ex;
PRODUCT_NAME = app;
PROVISIONING_PROFILE_SPECIFIER = "v2ex dist";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "v2ex app dis m1";
SWIFT_VER6.0 = SWIFT_VER6.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "v2hub",
"version": "0.8.4",
"version": "0.8.5",
"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.",
"main": "index.js",
"private": false,
Expand Down Expand Up @@ -61,7 +61,7 @@
"i18n-js": "^3.8.0",
"lodash": "^4.17.21",
"react": "18.1.0",
"react-native": "0.70.3",
"react-native": "0.70.4",
"react-native-actions-sheet": "^0.8.9",
"react-native-device-info": "^10.3.0",
"react-native-easy-toast": "^2.0.0",
Expand Down

0 comments on commit ad34a43

Please sign in to comment.