Overview
uni_links2 is a Flutter plugin that enables apps to handle incoming links across platforms, supporting deep links on Android, Universal Links on iOS, and custom URL schemes. It provides a unified API for detecting and processing link data when the app is launched or resumed via a link. The package simplifies integration with external services, such as email campaigns, social media, or web redirects, by allowing seamless navigation within the app based on the received URL. It works reliably in both foreground and background states, ensuring consistent behavior across devices.
Use cases
- Handling deep links from emails or messages
- Enabling universal app navigation via URLs
- Supporting referral tracking and campaign analytics
- Integrating with third-party services using custom schemes
- Processing shared links from other apps
Key features
- Cross-platform deep linking (Android & iOS)
- Support for Universal Links and custom URL schemes
- Background and foreground link handling
- Simple, reactive API for link streams
- Built-in URL parsing and extraction
Suitable for
- Apps requiring deep linking functionality
- Developers building referral or marketing campaigns
- Projects integrating with external sharing or redirect services
- Mobile apps needing seamless URL-based navigation
- Teams prioritizing platform-agnostic link handling
Considerations
- Requires proper configuration in AndroidManifest.xml and Info.plist
- May need additional setup for iOS App Links and Associated Domains
- Limited support for complex URL patterns without custom parsing
- Not suitable for handling all types of push notifications
- Depends on correct app registration with domain authorities