Semantic Issue error


Hi, guys, I’m getting this error in an ejected expo project does anyone have any ideas of what could it be?

The error says use of undeclared identifier in this line

ios/Pods/ExpoKit/ios/Exponent/Kernel/Services/Notifications/EXRemoteNotificationManager.m:210:55: error: use of undeclared identifier ‘UNAuthorizationStatusProvisional’

code fragment:

- (void)_canRegisterForRemoteNotificationsWithCompletionHandler:(void (^)(BOOL can))handler

  // When the user has not granted permission to display any type of notification, iOS doesn't
  // invoke the delegate methods and registering for remote notifications will never complete
  [_userNotificationCenter getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * _Nonnull settings) {
    bool canRegister = settings.authorizationStatus == UNAuthorizationStatusAuthorized;
    if (@available(iOS 12, *)) {
      canRegister |= (settings.authorizationStatus == UNAuthorizationStatusProvisional);

this is the project package.json

  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject"
  "dependencies": {
    "expo": "^32.0.0",
    "expo-graphics": "^1.0.3",
    "expo-three": "^3.0.0-alpha.8",
    "expokit": "^32.0.7",
    "react": "16.5.0",
    "react-native": "",
    "three": "^0.101.1"
  "devDependencies": {
    "babel-preset-expo": "^5.0.0"
  "private": true

I followed the steps from the guide