Skip to content

设置别名在真机上不成功, 在模拟器上反而成功 #188

Closed
@function2000

Description

@function2000

在真机上返回6002错误. 在模拟器上没有问题.

代码:
jpush.setup(
appKey: "e58a32cb3e423568931867e5", //你自己应用的 AppKey
channel: "theChannel",
production: false,
debug: true,
);

jpush.setAlias("TEST").then((map) {
  setState(() {
    debugLabel = "setAlias success: $map";
  });
}).catchError((error) {
  setState(() {
    debugLabel = "setAlias error: $error";
  });
});

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