设置别名的时候出现了这个
await FlutterJPush.setAlias(Api.pushtoken); 这句代码时候 会出现这个错误 java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: MessageReceive
await FlutterJPush.setAlias(Api.pushtoken); 这句代码时候 会出现这个错误 java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: MessageReceive