File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ module.exports = {
175
175
deviceVersion = `${ Platform . Model } ` ;
176
176
}
177
177
178
+ let reactNativeVersion = `${ Platform . constants . reactNativeVersion . major } .${ Platform . constants . reactNativeVersion . minor } .${ Platform . constants . reactNativeVersion . patch } ` ;
179
+ if ( Platform . constants . reactNativeVersion . prerelease ) {
180
+ reactNativeVersion = `${ reactNativeVersion } .${ Platform . constants . reactNativeVersion . prerelease } ` ;
181
+ }
182
+
178
183
return {
179
184
bundleId,
180
185
@@ -189,7 +194,7 @@ module.exports = {
189
194
deviceVersion,
190
195
191
196
frameworkName : "react-native" ,
192
- frameworkVersion : Object . values ( Platform . constants . reactNativeVersion ) . join ( "." ) ,
197
+ frameworkVersion : reactNativeVersion ,
193
198
} ;
194
199
} else if ( environment === "node.js" || environment === "electron" ) {
195
200
const os = node_require ( "os" ) ;
You can’t perform that action at this time.
0 commit comments