RandBox Module Tour (6/12): mobile โ Device Identifiers
Overview
- Android:
android_id
- iOS:
apple_token
- Windows Phone:
wp7_anid
,wp8_anid2
Examples
import RandBox from 'randbox'
const rb = new RandBox()
const aid = rb.android_id?.()
const ios = rb.apple_token?.()
Links
- Index:
/en/docs/mobile/
- Pages:
/en/docs/mobile/android_id
,/en/docs/mobile/wp8_anid2
FAQ
- Do these match real devices?
- No. They are synthetic for testing only.
- Can I control length/prefix?
- Depending on implementation, options may allow format adjustment.
Last updated on: