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 {
|
||||
final data = await Storage.getString('userLoginData');
|
||||
if (data!.isNotEmpty) {
|
||||
if (Platform.isIOS) {
|
||||
XSAliyunPushProvider()
|
||||
.pushBindDeviceID(deviceId, Platform.isAndroid ? 10 : 20);
|
||||
}
|
||||
XSAliyunPushProvider()
|
||||
.pushBindDeviceID(deviceId, Platform.isAndroid ? 10 : 20);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ class AuthorizedAdminSendEntity {
|
||||
}
|
||||
|
||||
class Data {
|
||||
String? receiverUid;
|
||||
int? receiverUid;
|
||||
ReceiverUser? receiverUser;
|
||||
int? keyId;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user