migrate example

This commit is contained in:
Neevash Ramdial
2021-01-22 06:46:03 -04:00
parent a28d046fce
commit 74fb3c87af
@@ -56,7 +56,7 @@ void initNotifications(Client client) {
if (connector.token.value != null) { if (connector.token.value != null) {
client.addDevice( client.addDevice(
connector.token.value, connector.token.value,
Platform.isAndroid ? 'firebase' : 'apn', Platform.isAndroid ? PushProvider.firebase : PushProvider.apn,
); );
} }
}); });