updatify_flutter 1.0.0
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'),
)
),
),
),
),
);
}
Opening links #
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.