पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv4.2.0

flutter_udid

iOS और Android पर फिर से स्थापना के माध्यम से एक स्थायी UDID प्राप्त करने के लिए प्लगइन

AndroidiOSmacOSWindowsLinux
30-दिन डाउनलोड
1.4 लाख
लाइक
290
Pub अंक
160

पैकेज इंस्टॉल करें

flutter pub add flutter_udid

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

flutter_udid एक Flutter प्लगइन है जो Android, iOS, macOS, Windows और Linux पर ऐप के पुनर्स्थापन के बाद भी स्थायी अद्वितीय उपकरण पहचान (UDID) प्रदान करता है। यह उपकरण से जुड़े एक स्थिर ID को सुरक्षित रूप से उत्पन्न और संग्रहित करता है, जिससे अस्थायी या अस्थिर पहचानकर्ताओं पर निर्भर न होकर उपयोगकर्ता उपकरणों का ट्रैक करना संभव होता है। प्लगइन में विशिष्ट प्लेटफॉर्म तकनीकों का उपयोग करके विश्वसनीयता और गोपनीयता सुरक्षा को सुनिश्चित किया जाता है। लाइसेंसिंग, विश्लेषण या फ्रॉड रोकथाम प्रणालियों जैसे दीर्घकालिक उपकरण पहचान की आवश्यकता वाले मामलों में यह विशेष रूप से उपयोगी है। स्रोत कोड लेखन के लिए ट्रांसपेरेंसी और कस्टमाइजेशन के लिए GitHub पर सार्वजनिक रूप से उपलब्ध है।

उपयोग

  • एप्प फिर से इंस्टॉल करने के बाद डिवाइस ट्रैकिंग
  • लाइसेंसिंग और एक्टिवेशन प्रणाली
  • उपयोगकर्ता विश्लेषण और अनुमान
  • फ्रॉड और सुरक्षा मॉनिटरिंग के खिलाफ

मुख्य विशेषताएँ

  • एप्प पुनर्स्थापना के बाद भी स्थायी
  • प्लेटफॉर्म के लिए समर्थन (Android, iOS, macOS, Windows, Linux)
  • डिवाइस आईडी का सुरक्षित भंडारण
  • मूल प्लेटफ़ॉर्म तंत्र का उपयोग करता है
  • ओपन-सोर्स और पारदर्शी

इनके लिए उपयुक्त

  • लंबे समय तक डिवाइस पहचान की आवश्यकता वाले ऐप
  • सुरक्षा संवेदनशील एप्लिकेशन
  • विश्लेषण और लाइसेंसिंग प्लेटफॉर्म
  • गोपनीयता और सुसंगतता को प्राथमिकता देने वाले विकासकर्ता

विचार योग्य बातें

  • Android और iOS पर उचित अनुमतियाँ आवश्यक हैं
  • गलत तरीके से उपयोग किए जाने पर गोपनीयता को लेकर चिंताएं हो सकती है
  • उपयोगकर्ताओं की सीधे पहचान के लिए उपयुक्त नहीं
  • प्लेटफॉर्म-स्तर के स्थायीकरण तंत्र पर निर्भर करता है
  • उपयोगकर्ता सहमति और पारदर्शिता के साथ उपयोग किया जाना चाहिए

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

flutter_udid

pub package

Plugin to retrieve a persistent UDID across app reinstalls on iOS, Android, Mac, Windows & Linux.

Usage

import 'package:flutter_udid/flutter_udid.dart';

String udid = await FlutterUdid.udid;

This provides an UDID using the format of the corresponding platform.

Platform IDs

Platform Format Source
iOS 7946DA4E-8429-423C-B405-B3FC77914E3E identifierForVendor, saved to Keychain for persistence
Android 8af8770a27cfd182 Settings.Secure.ANDROID_ID
Mac 707E990C-D002-520B-ABA6-4216C6D514BF kIOPlatformUUIDKey
Windows 99A4D301-53F5-11CB-8CA0-9CA39A9E1F01 BIOS UUID
Linux 1124435e065241dcae2241e9caab9a6c Machine ID
iOS Keychain Availability

On iOS, the UDID is stored in Keychain with kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly. This means it is available only after the user has unlocked the device once after reboot, including later background launches while the device is locked. Before the first unlock after reboot, requesting the UDID throws a PlatformException.

Consistent Format

To get a consistent formatting on all platforms use:

import 'package:flutter_udid/flutter_udid.dart';

String udid = await FlutterUdid.consistentUdid;

This will result in an UDID of the following format:

984725b6c4f55963cc52fca0f943f9a8060b1c71900d542c79669b6dc718a64b

Persistence Notes

The UDID can change after a factory reset!

Additionally, if a device has been updated to Android 8.0 through an OTA and the app is reinstalled, the UDID may change as well due to security changes in Android 8.0.

On rooted and jailbroken devices the ID can be changed, so please take this into account. However, it should not be possible to identify as a different device through random guessing because of the complexity of the ID.

Furthermore, the UDID may also change if there is a change in the app's signing signature, for both iOS and Android. Ensure that you always use the same digital signature to sign your app.

Flutter Resources

For help getting started with Flutter, view the online documentation.

For help on editing plugin code, view the documentation.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट