Unable to fetch 'Expo PushToken'

I am using expo-notifications for Push Notifications. Below is the code to fetch ‘Expo PushToken’,

import * as Notifications from 'expo-notifications';

token = (await Notifications.getExpoPushTokenAsync()).data;

The above code fetches ‘Expo PushToken’ in Android but in iOS unable to fetch the token. Code just hang at token = (await Notifications.getExpoPushTokenAsync()).data. This promise will never be resolved. It’s not even giving any error, Just hanging. I have gone through the documentation thoroughly but unable to figure it out.

Am I missing any additional config for iOS?