Skip to content

Commit e848d11

Browse files
Update ExpoVersionInfo.js (#178)
1 parent 7a9ff8c commit e848d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-version-check-expo/src/ExpoVersionInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (process.env.RNVC_ENV === 'test') {
1111
currentVersion: '0.0.1',
1212
};
1313
} else {
14-
const { manifest = {} } = Constants;
14+
const manifest = Constants.manifest ? Constants.manifest : Constants.manifest2.extra.expoClient;
1515
const {
1616
version = null,
1717
android: { versionCode = null, package: androidPackageName = null } = {},

0 commit comments

Comments
 (0)