Skip to content

This plugins uses native generator functions to provide proper UUIDs that should be much better than anything generated using pure js.

License

Notifications You must be signed in to change notification settings

happinov/cordova-plugin-uuidgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UUID Generator Plugin for Cordova

Description

This plugins uses native generator functions to provide proper UUIDs that should be much better than anything generated using pure js.

It uses UUID().uuidString on iOS and UUID.randomUUID().toString() on Android.

Usage

You can generate either uppercase or lowercase UUID.

UUIDGenerator.generateUppercase(function(generatedUUID){
        console.log(generatedUUID);
});
UUIDGenerator.generateLowercase(function(generatedUUID){
        console.log(generatedUUID);
});

License

This code is released under the MIT license.

Changelog

1.1.0

  • Removed add-swift-support dependency.

1.0.3

  • Fixed compatibility with swift 4.2.

1.0.2

  • Updated add-swift-support dependency version.

1.0.1

  • Added compatibility with Cordova 8.

1.0.0

  • Initial release supporting both iOS and Android.

About

This plugins uses native generator functions to provide proper UUIDs that should be much better than anything generated using pure js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published