# Getting the Device ID

**URL:** <https://forums.fusetools.com/t/getting-the-device-id/5572>\
**Category:** How-to Discussions\
**Created:** [November 4, 2016, 7:24pm UTC](https://forums.fusetools.com/t/getting-the-device-id/5572 "2016-11-04T19:24:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_Chatton](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/luke_chatton/32/193_2.png) [@Luke\_Chatton](https://forums.fusetools.com/u/Luke_Chatton)\
**Post date:** [November 4, 2016, 7:24pm UTC](https://forums.fusetools.com/t/getting-the-device-id/5572/1 "2016-11-04T19:24:46Z")

</div>

Is it possible to access the Device ID of the system? For example, in swift I’ll use something like `UIDevice.currentDevice().identifierForVendor`. How would I go about that in Fuse?

---

<div class="post-metadata">

**Author:** ![Olle\_Fredriksson](https://avatars.discourse-cdn.com/v4/letter/o/e95f7d/32.png) [@Olle\_Fredriksson](https://forums.fusetools.com/u/Olle_Fredriksson)\
**Post date:** [November 7, 2016, 2:33pm UTC](https://forums.fusetools.com/t/getting-the-device-id/5572/2 "2016-11-07T14:33:50Z")

</div>

If you’re OK with using Objective-C you can use [foreign code](https://www.fusetools.com/docs/native-interop/foreign-code). If you need the value in JS, use a [native module](https://www.fusetools.com/docs/native-interop/native-js-modules). [Here’s](https://www.fusetools.com/community/forums/howto_discussions/device_uuid?page=1&highlight=12616d8b-d84e-4469-9c13-9beb67bef6ba#post-12616d8b-d84e-4469-9c13-9beb67bef6ba) a starting point.

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [November 7, 2016, 2:37pm UTC](https://forums.fusetools.com/t/getting-the-device-id/5572/3 "2016-11-07T14:37:28Z")

</div>

This community package might be of help. 🙂 [https://github.com/MaxGraey/fuse-device](https://github.com/MaxGraey/fuse-device)
