Gravatar

3.3.0

Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
Automattic/Gravatar-SDK-iOS

What's New

3.3.0

2025-05-09T14:55:44Z

What's Changed

  • VoiceOver improvements in the QuickEditor
  • New public methods in AvatarService, ProfileService.
  • New SwiftUI component to display a profile: ProfileViewRepresentable
  • Fix: Propagate color scheme to QE sheet so dark/light mode can be set manually.
  • Other small bug fixes and improvements

List of PRs

New Contributors

Full Changelog: 3.2.0...3.3.0

Gravatar

License: MPL 2.0

Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.

If you're also looking to integrate Gravatar in your Android app, check out our Gravatar SDK for Android!

Features

  • Display a profile view or an avatar through ready-to-use UI components.
  • Avatar URL calculator based on email and several query options.
  • Avatar downloading based on email or url.
    • UIImageView extension to directly set the downloaded image.
    • SwiftUI Avatar component(AvatarView)
    • Built-in image cache (with the ability to inject your own cache).
  • Avatar uploading to a Gravatar account.
  • Gravatar profile fetching based on email.
  • QuickEditor: This customizable sheet allows you to manage your avatar and Gravatar profile. You can select an existing avatar or upload a new one, and it provides a summary of your Gravatar profile.

Installation

Create an API key

Follow the steps in the REST API documentation to create a Gravatar API key. You can use some features without an API Key, but you’ll receive limited information, and stricter rate limits may apply, so we highly encourage you to create one in the developer portal.

For installation instructions and examples, see out getting started guide.

Documentation

You can find some detailed articles, tutorials and API docs via these links:

Author

Gravatar

Coding Style

Check out our Coding Style guide.

Contributing

Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.

License

Gravatar-SDK-iOS is an open source project covered by the Mozilla Public License Version 2.0.

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

Last updated: Fri May 16 2025 00:08:22 GMT-0900 (Hawaii-Aleutian Daylight Time)