Skip to content

Commit eda4f78

Browse files
committed
Merge branch 'master' into dev
2 parents 7de048e + aee23bf commit eda4f78

File tree

17 files changed

+171
-230
lines changed

17 files changed

+171
-230
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
example/
2+
documents/
23
.github/
34
.idea/

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# JPush React Native Plugin
55

6-
[English Document](https://github.com/jpush/jpush-react-native/blob/master/example/documents/ReadMeEn.md)
6+
[English Document](README_en.md)
77

88
## NOTE:
99

@@ -54,9 +54,9 @@ npm run configureJPush d4ee2375846bc30fa51334f5 app
5454
react-native link
5555
```
5656

57-
自动配置操作会自动插入 Native 代码(iOS 中使用 Appdelegate.m 文件名,如果修改了该文件名需要手动插入[代码](https://github.com/jpush/jpush-react-native/blob/master/example/documents/iOS_Usage.md)),这个部分用户无需关系具体细节,如果实在想了解加入代码的细节可以查看如下链接
57+
自动配置操作会自动插入 Native 代码(iOS 中使用 Appdelegate.m 文件名,如果修改了该文件名需要手动插入[代码](documents/ios_usage.md)),这个部分用户无需关系具体细节,如果实在想了解加入代码的细节可以查看如下链接
5858

59-
* [iOS 自动配置后自动添加的代码](https://github.com/jpush/jpush-react-native/blob/master/example/documents/iOS_Usage.md)
59+
* [iOS 自动配置后自动添加的代码](documents/ios_usage.md)
6060

6161
### 2.手动操作部分(自动配置后,部分操作需要手动修改)
6262

@@ -100,29 +100,27 @@ dependencies {
100100

101101
将此处的 yourApplicationId 替换为你的项目的包名;yourAppKey 替换成你在官网上申请的应用的 AppKey。
102102

103-
* [检查添加的配置项](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Check.md)
103+
* [检查添加的配置项](documents/check.md)
104104

105-
* [加入 JPushPackage,有参数!](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Android%20Usage.md)
105+
* [加入 JPushPackage,有参数!](documents/android_usage.md)
106106

107107
### API
108108

109109
**Android v1.6.6 版本后新增 notifyJSDidLoad,请务必在接收事件之前调用此方法。**
110110

111-
* [API](./example/documents/APIs.md)
111+
* [API](documents/api_en.md)
112112

113113
### 关于点击通知跳转到指定界面
114114

115115
* Android
116116

117-
v1.6.7 新增 API `jumpToPushActivity`,使用参考 [demo](./example/react-native-android/push_activity.js#L113)
117+
v1.6.7 新增 API `jumpToPushActivity`,使用参考 [demo](example/App.js#L113)
118118

119-
## [常见问题](./example/documents/common_problems.md)
120-
121-
### [关于更新 RN](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Update%20React%20Native.md)
119+
## [常见问题](./documents/common_problems.md)
122120

123121
---
124122

125-
贡献者列表
123+
## 贡献者列表
126124

127125
* [bang88](https://github.com/bang88)
128126
* [pampang](https://github.com/pampang)
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npm run configureJPush d4ee2375846bc30fa51334f5 app
3838
react-native link
3939
```
4040

41-
If you want to know what auto configuration script does, see [The codes iOS auto configuration script adds](https://github.com/jpush/jpush-react-native/blob/master/example/documents/iOS_Usage.md) for detail, otherwise ignore this.
41+
If you want to know what auto configuration script does, see [The codes iOS auto configuration script adds](documents/ios_usage.md) for detail, otherwise ignore this.
4242

4343
### 2.Manual configuration part(After auto configure, you need modify specific files manually)
4444

@@ -83,20 +83,18 @@ dependencies {
8383

8484
Change yourApplicationId to your actual package name;change yourAppKey to your AppKey apply from our website.
8585

86-
* [Check configuration to see if matchs](https://github.com/jpush/jpush-react-native/blob/master/example/documents/CheckEn.md)
87-
* [Add JPushPackage](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Android%20Usage.md)
86+
* [Check configuration to see if matchs](documents/check_en.md)
87+
* [Add JPushPackage](documents/android_usage.md)
8888

8989
### API
9090

91-
* [Common](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Common.md)
92-
* [Android API](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Android%20API.md)
93-
* [iOS API](https://github.com/jpush/jpush-react-native/blob/master/example/documents/iOS_API.md)
94-
95-
### [About update React Native](https://github.com/jpush/jpush-react-native/blob/master/example/documents/Update%20React%20Native.md)
91+
* [Common](documents/common.md)
92+
* [Android API](documents/android_api.md)
93+
* [iOS API](documents/ios_api.md)
9694

9795
---
9896

99-
贡献者列表
97+
### Contributors
10098

10199
* [bang88](https://github.com/bang88)
102100
* [pampang](https://github.com/pampang)
File renamed without changes.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This document is a guidance for how to use jpush-react-native in Android.
1414

1515
##### RN 0.29.0 以上版本
1616

17-
* 打开 app 下的 MainApplication.java 文件,然后加入 JPushPackage,[参考 demo](https://github.com/jpush/jpush-react-native/blob/master/example/android/app/src/com/pushdemo/MainApplication.java):
17+
* 打开 app 下的 MainApplication.java 文件,然后加入 JPushPackage,[参考 demo](../example/android/app/src/main/java/com/pushdemo/MainApplication.java):
1818

1919
> app/MainApplication.java
2020
@@ -60,7 +60,6 @@ public class MainApplication extends Application implements ReactApplication {
6060
SoLoader.init(this, /* native exopackage */ false);
6161
}
6262
}
63-
6463
```
6564

6665
### import JPushModule
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[English document](./APIs.md)
1+
[English document](api_en.md)
22

33
* [Common API](#common-api)
44
* [getRegistrationID](#getregistrationid)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[中文文档](./APIs_zh.md)
1+
[中文文档](api.md)
22

33
* [Common API](#common-api)
44
* [getRegistrationID](#getregistrationid)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)