Skip to content

Commit 9c2973c

Browse files
authored
Merge pull request #53 from jpush/dev
V0.0.13
2 parents 14c476d + 54967f5 commit 9c2973c

File tree

14 files changed

+363
-318
lines changed

14 files changed

+363
-318
lines changed

.packages

Lines changed: 55 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,56 @@
1-
# Generated by pub on 2018-12-28 11:16:51.907295.
2-
analyzer:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.33.0/lib/
3-
args:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.0/lib/
4-
async:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.0.8/lib/
5-
boolean_selector:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.4/lib/
6-
charcode:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
7-
collection:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
8-
convert:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.0.2/lib/
9-
crypto:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.0.6/lib/
10-
csslib:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/csslib-0.14.6/lib/
11-
front_end:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/front_end-0.1.6/lib/
12-
glob:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/glob-1.1.7/lib/
13-
html:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/html-0.13.3+3/lib/
14-
http:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0/lib/
15-
http_multi_server:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/http_multi_server-2.0.5/lib/
16-
http_parser:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3/lib/
17-
io:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/io-0.3.3/lib/
18-
js:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/
19-
json_rpc_2:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/json_rpc_2-2.0.9/lib/
20-
kernel:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/kernel-0.3.6/lib/
21-
logging:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/logging-0.11.3+2/lib/
22-
matcher:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.3+1/lib/
23-
meta:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/
24-
mime:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/mime-0.9.6+2/lib/
25-
mockito:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/mockito-3.0.0/lib/
26-
multi_server_socket:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/multi_server_socket-1.0.2/lib/
27-
node_preamble:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/node_preamble-1.4.4/lib/
28-
package_config:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/package_config-1.0.5/lib/
29-
package_resolver:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/package_resolver-1.0.6/lib/
30-
path:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.2/lib/
31-
platform:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/platform-2.2.0/lib/
32-
plugin:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/plugin-0.2.0+3/lib/
33-
pool:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/pool-1.3.6/lib/
34-
pub_semver:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/pub_semver-1.4.2/lib/
35-
shelf:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/shelf-0.7.3+3/lib/
36-
shelf_packages_handler:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_packages_handler-1.0.4/lib/
37-
shelf_static:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_static-0.2.8/lib/
38-
shelf_web_socket:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_web_socket-0.2.2+4/lib/
39-
sky_engine:file:///Applications/flutter/bin/cache/pkg/sky_engine/lib/
40-
source_map_stack_trace:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/source_map_stack_trace-1.1.5/lib/
41-
source_maps:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/source_maps-0.10.8/lib/
42-
source_span:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.4.1/lib/
43-
stack_trace:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
44-
stream_channel:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-1.6.8/lib/
45-
string_scanner:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.4/lib/
46-
term_glyph:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.0.1/lib/
47-
test:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/test-1.3.4/lib/
48-
typed_data:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
49-
utf:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/utf-0.9.0+5/lib/
50-
vector_math:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
51-
vm_service_client:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/vm_service_client-0.2.6/lib/
52-
watcher:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/watcher-0.9.7+10/lib/
53-
web_socket_channel:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-1.0.9/lib/
54-
yaml:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/yaml-2.1.15/lib/
1+
# Generated by pub on 2019-07-24 14:38:49.565093.
2+
analyzer:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/analyzer-0.37.0/lib/
3+
args:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/args-1.5.2/lib/
4+
async:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/async-2.3.0/lib/
5+
boolean_selector:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.5/lib/
6+
charcode:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib/
7+
collection:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib/
8+
convert:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/convert-2.1.1/lib/
9+
crypto:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/crypto-2.0.6/lib/
10+
csslib:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/csslib-0.16.1/lib/
11+
flutter:file:///Users/shikk/Documents/flutter/packages/flutter/lib/
12+
front_end:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/front_end-0.1.20/lib/
13+
glob:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/glob-1.1.7/lib/
14+
html:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/html-0.14.0+2/lib/
15+
http:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/http-0.12.0+2/lib/
16+
http_multi_server:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/http_multi_server-2.1.0/lib/
17+
http_parser:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/http_parser-3.1.3/lib/
18+
io:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/io-0.3.3/lib/
19+
js:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/js-0.6.1+1/lib/
20+
kernel:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/kernel-0.3.20/lib/
21+
matcher:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.5/lib/
22+
meta:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/meta-1.1.6/lib/
23+
mime:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/mime-0.9.6+3/lib/
24+
mockito:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/mockito-3.0.2/lib/
25+
multi_server_socket:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/multi_server_socket-1.0.2/lib/
26+
node_preamble:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/node_preamble-1.4.5/lib/
27+
package_config:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/package_config-1.0.5/lib/
28+
package_resolver:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/package_resolver-1.0.10/lib/
29+
path:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/path-1.6.2/lib/
30+
pedantic:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/pedantic-1.8.0+1/lib/
31+
platform:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/platform-2.2.0/lib/
32+
pool:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/pool-1.4.0/lib/
33+
pub_semver:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/pub_semver-1.4.2/lib/
34+
shelf:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/shelf-0.7.5/lib/
35+
shelf_packages_handler:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/shelf_packages_handler-1.0.4/lib/
36+
shelf_static:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/shelf_static-0.2.8/lib/
37+
shelf_web_socket:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/shelf_web_socket-0.2.3/lib/
38+
sky_engine:file:///Users/shikk/Documents/flutter/bin/cache/pkg/sky_engine/lib/
39+
source_map_stack_trace:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/source_map_stack_trace-1.1.5/lib/
40+
source_maps:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/source_maps-0.10.8/lib/
41+
source_span:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.5.5/lib/
42+
stack_trace:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib/
43+
stream_channel:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.0.0/lib/
44+
stream_transform:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/stream_transform-0.0.19/lib/
45+
string_scanner:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.0.4/lib/
46+
term_glyph:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.1.0/lib/
47+
test:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/test-1.6.5/lib/
48+
test_api:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.6/lib/
49+
test_core:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/test_core-0.2.7/lib/
50+
typed_data:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib/
51+
vector_math:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.0.8/lib/
52+
vm_service_lib:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/vm_service_lib-3.22.2/lib/
53+
watcher:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/watcher-0.9.7+12/lib/
54+
web_socket_channel:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/web_socket_channel-1.0.14/lib/
55+
yaml:file:///Users/shikk/.pub-cache/hosted/pub.flutter-io.cn/yaml-2.1.16/lib/
5556
jpush_flutter:lib/

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.0.13
2+
3+
featurn:
4+
适配flutter 1.7.8
5+
升级 jpush sdk 版本为3.3.4
6+
17
## 0.0.12
28

