# Get appId in runtime

**URL:** <https://forum.ionicframework.com/t/get-appid-in-runtime/197323>\
**Category:** Capacitor\
**Created:** [October 3, 2020, 10:17am UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323 "2020-10-03T10:17:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![to2n](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@to2n](https://forum.ionicframework.com/u/to2n)\
**Post date:** [October 3, 2020, 10:17am UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323/1 "2020-10-03T10:17:59Z")

</div>

I found on this page [https://capacitorjs.com/docs/apis/device](https://capacitorjs.com/docs/apis/device) that DeviseInfo has field appId

```auto
DeviceInfo
interface DeviceInfo {
  // The current bundle build of the app
  appBuild : string;
  // The bundle id of the app
  appId : string;

...

```

But there is no such field in last library version [https://github.com/ionic-team/capacitor-plugins/blob/5736daaaf3816bb58d43248b932bce95ab7fd44f/device/src/definitions.ts](https://github.com/ionic-team/capacitor-plugins/blob/5736daaaf3816bb58d43248b932bce95ab7fd44f/device/src/definitions.ts)

Please fix the docs.  
And how can I get appId in runtime?

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 3, 2020, 6:10pm UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323/2 "2020-10-03T18:10:29Z")

</div>

Have you read [this](https://github.com/ionic-team/capacitor/issues/3227)? The GitHub link you posted looks to me like part of Capacitor 3, which is currently in alpha, and still described as a WIP.

So, can you confirm that your problem is still present in the most recent _released_ version (2.4.2 as I write this)?

---

<div class="post-metadata">

**Author:** ![to2n](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@to2n](https://forum.ionicframework.com/u/to2n)\
**Post date:** [October 3, 2020, 6:30pm UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323/3 "2020-10-03T18:30:55Z")

</div>

There is no appId in my local library copy in node\_modules

 ![](https://global.discourse-cdn.com/ionicframework/original/3X/8/c/8ccb2f899b6a64a9490743048507ea15f07d5c74.png)

I use 2.0.1

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 3, 2020, 6:35pm UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323/4 "2020-10-03T18:35:57Z")

</div>

I only see text in posts, so if you are intending to convey information to me in whatever that image is, it didn’t work.

> [@to2n](#):
>
> I use 2.0.1

As I asked before:

> can you confirm that your problem is still present in the most recent _released_ version (2.4.2 as I write this)?

Judging from [the 2.3.0 changelog entry](https://github.com/ionic-team/capacitor/blob/f102b18b8eb07656913f94d3157714f161c92050/CHANGELOG.md#230-2020-07-16), I would be surprised to hear that that is the case.

---

<div class="post-metadata">

**Author:** ![to2n](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@to2n](https://forum.ionicframework.com/u/to2n)\
**Post date:** [October 18, 2020, 5:54pm UTC](https://forum.ionicframework.com/t/get-appid-in-runtime/197323/5 "2020-10-18T17:54:41Z")

</div>

Ok… I see my problem - just need to update to latest version. Thank you
