1,receiverUid改为int类型
2,安卓推送放开
This commit is contained in:
parent
3a2596e14f
commit
ab4a3c3380
@ -150,10 +150,8 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver, BaseWidget {
|
|||||||
_aliyunPush.getDeviceId().then((deviceId) async {
|
_aliyunPush.getDeviceId().then((deviceId) async {
|
||||||
final data = await Storage.getString('userLoginData');
|
final data = await Storage.getString('userLoginData');
|
||||||
if (data!.isNotEmpty) {
|
if (data!.isNotEmpty) {
|
||||||
if (Platform.isIOS) {
|
XSAliyunPushProvider()
|
||||||
XSAliyunPushProvider()
|
.pushBindDeviceID(deviceId, Platform.isAndroid ? 10 : 20);
|
||||||
.pushBindDeviceID(deviceId, Platform.isAndroid ? 10 : 20);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class AuthorizedAdminSendEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Data {
|
class Data {
|
||||||
String? receiverUid;
|
int? receiverUid;
|
||||||
ReceiverUser? receiverUser;
|
ReceiverUser? receiverUser;
|
||||||
int? keyId;
|
int? keyId;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user