update packages
This commit is contained in:
@@ -4,7 +4,7 @@ import 'dart:io';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:in_app_update/in_app_update.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
|
||||
import 'error_material_alert.dart';
|
||||
import 'update_cupertino_alert.dart';
|
||||
@@ -51,6 +51,7 @@ class NativeUpdater {
|
||||
/// Get current installed version of app
|
||||
final PackageInfo info = await PackageInfo.fromPlatform();
|
||||
|
||||
|
||||
/// Set singleton properties
|
||||
_nativeUpdaterInstance._context = context;
|
||||
_nativeUpdaterInstance._forceUpdate = forceUpdate;
|
||||
|
||||
Reference in New Issue
Block a user