updatify_flutter 1.0.0 copy "updatify_flutter: ^1.0.0" to clipboard
updatify_flutter: ^1.0.0 copied to clipboard

A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.

UpdatifyWidget is a Flutter widget designed to seamlessly integrate with the Updatify service. It allows to display recent updates, announcements, or notifications from projects directly within SaaS applications. By leveraging the Updatify API, the widget provides a user-friendly interface for showcasing project updates, enhancing user engagement and communication.

For more info visit the Updatify website.

Usage example #

import 'package:updatify_flutter/updatify_flutter.dart';

void main() {
  const projectId = 'your_project_id'; // Replace with your actual project ID
  runApp(
    MaterialApp(
      home: Scaffold(
        body: Center(
          child: Builder(
            builder: (context) => ElevatedButton(
              onPressed: () => showUpdatifyDialog(context, projectId: projectId),
              child: const Text('Recent updates'),
            )
          ),
        ),
      ),
    ),
  );
}

Links in post bodies open in the device's default browser via url_launcher. For this to work in release builds, the host app must declare the appropriate platform config:

iOS — add to ios/Runner/Info.plist:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>https</string>
  <string>http</string>
</array>

Android — add to android/app/src/main/AndroidManifest.xml, as a direct child of the <manifest> element:

<queries>
  <intent>
    <action android:name="android.intent.action.VIEW" />
    <data android:scheme="https" />
  </intent>
</queries>

macOS — the app is sandboxed, so add the network client entitlement to both macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements:

<key>com.apple.security.network.client</key>
<true/>

Windows, Linux, and web need no additional configuration.

See the url_launcher docs for details.

2
likes
0
points
157
downloads

Publisher

verified publisherupdatify.io

Weekly Downloads

A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.

Homepage
Repository (GitHub)
View/report issues

Topics

#updatify #release-notes #changelog #announcements

License

unknown (license)

Dependencies

cached_network_image, flutter, http, intl, markdown_rich_text, url_launcher, visibility_detector

More

Packages that depend on updatify_flutter