getDevicePushTokenAsync - Standalone App


#1

Installed APK file in android. When invoking the getDevicePushTokenAsync method, im getting error.

ExponentNotifications.getDevicePushTokenAsync got 2 arguments, expected 3


#2

How did you write this func?


#3

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


#4

deviceToken = await Notifications.getDevicePushTokenAsync();