forked from Nexus/nexus
override webcrypto deps
This commit is contained in:
parent
02704e97ef
commit
11d83ee067
8 changed files with 25 additions and 24 deletions
|
|
@ -38,18 +38,13 @@ class UnifiedPushController extends AsyncNotifier<bool> {
|
|||
);
|
||||
},
|
||||
onMessage: (message, instance) async {
|
||||
final e = await client.handlePush(
|
||||
final event = await client.handlePush(
|
||||
json.decode(String.fromCharCodes(message.content)),
|
||||
);
|
||||
print(e);
|
||||
},
|
||||
onRegistrationFailed: (e, r) {
|
||||
throw "e";
|
||||
print(event);
|
||||
},
|
||||
onRegistrationFailed: (error, instance) => throw error,
|
||||
onUnregistered: (instance) => ref.invalidateSelf(),
|
||||
onTempUnavailable: (instance) {
|
||||
throw "t";
|
||||
},
|
||||
);
|
||||
|
||||
if (registered) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue