ios – uuid = UUID(uuidString: String) create uppercase Letters


I’ve an issue with the perform UUID(uuidString: String). Passing a UUID as String with decrease case letters the above perform generates a UUID with higher case letters. Can anybody give me a touch as to what’s inflicting this.

Use case:
Server :Database server with Vapor 4 and Postgres DB. Storage must be consumer particular
Shopper: iOS with login process, server responds with UserID and token, each saved in UserDefaults.normal with key.
URL’s are dynamically generated with the UserID and despatched as HTTP request to the server.
Server checks UserID handed this manner and does not acknowledge it, as a result of Postgres DB creates and shops UUID’s with decrease case letters. Nevertheless, the URL generated within the shopper accommodates the corresponding UUID of the logged-in consumer with higher case letters.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles