UNPKG

@aws-amplify/core

Version:
1 lines 814 B
{"version":3,"file":"getDeviceName.native.mjs","sources":["../../../../src/utils/deviceName/getDeviceName.native.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getDeviceName as getDeviceNameNative } from '@aws-amplify/react-native';\n/**\n * Retrieves the device name using name in ios and model in android,\n *\n * @returns {Promise<string>} A promise that resolves with a string representing the device name.\n *\n * Example Output:\n * ios: 'iPhone' / 'user's iPhone'\n * android: 'sdk_gphone64_arm64'\n */\nexport const getDeviceName = async () => getDeviceNameNative();\n"],"names":["getDeviceNameNative"],"mappings":";;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,aAAa,GAAG,YAAYA,eAAmB;;;;"}