Automattic / Gravatar-SDK-iOS

Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
https://gravatar.com
Mozilla Public License 2.0
36 stars 1 forks source link

Handle avatar upload fail #354

Closed pinarol closed 1 month ago

pinarol commented 1 month ago

Closes https://github.com/Automattic/Gravatar-SDK-iOS/issues/347

Description

https://github.com/user-attachments/assets/e583fd53-afc9-4b8a-8734-7c1693861c16

Testing Steps

wpmobilebot commented 1 month ago
Gravatar SwiftUI Prototype Build📲 You can test the changes from this Pull Request in Gravatar SwiftUI Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar SwiftUI Prototype Build Gravatar SwiftUI Prototype Build
Build Number1097
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-swiftui.prototype-build
Commit6efae9c2ae1ccfa9ff5d4c9788c7d7f8b66fc2a8
App Center BuildGravatar SDK Demo - SwiftUI #39
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
wpmobilebot commented 1 month ago
Gravatar UIKit Prototype Build📲 You can test the changes from this Pull Request in Gravatar UIKit Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar UIKit Prototype Build Gravatar UIKit Prototype Build
Build Number1097
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commit6efae9c2ae1ccfa9ff5d4c9788c7d7f8b66fc2a8
App Center BuildGravatar SDK Demo - UIKit #41
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
pinarol commented 1 month ago

Invalid frame dimension (negative or non-finite).

Gosh my XCode doesn't show me those errors inline. Seems like that line is not necessary anyway so I fixed it by just removing it.