flutter_redirectly 1.0.0
flutter_redirectly: ^1.0.0 copied to clipboard
A Flutter plugin for Redirectly dynamic links - similar to Firebase Dynamic Links but using your own backend.
Changelog #
All notable changes to the Flutter Redirectly plugin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2024-01-15 #
Added #
-
Initial release of Flutter Redirectly plugin
-
Core Features:
- Create permanent and temporary links via Redirectly API
- Handle deep links in all app states (cold start, background, foreground)
- Stream-based link click handling
- Comprehensive error handling with typed errors
- Support for link metadata
- Built on
app_links
for reliable cross-platform link handling
-
API Integration:
- Full integration with Redirectly backend API
- Support for
/api/v1/links
(permanent links) - Support for
/api/v1/temp-links
(temporary links) - Bearer token authentication
- Automatic URL parsing for subdomain format (
username.redirectly.app/slug
)
-
Platform Support:
- Android implementation with native Kotlin
- iOS implementation with native Swift
- Support for both production and development URL formats
-
Developer Experience:
- Simple initialization with API key only
- Type-safe models for all data structures
- Comprehensive documentation and examples
- Debug logging support
- Complete example app demonstrating all features
-
Models:
RedirectlyConfig
- Plugin configurationRedirectlyLink
- Permanent link representationRedirectlyTempLink
- Temporary link with expirationRedirectlyLinkClick
- Incoming link click dataRedirectlyError
- Typed error handlingRedirectlyLinkDetails
- Link metadata and details
-
Error Handling:
RedirectlyErrorType.api
- API-related errorsRedirectlyErrorType.network
- Network connectivity errorsRedirectlyErrorType.configuration
- Setup/config errorsRedirectlyErrorType.linkResolution
- Link processing errors
Technical Details #
- Minimum Flutter SDK: 3.0.0
- Minimum Dart SDK: 3.0.0
- Dependencies:
app_links ^6.3.2
,http ^1.2.2
,plugin_platform_interface ^2.1.8
- Platform channels for native communication
- Event streams for real-time link handling
- HTTP client for direct API communication
Documentation #
- Complete API reference
- Setup instructions for Android and iOS
- Usage examples for all features
- Error handling patterns
- Example app with full implementation