@betomorrow/expo-android-inject-version

0.0.2 • Public • Published

@betomorrow/expo-android-inject-version

Inject Android version code from your Gradle properties without using EAS.

Installation in managed Expo projects

Add this package to your dependencies and reference it in the plugins section of your app.json/app.config.js/app.config.ts:

{
    "plugins": [
        "@betomorrow/expo-android-inject-version",
    ]
}

No extra configuration can be passed to the plugin at the moment.

Rerun npx expo prebuild --clean for the plugin to apply.

From now, you can pass your versionCode value as a Gradle property during your build (using Fastlane, environment variables, whatever suits you).

Installation in bare React Native projects

Installing this package in a bare React Native project is pointless since you can put your own signing config and commit it.

Add the package to your npm dependencies

Any package manager will do, adjust to your preferences.

npm install expo-android-inject-version

Readme

Keywords

none

Package Sidebar

Install

npm i @betomorrow/expo-android-inject-version

Weekly Downloads

1

Version

0.0.2

License

none

Unpacked Size

3.32 kB

Total Files

7

Last publish

Collaborators

  • flassontbto
  • alois-beto
  • dsarrio
  • fdrault
  • ogauthier