launchify 1.0.4
launchify: ^1.0.4 copied to clipboard
A powerful Flutter UI package to launch WhatsApp, Email, Phone, Maps, and URLs with customizable Action Buttons and Link Rows.
1.0.4 #
- TikTok Fixes and Enhancements:
- Improved TikTok launching logic, bypassing installation checks.
- Ensured TikTok video links open directly as videos.
- Refactored to use user-provided
valuedirectly for TikTok URLs, removing custom URI building.
- Social Media Platform Enhancements (Instagram, LinkedIn, Facebook, GitHub):
- Prioritized direct web launch for these platforms.
- Fixed issues with Instagram, LinkedIn, and Facebook buttons.
- Refactored to use user-provided
valuedirectly for all content types (profiles, posts, comments, etc.), removing custom URI building.
- General Fixes and Improvements:
- Resolved "Invalid SVG data" exceptions by adding an
errorBuildertoSvgPicture.asset. - Addressed and cleared
use_build_context_synchronouslywarnings inlauncher.dart. - Fixed an issue where
shareTextwas empty forLaunchType.share. - Refactored
url_builder.dartandlauncher.dartto streamline URI handling.
- Resolved "Invalid SVG data" exceptions by adding an
1.0.3 #
- App Awareness: Implemented functionality to check if a target application is installed before attempting to launch.
- Added
checkAppInstallation(boolean) andappStoreLink(string) toLaunchOptionsfor configuration. - Utilizes
external_app_launcherfor robust Android app installation checks via package names. - Leverages existing
canLaunchUrlandIosAppLauncherfor iOS app scheme validation. - Presents an "App Not Installed" dialog if the app is not found, offering options to:
- Navigate to the provided
appStoreLink. - Fallback to the web URI (if available and
fallbackModeisprompt). - Cancel the launch action.
- Navigate to the provided
- Added
- Dependency Update: Integrated
external_app_launcherpackage for cross-platform app installation checks.
1.0.2 #
- New Launch Types: Added support for Instagram, TikTok, LinkedIn, Calendar, and generic Share actions.
- Dynamic URI Builders: Implemented robust and dynamic URI builders for all
LaunchTypevalues, ensuring correct formatting and encoding. - Multi-Choice Launch Dialogs: Introduced
LaunchOptionsto enable multi-choice dialogs for actions that can be handled by multiple apps (e.g., opening a map, sharing content).- Android: Utilizes
android_intent_plusfor native app choosers. - iOS: Provides a custom dialog to select from available apps.
- Android: Utilizes
- Backward Compatibility: Maintained backward compatibility with existing
launchmethods by inferringLaunchTypefromUriwhenLaunchOptionsare not explicitly provided. - Widget Integration:
LaunchOptionscan now be passed throughLaunchLink,LaunchActionButton, andLaunchLinkRowwidgets to configure multi-choice behavior directly from your UI. - Dependency Updates: Updated
android_intent_plusto version4.0.3to resolve build issues and improve compatibility. - Code Stability: Addressed
BuildContextusage across async gaps inlauncher.dartto prevent potential runtime errors. - Example Update: The example application now includes a demonstration of the multi-choice dialog functionality for map launching.
1.0.1 #
- Advanced Icon Support: Added support for local assets and network images (PNG, JPG, SVG).
- Enhanced Styling: Added
iconWidth,iconHeight, andiconFit(BoxFit) properties toLaunchStylefor precise image control. - Smart Visibility: Added
showIconproperty to toggle icons on/off. - Improved developer logging and error validation.
1.0.0 #
- Initial release of Launchify.
- Support for multiple launch types: WhatsApp, Email, Phone, SMS, Website, Map, and Custom URLs.
- Two display modes:
ActionButton(URL hidden) andLinkRow(URL visible). - Comprehensive
LaunchStylefor UI customization. - Built-in RTL/LTR support with automatic layout flipping.
- Safe URL validation and security checks using
canLaunchUrl. - Full API documentation and comprehensive example application.