launchify 1.0.4 copy "launchify: ^1.0.4" to clipboard
launchify: ^1.0.4 copied to clipboard

PlatformAndroid

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 value directly 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 value directly for all content types (profiles, posts, comments, etc.), removing custom URI building.
  • General Fixes and Improvements:
    • Resolved "Invalid SVG data" exceptions by adding an errorBuilder to SvgPicture.asset.
    • Addressed and cleared use_build_context_synchronously warnings in launcher.dart.
    • Fixed an issue where shareText was empty for LaunchType.share.
    • Refactored url_builder.dart and launcher.dart to streamline URI handling.

1.0.3 #

  • App Awareness: Implemented functionality to check if a target application is installed before attempting to launch.
    • Added checkAppInstallation (boolean) and appStoreLink (string) to LaunchOptions for configuration.
    • Utilizes external_app_launcher for robust Android app installation checks via package names.
    • Leverages existing canLaunchUrl and IosAppLauncher for 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 fallbackMode is prompt).
      • Cancel the launch action.
  • Dependency Update: Integrated external_app_launcher package 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 LaunchType values, ensuring correct formatting and encoding.
  • Multi-Choice Launch Dialogs: Introduced LaunchOptions to enable multi-choice dialogs for actions that can be handled by multiple apps (e.g., opening a map, sharing content).
    • Android: Utilizes android_intent_plus for native app choosers.
    • iOS: Provides a custom dialog to select from available apps.
  • Backward Compatibility: Maintained backward compatibility with existing launch methods by inferring LaunchType from Uri when LaunchOptions are not explicitly provided.
  • Widget Integration: LaunchOptions can now be passed through LaunchLink, LaunchActionButton, and LaunchLinkRow widgets to configure multi-choice behavior directly from your UI.
  • Dependency Updates: Updated android_intent_plus to version 4.0.3 to resolve build issues and improve compatibility.
  • Code Stability: Addressed BuildContext usage across async gaps in launcher.dart to 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, and iconFit (BoxFit) properties to LaunchStyle for precise image control.
  • Smart Visibility: Added showIcon property 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) and LinkRow (URL visible).
  • Comprehensive LaunchStyle for 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.
5
likes
150
points
543
downloads

Publisher

verified publishergreelogix.com

Weekly Downloads

A powerful Flutter UI package to launch WhatsApp, Email, Phone, Maps, and URLs with customizable Action Buttons and Link Rows.

Repository (GitHub)
View/report issues

Topics

#ui #widget #url-launcher #whatsapp #email

Documentation

API reference

License

MIT (license)

Dependencies

android_intent_plus, cupertino_icons, external_app_launcher, flutter, flutter_localizations, flutter_svg, intl, platform, share_plus, url_launcher

More

Packages that depend on launchify