Skip to content

[BUG] RNRepo plugin is DISABLED #190

@voortexx

Description

@voortexx

📋 Description

When I tried to use RNRepo for a Fastlane/CircleCI build I saw that its DISABLED

Image

In local when I launch a build it say that its ENABLED, but I don't know what's the difference.
I did all the changes in build.gradle like in the documentation

Image

🔄 Steps to Reproduce

  • Launch a build with: bundle exec fastlane android dev app_name:united
    Fastlane command for build
def clean_and_build(flavor_type:, bump_type:, app_name:, environment: "staging")
  is_prod = environment == "prod"
  env = is_prod ? ".env" : ".env.staging"
  # We get the app name unitedDev for example
  flavor = flavor_type == "Store" ? app_name : "#{app_name}#{flavor_type}"
  # We don't bump on second build to have the same versions for both env staging and prod
  bump_param = (is_prod && flavor_type != "Store") ? "none" : bump_type

  gradle(
    task: "bundle",
    flavor: flavor,
    flags: "-PbumpType=#{bump_param} --info --profile",
    build_type: "Release",
    system_properties: {
        "ENVFILE": "../src/platforms/#{app_name}/#{env}"
    }
  )

  lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
end

🤔 Expected Behavior

RNRepo should say that : plugin is ENABLED

😲 Actual Behavior

RNRepo plugin is DISABLED

RNRepo version (and/or @rnrepo/expo-config-plugin version)

1.0.0

React Native version

0.79.7

Gradle version

8.13

Operating System

Docker / X-Large

➕ Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions