Skip to content

showing different version name in react-native - "0.63.3","react-native-version-number": "^0.3.6", #56

Description

@GittyAjay

app/build.gradle

defaultConfig { applicationId "com.app.demo" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "0.1" multiDexEnabled true missingDimensionStrategy 'react-native-camera', 'general' missingDimensionStrategy 'store', 'play' }

instead of 0.1 they are showing 2097153

Here is code

import VersionNumber from 'react-native-version-number';
console.log('buildVersion', VersionNumber.buildVersion);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions