I want to check if there is a software update in Android OS from Flutter side. Is there any package that helps me to do that?
Thanks for responses.
I want to check if there is a software update in Android OS from Flutter side. Is there any package that helps me to do that?
Thanks for responses.
Yes you can use upgrader for this
import 'package:flutter/material.dart';
import 'package:upgrader/upgrader.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Upgrader Example',
home: Scaffold(
appBar: AppBar(title: Text('Upgrader Example')),
body: UpgradeAlert(
child: Center(child: Text('Checking...')),
)),
);
}
}