Skip to content

下载demo点击测试发现返回为false #4

@jinhuizxc

Description

@jinhuizxc

SimulateRequest.sendPush(3, content, currentChooseTime, null, soundName, new MobPushCallback() {
public void onCallback(Boolean result) {
Log.d(TAG, "点击测试: " + result);
if (result) {
new DialogShell(getContext()).autoDismissDialog(R.string.toast_timing, currentChooseTime + "min", 2);
} else if (!NetWorkHelper.netWorkCanUse(null)) {
new DialogShell(getContext()).autoDismissDialog(R.string.error_network, null, 2);
} else {
new DialogShell(getContext()).autoDismissDialog(R.string.error_ukonw, null, 2);
}
}
});

调用定时通知测试,点击打了log,发现result为false,方法不执行,为啥?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions