Overview
The cloudinary_public package enables direct media uploads to Cloudinary from Flutter apps, eliminating the need to expose sensitive API keys. It securely handles authentication by using unsigned upload presets, allowing clients to upload files directly while maintaining server-side security. Ideal for applications requiring user-generated content, such as photo sharing or profile picture uploads. The package supports multiple platforms including Android, iOS, macOS, Windows, and Linux.
Use cases
- Direct file uploads from mobile apps
- User-generated content storage
- Profile picture uploads
- Image and video management
- Secure media handling without exposing credentials
Key features
- No exposure of API keys
- Supports unsigned upload presets
- Cross-platform compatibility
- Simple integration with Cloudinary
- Real-time upload progress tracking
Suitable for
- Mobile apps with media uploads
- Apps needing secure file transfers
- Developers avoiding backend authentication
- Projects using Cloudinary for media storage
- Frontend-only media handling
Considerations
- Requires Cloudinary upload preset setup
- Limited to unsigned uploads
- Depends on Cloudinary's free tier or paid plan
- Not suitable for private or restricted media
- Must configure Cloudinary dashboard properly