diff --git a/ios/Podfile b/ios/Podfile index c1afdfc2a..4b37c6020 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '12.0' +platform :ios, '10.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/lib/ui/client/view/client_view_details.dart b/lib/ui/client/view/client_view_details.dart index 4a5420eca..a9b5fd96d 100644 --- a/lib/ui/client/view/client_view_details.dart +++ b/lib/ui/client/view/client_view_details.dart @@ -2,14 +2,12 @@ import 'dart:async'; // Flutter imports: -import 'package:direct_dialer/direct_dialer.dart'; import 'package:flutter/material.dart'; import 'package:flutter_redux/flutter_redux.dart'; // Package imports: import 'package:invoiceninja_flutter/redux/app/app_state.dart'; import 'package:invoiceninja_flutter/ui/app/portal_links.dart'; -import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; import 'package:url_launcher/url_launcher.dart'; // Project imports: @@ -86,6 +84,7 @@ class _ClientViewDetailsState extends State { contact.phone, copyValue: contact.phone, subtitle: localization.phone, + /* trailing: isApple() || isAndroid() ? IconButton( onPressed: () async { @@ -98,6 +97,7 @@ class _ClientViewDetailsState extends State { }, icon: Icon(MdiIcons.dialpad)) : null, + */ onLongPress: () => setState(() { _launched = _launchURL(context, 'sms:' + cleanPhoneNumber(contact.phone)); @@ -123,6 +123,7 @@ class _ClientViewDetailsState extends State { icon: Icons.phone, title: client.phone, subtitle: localization.phone, + /* trailing: isApple() || isAndroid() ? IconButton( onPressed: () async { @@ -135,6 +136,7 @@ class _ClientViewDetailsState extends State { }, icon: Icon(MdiIcons.dialpad)) : null, + */ onLongPress: () => setState(() { _launched = _launchURL(context, 'sms:' + cleanPhoneNumber(client.phone)); diff --git a/lib/ui/vendor/view/vendor_view_details.dart b/lib/ui/vendor/view/vendor_view_details.dart index ea689d941..10b5605b2 100644 --- a/lib/ui/vendor/view/vendor_view_details.dart +++ b/lib/ui/vendor/view/vendor_view_details.dart @@ -2,11 +2,9 @@ import 'dart:async'; // Flutter imports: -import 'package:direct_dialer/direct_dialer.dart'; import 'package:flutter/material.dart'; import 'package:flutter_redux/flutter_redux.dart'; import 'package:invoiceninja_flutter/redux/app/app_state.dart'; -import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; // Package imports: import 'package:url_launcher/url_launcher.dart'; @@ -72,6 +70,7 @@ class _VendorViewDetailsState extends State { title: contact.fullName + '\n' + contact.phone, copyValue: contact.phone, subtitle: localization.phone, + /* trailing: isApple() || isAndroid() ? IconButton( onPressed: () async { @@ -84,6 +83,7 @@ class _VendorViewDetailsState extends State { }, icon: Icon(MdiIcons.dialpad)) : null, + */ onLongPress: () => setState(() { _launched = _launchURL(context, 'sms:' + cleanPhoneNumber(contact.phone)); @@ -109,6 +109,7 @@ class _VendorViewDetailsState extends State { icon: Icons.phone, title: vendor.phone, subtitle: localization.phone, + /* trailing: isApple() || isAndroid() ? IconButton( onPressed: () async { @@ -121,6 +122,7 @@ class _VendorViewDetailsState extends State { }, icon: Icon(MdiIcons.dialpad)) : null, + */ onLongPress: () => setState(() { _launched = _launchURL(context, 'sms:' + cleanPhoneNumber(vendor.phone)); diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 0fb3c29b7..db4ffc3af 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,8 +6,6 @@ import FlutterMacOS import Foundation import bitsdojo_window_macos -import connectivity_plus_macos -import device_info_plus_macos import in_app_review import package_info import package_info_plus_macos @@ -23,8 +21,6 @@ import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { BitsdojoWindowPlugin.register(with: registry.registrar(forPlugin: "BitsdojoWindowPlugin")) - ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin")) - DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) InAppReviewPlugin.register(with: registry.registrar(forPlugin: "InAppReviewPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) diff --git a/pubspec.foss.yaml b/pubspec.foss.yaml index f081192e7..15af25e79 100644 --- a/pubspec.foss.yaml +++ b/pubspec.foss.yaml @@ -76,7 +76,6 @@ dependencies: sign_in_with_apple: ^4.0.0 window_manager: ^0.2.5 bitsdojo_window: ^0.1.2 - direct_dialer: ^1.2.0 # quick_actions: ^0.2.1 # idb_shim: ^1.11.1+1 diff --git a/pubspec.lock b/pubspec.lock index 6310dcf5c..8f8c1e315 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -15,13 +15,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.8.0" - android_intent_plus: - dependency: transitive - description: - name: android_intent_plus - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.1" archive: dependency: transitive description: @@ -246,48 +239,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.16.0" - connectivity_plus: - dependency: transitive - description: - name: connectivity_plus - url: "https://pub.dartlang.org" - source: hosted - version: "2.3.6" - connectivity_plus_linux: - dependency: transitive - description: - name: connectivity_plus_linux - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.1" - connectivity_plus_macos: - dependency: transitive - description: - name: connectivity_plus_macos - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.4" - connectivity_plus_platform_interface: - dependency: transitive - description: - name: connectivity_plus_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.1" - connectivity_plus_web: - dependency: transitive - description: - name: connectivity_plus_web - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.3" - connectivity_plus_windows: - dependency: transitive - description: - name: connectivity_plus_windows - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.2" contacts_service: dependency: "direct main" description: @@ -344,55 +295,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.1" - dbus: - dependency: transitive - description: - name: dbus - url: "https://pub.dartlang.org" - source: hosted - version: "0.7.3" - device_info_plus: - dependency: transitive - description: - name: device_info_plus - url: "https://pub.dartlang.org" - source: hosted - version: "3.2.4" - device_info_plus_linux: - dependency: transitive - description: - name: device_info_plus_linux - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" - device_info_plus_macos: - dependency: transitive - description: - name: device_info_plus_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.3" - device_info_plus_platform_interface: - dependency: transitive - description: - name: device_info_plus_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.3.0+1" - device_info_plus_web: - dependency: transitive - description: - name: device_info_plus_web - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - device_info_plus_windows: - dependency: transitive - description: - name: device_info_plus_windows - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" diacritic: dependency: "direct main" description: @@ -400,13 +302,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.1.3" - direct_dialer: - dependency: "direct main" - description: - name: direct_dialer - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" fake_async: dependency: transitive description: @@ -864,13 +759,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.5.1" - nm: - dependency: transitive - description: - name: nm - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.0" node_preamble: dependency: transitive description: diff --git a/pubspec.next.yaml b/pubspec.next.yaml index 14eb469ea..8dce7df04 100644 --- a/pubspec.next.yaml +++ b/pubspec.next.yaml @@ -76,7 +76,6 @@ dependencies: sign_in_with_apple: ^4.0.0 window_manager: ^0.2.5 bitsdojo_window: ^0.1.2 - direct_dialer: ^1.2.0 # quick_actions: ^0.2.1 # idb_shim: ^1.11.1+1 diff --git a/pubspec.yaml b/pubspec.yaml index 737f64da5..b056c91fa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -76,7 +76,6 @@ dependencies: sign_in_with_apple: ^4.0.0 window_manager: ^0.2.5 bitsdojo_window: ^0.1.2 - direct_dialer: ^1.2.0 # quick_actions: ^0.2.1 # idb_shim: ^1.11.1+1 diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 8a7219649..4d76077d1 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -7,7 +7,6 @@ #include "generated_plugin_registrant.h" #include -#include #include #include #include @@ -18,8 +17,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { BitsdojoWindowPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("BitsdojoWindowPlugin")); - ConnectivityPlusWindowsPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin")); PermissionHandlerWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin")); PrintingPluginRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index d497bb40e..5fa026a61 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -4,7 +4,6 @@ list(APPEND FLUTTER_PLUGIN_LIST bitsdojo_window_windows - connectivity_plus_windows permission_handler_windows printing screen_retriever