expo-user-identity
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

Expo User Identity

This Expo module provides an async function for Expo apps running on both iOS and Android. It returns an iCloud user identity on iOS and an email on Android. It automatically sets appropriate entitlements for iOS.

Installation

To install this module, run the following command:

npx expo install expo-user-identity

Usage

This module only has one method, getUserIdentity(), which returns a promise that resolves to a string.

import { getUserIdentity } from 'expo-user-identity'

Roadmap

  • [x] iOS support
  • [x] Android support
  • [ ] Web support (if possible, likely not)

Package Sidebar

Install

npm i expo-user-identity

Weekly Downloads

3

Version

0.3.3

License

MIT

Unpacked Size

1.52 MB

Total Files

72

Last publish

Collaborators

  • hennessyevan