39
featurn: 修改LocalNotification的属性名为"extra"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
```yaml
99
dependencies:
10-
jpush_flutter: 0.0.12
10+
jpush_flutter: 0.0.13
1111
```
1212
1313
### 配置

android/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ android {
3434
}
3535

3636
dependencies {
37-
implementation 'cn.jiguang.sdk:jpush:3.1.6' // 此处以JPush 3.1.6 版本为例。
38-
implementation 'cn.jiguang.sdk:jcore:1.2.5' // 此处以JCore 1.2.5 版本为例。
37+
implementation 'cn.jiguang.sdk:jpush:3.3.4'
38+
implementation 'cn.jiguang.sdk:jcore:2.1.2'
39+
implementation 'com.android.support:appcompat-v7:27.+'
40+
compileOnly files('libs/flutter.jar')
41+
3942
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Sep 18 15:12:00 CST 2018
1+
#Fri Jul 26 11:14:36 CST 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-rc-3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

android/libs/flutter.jar

3.84 MB
Binary file not shown.

android/src/main/AndroidManifest.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,16 @@
2222
<category android:name="${applicationId}" />
2323
</intent-filter>
2424
</receiver>
25+
<!-- Since JCore2.0.0 Required SDK核心功能-->
26+
<!-- 可配置android:process参数将Service放在其他进程中;android:enabled属性不能是false -->
27+
<!-- 这个是自定义Service,要继承极光JCommonService,可以在更多手机平台上使得推送通道保持的更稳定 -->
28+
<service android:name=".JPushCustomService"
29+
android:enabled="true"
30+
android:exported="false"
31+
android:process=":pushcore">
32+
<intent-filter>
33+
<action android:name="cn.jiguang.user.service.action" />
34+
</intent-filter>
35+
</service>
2536
</application>
2637
</manifest>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.jiguang.jpush;
2+
3+
import cn.jpush.android.service.JCommonService;
4+
5+
public class JPushCustomService extends JCommonService {
6+
}
Lines changed: 62 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.jiguang.jpush;
22

33
import android.content.Context;
4+
import android.os.Handler;
5+
import android.os.Looper;
46
import android.util.Log;
57

68
import org.json.JSONException;
@@ -19,97 +21,113 @@
1921
public class JPushEventReceiver extends JPushMessageReceiver {
2022

2123
@Override
22-
public void onTagOperatorResult(Context context, JPushMessage jPushMessage) {
24+
public void onTagOperatorResult(Context context, final JPushMessage jPushMessage) {
2325
super.onTagOperatorResult(context, jPushMessage);
2426

25-
JSONObject resultJson = new JSONObject();
27+
final JSONObject resultJson = new JSONObject();
2628

27-
int sequence = jPushMessage.getSequence();
29+
final int sequence = jPushMessage.getSequence();
2830
try {
2931
resultJson.put("sequence", sequence);
3032
} catch (JSONException e) {
3133
e.printStackTrace();
3234
}
3335

34-
Result callback = JPushPlugin.instance.callbackMap.get(sequence);//instance.eventCallbackMap.get(sequence);
36+
final Result callback = JPushPlugin.instance.callbackMap.get(sequence);//instance.eventCallbackMap.get(sequence);
3537

3638
if (callback == null) {
3739
Log.i("JPushPlugin", "Unexpected error, callback is null!");
3840
return;
3941
}
4042

41-
if (jPushMessage.getErrorCode() == 0) { // success
42-
Set<String> tags = jPushMessage.getTags();
43-
List<String> tagList = new ArrayList<>(tags);
44-
Map<String, Object> res = new HashMap<>();
45-
res.put("tags", tagList);
46-
callback.success(res);
47-
} else {
48-
try {
49-
resultJson.put("code", jPushMessage.getErrorCode());
50-
} catch (JSONException e) {
51-
e.printStackTrace();
43+
new Handler(Looper.getMainLooper()).post(new Runnable() {
44+
@Override
45+
public void run() {
46+
if (jPushMessage.getErrorCode() == 0) { // success
47+
Set<String> tags = jPushMessage.getTags();
48+
List<String> tagList = new ArrayList<>(tags);
49+
Map<String, Object> res = new HashMap<>();
50+
res.put("tags", tagList);
51+
callback.success(res);
52+
} else {
53+
try {
54+
resultJson.put("code", jPushMessage.getErrorCode());
55+
} catch (JSONException e) {
56+
e.printStackTrace();
57+
}
58+
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
59+
}
60+
61+
JPushPlugin.instance.callbackMap.remove(sequence);
5262
}
53-
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
54-
}
63+
});
5564

56-
JPushPlugin.instance.callbackMap.remove(sequence);
5765
}
5866

5967

6068

6169
@Override
62-
public void onCheckTagOperatorResult(Context context, JPushMessage jPushMessage) {
70+
public void onCheckTagOperatorResult(Context context, final JPushMessage jPushMessage) {
6371
super.onCheckTagOperatorResult(context, jPushMessage);
6472

6573

6674

67-
int sequence = jPushMessage.getSequence();
75+
final int sequence = jPushMessage.getSequence();
6876

6977

70-
Result callback = JPushPlugin.instance.callbackMap.get(sequence);
78+
final Result callback = JPushPlugin.instance.callbackMap.get(sequence);
7179

7280
if (callback == null) {
7381
Log.i("JPushPlugin", "Unexpected error, callback is null!");
7482
return;
7583
}
7684

77-
if (jPushMessage.getErrorCode() == 0) {
78-
Set<String> tags = jPushMessage.getTags();
79-
List<String> tagList = new ArrayList<>(tags);
80-
Map<String, Object> res = new HashMap<>();
81-
res.put("tags", tagList);
82-
callback.success(res);
83-
} else {
84-
85-
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
86-
}
87-
88-
JPushPlugin.instance.callbackMap.remove(sequence);
85+
new Handler(Looper.getMainLooper()).post(new Runnable() {
86+
@Override
87+
public void run() {
88+
if (jPushMessage.getErrorCode() == 0) {
89+
Set<String> tags = jPushMessage.getTags();
90+
List<String> tagList = new ArrayList<>(tags);
91+
Map<String, Object> res = new HashMap<>();
92+
res.put("tags", tagList);
93+
callback.success(res);
94+
} else {
95+
96+
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
97+
}
98+
99+
JPushPlugin.instance.callbackMap.remove(sequence);
100+
}
101+
});
89102
}
90103

91104
@Override
92-
public void onAliasOperatorResult(Context context, JPushMessage jPushMessage) {
105+
public void onAliasOperatorResult(Context context, final JPushMessage jPushMessage) {
93106
super.onAliasOperatorResult(context, jPushMessage);
94107

95-
int sequence = jPushMessage.getSequence();
108+
final int sequence = jPushMessage.getSequence();
96109

97-
Result callback = JPushPlugin.instance.callbackMap.get(sequence);
110+
final Result callback = JPushPlugin.instance.callbackMap.get(sequence);
98111

99112
if (callback == null) {
100113
Log.i("JPushPlugin", "Unexpected error, callback is null!");
101114
return;
102115
}
103116

104-
if (jPushMessage.getErrorCode() == 0) { // success
105-
Map<String, Object> res = new HashMap<>();
106-
res.put("alias", (jPushMessage.getAlias() == null)? "" : jPushMessage.getAlias());
107-
callback.success(res);
117+
new Handler(Looper.getMainLooper()).post(new Runnable() {
118+
@Override
119+
public void run() {
120+
if (jPushMessage.getErrorCode() == 0) { // success
121+
Map<String, Object> res = new HashMap<>();
122+
res.put("alias", (jPushMessage.getAlias() == null)? "" : jPushMessage.getAlias());
123+
callback.success(res);
108124

109-
} else {
110-
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
111-
}
125+
} else {
126+
callback.error(Integer.toString(jPushMessage.getErrorCode()), "", "");
127+
}
112128

113-
JPushPlugin.instance.callbackMap.remove(sequence);
129+
JPushPlugin.instance.callbackMap.remove(sequence);
130+
}
131+
});
114132
}
115133
}

example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434

3535
// applicationId "com.jiguang.jpushexample"
3636

37-
applicationId "com.example.huminios.jpushtest" //JPush 上注册的包名.
37+
applicationId "com.shikk.testJpush" //JPush 上注册的包名.
3838

3939
minSdkVersion 16
4040
targetSdkVersion 27
@@ -46,13 +46,13 @@ android {
4646

4747
ndk {
4848
//选择要添加的对应 cpu 类型的 .so 库。
49-
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64'// 'arm64-v8a',
49+
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a'
5050
// 还可以添加
5151
}
5252

5353
manifestPlaceholders = [
5454
JPUSH_PKGNAME : applicationId,
55-
JPUSH_APPKEY : "a1703c14b186a68a66ef86c1", //JPush 上注册的包名对应的 Appkey.
55+
JPUSH_APPKEY : "31c7c1b2cf59c1d42895a782", //JPush 上注册的包名对应的 Appkey.
5656
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
5757
]
5858
}

0 commit comments

Comments
 (0)