How can I get android or Ios version?

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?


I think this will help you:

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>


let me know that it is helpful for you or not ?
good luck.

Thanks it works. :slight_smile:

Welcome. Good Luck

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.