File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ import JMessage from 'jmessage-react-plugin';
7070## 初始化
7171
7272### init
73-
73+ ** 注意 Android 仍需在 build.gradle 中配置 appKey,具体可以 [ 参考这个文件 ] ( https://github.com/jpush/jmessage-react-plugin/blob/dev/example/android/app/build.gradle ) **
7474初始化插件。建议在应用起始页的构造函数中调用。
7575
7676#### 示例
@@ -84,7 +84,7 @@ JMessage.init({
8484```
8585#### 参数说明
8686
87- - appkey:极光官网注册的应用 AppKey。
87+ - appkey:极光官网注册的应用 AppKey。** Android 仍需配置 app 下 build.gradle 中的 AppKey。 **
8888- isOpenMessageRoaming:是否开启消息漫游,不传默认关闭。
8989- isProduction:是否为生产模式。
9090- channel:(选填)应用的渠道名称。
@@ -1230,4 +1230,4 @@ JMessage.removeUploadProgressListener(listener) // 移除监听(一般在 compon
12301230
12311231- result
12321232 - messageId:消息 id。
1233- - progress:上传进度,从 0-1 float 类型。
1233+ - progress:上传进度,从 0-1 float 类型。
You can’t perform that action at this time.
0 commit comments