Remove direct dialer package
This commit is contained in:
parent
c3f5791d80
commit
11816f03a4
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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<ClientViewDetails> {
|
|||
contact.phone,
|
||||
copyValue: contact.phone,
|
||||
subtitle: localization.phone,
|
||||
/*
|
||||
trailing: isApple() || isAndroid()
|
||||
? IconButton(
|
||||
onPressed: () async {
|
||||
|
|
@ -98,6 +97,7 @@ class _ClientViewDetailsState extends State<ClientViewDetails> {
|
|||
},
|
||||
icon: Icon(MdiIcons.dialpad))
|
||||
: null,
|
||||
*/
|
||||
onLongPress: () => setState(() {
|
||||
_launched =
|
||||
_launchURL(context, 'sms:' + cleanPhoneNumber(contact.phone));
|
||||
|
|
@ -123,6 +123,7 @@ class _ClientViewDetailsState extends State<ClientViewDetails> {
|
|||
icon: Icons.phone,
|
||||
title: client.phone,
|
||||
subtitle: localization.phone,
|
||||
/*
|
||||
trailing: isApple() || isAndroid()
|
||||
? IconButton(
|
||||
onPressed: () async {
|
||||
|
|
@ -135,6 +136,7 @@ class _ClientViewDetailsState extends State<ClientViewDetails> {
|
|||
},
|
||||
icon: Icon(MdiIcons.dialpad))
|
||||
: null,
|
||||
*/
|
||||
onLongPress: () => setState(() {
|
||||
_launched =
|
||||
_launchURL(context, 'sms:' + cleanPhoneNumber(client.phone));
|
||||
|
|
|
|||
|
|
@ -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<VendorViewDetails> {
|
|||
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<VendorViewDetails> {
|
|||
},
|
||||
icon: Icon(MdiIcons.dialpad))
|
||||
: null,
|
||||
*/
|
||||
onLongPress: () => setState(() {
|
||||
_launched =
|
||||
_launchURL(context, 'sms:' + cleanPhoneNumber(contact.phone));
|
||||
|
|
@ -109,6 +109,7 @@ class _VendorViewDetailsState extends State<VendorViewDetails> {
|
|||
icon: Icons.phone,
|
||||
title: vendor.phone,
|
||||
subtitle: localization.phone,
|
||||
/*
|
||||
trailing: isApple() || isAndroid()
|
||||
? IconButton(
|
||||
onPressed: () async {
|
||||
|
|
@ -121,6 +122,7 @@ class _VendorViewDetailsState extends State<VendorViewDetails> {
|
|||
},
|
||||
icon: Icon(MdiIcons.dialpad))
|
||||
: null,
|
||||
*/
|
||||
onLongPress: () => setState(() {
|
||||
_launched =
|
||||
_launchURL(context, 'sms:' + cleanPhoneNumber(vendor.phone));
|
||||
|
|
|
|||
|
|
@ -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"))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
112
pubspec.lock
112
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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <bitsdojo_window_windows/bitsdojo_window_plugin.h>
|
||||
#include <connectivity_plus_windows/connectivity_plus_windows_plugin.h>
|
||||
#include <permission_handler_windows/permission_handler_windows_plugin.h>
|
||||
#include <printing/printing_plugin.h>
|
||||
#include <screen_retriever/screen_retriever_plugin.h>
|
||||
|
|
@ -18,8 +17,6 @@
|
|||
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
||||
BitsdojoWindowPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("BitsdojoWindowPlugin"));
|
||||
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
||||
PermissionHandlerWindowsPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
|
||||
PrintingPluginRegisterWithRegistrar(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
bitsdojo_window_windows
|
||||
connectivity_plus_windows
|
||||
permission_handler_windows
|
||||
printing
|
||||
screen_retriever
|
||||
|
|
|
|||
Loading…
Reference in New Issue