Trying to Eject, but nothing is being generated

I am trying to eject my app as i have to add some more advanced social sharing features to those that come with React Native/Expo but i can’t seem to get this to work.

I am selecting the ExpoKit option, the process seems to execute (although it seems a little fast) and states it successful, but i only seem to get an Android folder, but with only a couple of files, and no gradle files or anything that can be executed in Android Studio, and no IOS folder at all (I am on Windows, not sure if that is an issue).

exp version is 54.0.0
expo (cli) version is 2.2.0

Am i being dumb here?

Hey @modika,

Can you share the contents of your app.json here as well as install the latest version of expo-cli via npm i -g expo-cli and try ejecting again?

Cheers,
Adam

Hi Adamjnav,

Sorry for the late reply. App.json is below, i am now getting an android folder, but no ios, but i am on windows so not sure if i am supposed to get one or not, or if i have to eject on Mac OS to get an ios folder? (i know i can’t build IOS it on windows, i will switch to a mac once the android version is done).

Thanks for looking at this.

{
  "expo": {
    "name": "My App",
    "description": "This project is really great.",
    "slug": "xxx-app",
    "privacy": "unlisted",
    "sdkVersion": "31.0.0",
    "platforms": ["ios", "android"],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "cover",
      "backgroundColor": "#e6aa4d"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "icon": "./assets/ico-ios.png",
      "bundleIdentifier": "com.xxx.app"
    },
    "android": {
      "package": "com.xxx.app",
      "versionCode": 1.0,
      "icon": "./assets/ico-android.png",
      "adaptiveIcon": {
        "foregroundImage": "./assets/ico-android-foreground.png",
        "backgroundImage": "./assets/ico-android-background.png"
      }
    }
  }
}

I should learn to read the cli output, i wont get IOS folder on windows. I will now eject on IOS and see whats what.

All good! Let me know if you encounter any issues.