Updates.checkForUpdateAsync is not available on ios

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): iOS

I am receiving the following error regarding expo updates while running my ios application as standalone in TestFlight:

The method or property Updates.checkForUpdateAsync is not available on ios, are you sure you’ve linked all the native dependencies properly?

How can i solve this issue ?

Code block that throws the error

export const checkOTAUpdatesAsync = async () => {
  const update = await Updates.checkForUpdateAsync();
  if (update.isAvailable) {
    await Updates.fetchUpdateAsync();
    await AlertAsync(
      i18n.t('NewVersionAvailable'),
      i18n.t('NewVersionAvailableDescription'),
      [
        {text: i18n.t('Ok'), onPress: () => Updates.reloadAsync()},
      ],
      { cancelable: false },
    );
  }
};

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