react-native-version icon indicating copy to clipboard operation
react-native-version copied to clipboard

truncate versions with humen names when setting the ios version string

Open ofirgeller opened this issue 6 years ago • 3 comments

I like giving versions a humen readable/memorable name like '1.0.1-pizza-train' iOS does not like anything except numbers and 3 periods.

Can you make this package truncate the version name after and including the dash before setting it inside the ios specific file? so that the version name is preserved for android (and web) but is corrected for iOS?

ofirgeller avatar Mar 12 '19 11:03 ofirgeller

Related to #41

We might be able to include your "pizza train" into the CFBundleVersion, which accepts more than CFBundleShortVersionString.

stovmascript avatar Mar 12 '19 12:03 stovmascript

That would be a nice to have, for sure.

ofirgeller avatar Mar 12 '19 14:03 ofirgeller

Any progress?

kvandake avatar Mar 30 '19 16:03 kvandake