apache / apache/cordova-plugin-device

Option to opt out from storing uuid in iCloud / backup

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
394
Forks
424
PR merge metrics
No merged PRs in 30d

Description

# Feature Request

## Motivation Behind Feature
One use case for uuid is to tell devices apart when a user sign in to different devices. However according to [the docs](https://cordova.apache.org/docs/en/10.x/reference/cordova-plugin-device/#deviceuuid) there is an iOS quirk that it will persist the uuid from the first device that the user uses and it will carry over via backup / iCloud to new devices.

## Feature Description
I would like to be able to opt out from storing uuid and instead have it resolved from iOS / Android each time I call the plugin so that the uuid is not carried over from a backup or iCloud restore.

## Alternatives or Workarounds

Use/write a different plugin than cordova-plugin-device that doesn't persist identifierForVendor.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.