internal distribution always coming as dev-client. I want the actual application offline

Hi Expo team

I am using eas service. I am using eas build with below config

"preview": {
      "distribution": "internal",
      "android": {
        "gradleCommand": ":app:assembleDebug",
        "buildType": "apk",
        "developmentClient":false
      },
      "ios": {
        "buildConfiguration": "Release"
      }
    },

I am getting internal build but it shows the dev-client.

How do i get the actual production like application for internal distribution. What i am missing here on this configuration. please help.

Also, I need to test apk in release mode to run on device to try to replicate problem occurring in production for reanimated2. How can i prepare apk in release mode.

so when you run eas build --platform android --profile preview, you get a dev client build?

For a release APK, changle gradleCommand to :app:assembleRelease

Yes, i did get lauch client (dev client experience) with above configuration.

developmentClient is an alias for doing a debug build, while also signalling to us your intent. remove "gradleCommand": ":app:assembleDebug", so it defaults to :app:assembleRelease, or put it there explicitly like @charliecruzan said

opened this pr to clarify the behavior of the field: [docs] Clarify the common developmentClient field by brentvatne · Pull Request #14017 · expo/expo · GitHub

1 Like