Hello there.
I am a beginner on the Expo and
I’d like to get the android and ios version with EXPO.
Is there any way to get these Info?
Thanks
Hello there.
I am a beginner on the Expo and
I’d like to get the android and ios version with EXPO.
Is there any way to get these Info?
Thanks
Hety @great999lancer
This is your code for getting version.
const pkg = require(‘…/…/package.json’);
<View style={{ marginBottom: SCREEN_HEIGHT / 30, justifyContent: ‘center’, alignItems: “center” }}>
<Text style={{ color: ‘rgba(63, 174, 135,0.9)’ }}>{Version : ${pkg.version}
}</Text>
</View>
let me know that it is helpful for you or not ?
good luck.
Thanks it works.
Welcome. Good Luck
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.