Skip to content

Commit

Permalink
Merge pull request #160 from jpush/dev
Browse files Browse the repository at this point in the history
update version to 3.1.4
  • Loading branch information
wicked-tc130 authored Apr 10, 2019
2 parents 685f4d4 + 1a6c059 commit fcd1b3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions android/src/io/jchat/android/JMessageModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -1855,9 +1855,9 @@ public void gotResult(int status, String desc) {
public void getPublicGroupInfos(final ReadableMap map, final Callback success, final Callback fail) {
try {
String appKey = map.hasKey(Constant.APP_KEY) ? map.getString(Constant.APP_KEY) : "";
int start = Integer.parseInt(map.getString(Constant.START));
int count = Integer.parseInt(map.getString(Constant.COUNT));
String reason = map.getString(Constant.REASON);
int start = map.getInt(Constant.START);
int count = map.getInt(Constant.COUNT);
//String reason = map.getString(Constant.REASON);
JMessageClient.getPublicGroupListByApp(appKey, start, count, new RequestCallback<List<GroupBasicInfo>>() {
@Override
public void gotResult(int status, String desc, List<GroupBasicInfo> groupBasicInfos) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jmessage-react-plugin",
"version": "3.1.3",
"version": "3.1.4",
"description": "a jmessage plugin for react native application",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit fcd1b3a

Please sign in to comment.