Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Expo SDK 44 eas build for Android fails at prebuild: config_plugins_1.AndroidConfig.Version.setMinBuildScriptExtVersion is not a function #16

Description

@koukoujohn

"expo": "^44.0.6",
Expo managed: yes
expo cli version: 5.3.0
eas cli version: eas-cli/0.48.0 win32-x64 node-v14.17.6
"@intercom/intercom-react-native": "^2.1.0"
"config-plugin-react-native-intercom": "^1.2.0"

First of all thenk you for the config plugin it's invaluable in my case. I will try in the future to learn how config plugins work so that I can contribute to your project too.

I followed the instructions on your Readme, installed latest intercom through npm and your latest config plugin through expo install.

I put this in my plugins in app.json as instructed:

  [
    "config-plugin-react-native-intercom",
    {
      "iosApiKey": "private",
      "androidApiKey": "private",
      "appId": "private",
      "experimentalBumpMinIosPlatformVersion": true,
      "iosPhotoUsageDescription": "Upload images to support center"
    }
  ]

When I run eas build --platform android the build fails in the prebuild phase(on eas servers).
With iOS I dont have any issues with building the app, it completes succesfully.

Below I will paste the Prebuild stage logs that seem to be the fail error:

  • Config syncing
    ✖ Config sync failed

[stderr] [14:30:47] [android.projectBuildGradle]: withAndroidProjectBuildGradleBaseMod: config_plugins_1.AndroidConfig.Version.setMinBuildScriptExtVersion is not a function

[stderr] [14:30:47] TypeError: [android.projectBuildGradle]: withAndroidProjectBuildGradleBaseMod: config_plugins_1.AndroidConfig.Version.setMinBuildScriptExtVersion is not a function

I hope this is enough information to help you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions