# How to get installed app version

**URL:** <https://forum.ionicframework.com/t/how-to-get-installed-app-version/173702>\
**Category:** ionic-v3\
**Created:** [September 19, 2019, 11:21am UTC](https://forum.ionicframework.com/t/how-to-get-installed-app-version/173702 "2019-09-19T11:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chavannitinb](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@chavannitinb](https://forum.ionicframework.com/u/chavannitinb)\
**Post date:** [September 19, 2019, 11:21am UTC](https://forum.ionicframework.com/t/how-to-get-installed-app-version/173702/1 "2019-09-19T11:21:46Z")

</div>

Hey there, I am using ionic 3 for my android application. I want to display update app popup to user every time I update application on play store. I have tried to get app version in my application, but it throws me error i.e.

vendor.js:1775 ERROR Error: Uncaught (in promise): TypeError: Object(…) is not a function  
TypeError: Object(…) is not a function  
at AppVersion.getAppName (vendor.js:89626)  
at HomePage.webpackJsonp.349.HomePage.getAppVersion (main.js:1951)  
at SafeSubscriber.\_next (main.js:1947)  
at SafeSubscriber.\_\_tryOrSetError (vendor.js:20860)  
at SafeSubscriber.next (vendor.js:20800)  
at Subscriber.\_next (vendor.js:20738)  
at Subscriber.next (vendor.js:20702)  
at BehaviorSubject.\_subscribe (vendor.js:81393)  
at BehaviorSubject.Observable.\_trySubscribe (vendor.js:19843)  
at BehaviorSubject.Subject.\_trySubscribe (vendor.js:23679)  
at c (polyfills.js:3)  
at c (polyfills.js:3)  
at polyfills.js:3  
at t.invokeTask (polyfills.js:3)  
at Object.onInvokeTask (vendor.js:5077)  
at t.invokeTask (polyfills.js:3)  
at r.runTask (polyfills.js:3)  
at o (polyfills.js:3)  
at e.invokeTask (polyfills.js:3)  
at i.isUsingGlobalCallback.invoke (polyfills.js:3)

I have installed cordova app version and native app version plugin. But still got same error. Please help.
