iOs won't receive ExpoPushToken[SOLVED]

#1

Hey for some reason I receive push token on all my Android devices and not iOs. I’ve tested on multiple iOs devices, but no luck.
This is my code:

import {Permissions, Notifications} from 'expo';


async registerForPushNotificationsAsync() {
        let { status } = await Permissions.askAsync(Permissions.NOTIFICATIONS);
        if (status !== "granted") {
            return;
        }
        let token = await Notifications.getExpoPushTokenAsync();

        console.log(token);
0 Likes

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes