|
|
@ -33,8 +33,7 @@ class PushNotificationsRegistrar { |
|
|
|
let device = PushDevice( |
|
|
|
let device = PushDevice( |
|
|
|
deviceID: UIDevice.current.identifierForVendor!.uuidString, |
|
|
|
deviceID: UIDevice.current.identifierForVendor!.uuidString, |
|
|
|
token: "", |
|
|
|
token: "", |
|
|
|
wallets: [], |
|
|
|
wallets: [] |
|
|
|
chainID: config.chainID |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
trustProvider.request(.unregister(device: device)) { _ in } |
|
|
|
trustProvider.request(.unregister(device: device)) { _ in } |
|
|
@ -49,8 +48,7 @@ class PushNotificationsRegistrar { |
|
|
|
let device = PushDevice( |
|
|
|
let device = PushDevice( |
|
|
|
deviceID: UIDevice.current.identifierForVendor!.uuidString, |
|
|
|
deviceID: UIDevice.current.identifierForVendor!.uuidString, |
|
|
|
token: token, |
|
|
|
token: token, |
|
|
|
wallets: addresses.map { $0.address }, |
|
|
|
wallets: addresses.map { $0.address } |
|
|
|
chainID: config.chainID |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
trustProvider.request(.register(device: device)) { _ in } |
|
|
|
trustProvider.request(.register(device: device)) { _ in } |
|
|
|