Installed APK file in android. When invoking the getDevicePushTokenAsync method, im getting error.
ExponentNotifications.getDevicePushTokenAsync got 2 arguments, expected 3
Installed APK file in android. When invoking the getDevicePushTokenAsync method, im getting error.
ExponentNotifications.getDevicePushTokenAsync got 2 arguments, expected 3
How did you write this func?
getDevicePushTokenAsync
now takes an extra config
argument. We just added it to the docs here: https://docs.expo.io/versions/latest/sdk/notifications.html#exponotificationsgetdevicepushtokenasyncconfig
deviceToken = await Notifications.getDevicePushTokenAsync();