Skip to content

Commit e48112c

Browse files
update deps
1 parent dc37664 commit e48112c

19 files changed

+670
-616
lines changed

example/ios/Flutter/AppFrameworkInfo.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

+137-9
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,156 @@
11
PODS:
2+
- DKImagePickerController/Core (4.3.9):
3+
- DKImagePickerController/ImageDataManager
4+
- DKImagePickerController/Resource
5+
- DKImagePickerController/ImageDataManager (4.3.9)
6+
- DKImagePickerController/PhotoGallery (4.3.9):
7+
- DKImagePickerController/Core
8+
- DKPhotoGallery
9+
- DKImagePickerController/Resource (4.3.9)
10+
- DKPhotoGallery (0.0.19):
11+
- DKPhotoGallery/Core (= 0.0.19)
12+
- DKPhotoGallery/Model (= 0.0.19)
13+
- DKPhotoGallery/Preview (= 0.0.19)
14+
- DKPhotoGallery/Resource (= 0.0.19)
15+
- SDWebImage
16+
- SwiftyGif
17+
- DKPhotoGallery/Core (0.0.19):
18+
- DKPhotoGallery/Model
19+
- DKPhotoGallery/Preview
20+
- SDWebImage
21+
- SwiftyGif
22+
- DKPhotoGallery/Model (0.0.19):
23+
- SDWebImage
24+
- SwiftyGif
25+
- DKPhotoGallery/Preview (0.0.19):
26+
- DKPhotoGallery/Model
27+
- DKPhotoGallery/Resource
28+
- SDWebImage
29+
- SwiftyGif
30+
- DKPhotoGallery/Resource (0.0.19):
31+
- SDWebImage
32+
- SwiftyGif
33+
- file_picker (0.0.1):
34+
- DKImagePickerController/PhotoGallery
35+
- Flutter
236
- Flutter (1.0.0)
3-
- path_provider_ios (0.0.1):
37+
- flutter_secure_storage (6.0.0):
38+
- Flutter
39+
- image_picker_ios (0.0.1):
40+
- Flutter
41+
- media_kit_libs_ios_video (1.0.4):
42+
- Flutter
43+
- media_kit_native_event_loop (1.0.0):
44+
- Flutter
45+
- media_kit_video (0.0.1):
46+
- Flutter
47+
- open_filex (0.0.2):
48+
- Flutter
49+
- package_info_plus (0.4.5):
450
- Flutter
51+
- path_provider_foundation (0.0.1):
52+
- Flutter
53+
- FlutterMacOS
54+
- screen_brightness_ios (0.1.0):
55+
- Flutter
56+
- SDWebImage (5.20.0):
57+
- SDWebImage/Core (= 5.20.0)
58+
- SDWebImage/Core (5.20.0)
59+
- sqflite_darwin (0.0.4):
60+
- Flutter
61+
- FlutterMacOS
62+
- SwiftyGif (5.4.5)
563
- url_launcher_ios (0.0.1):
664
- Flutter
65+
- volume_controller (0.0.1):
66+
- Flutter
67+
- wakelock_plus (0.0.1):
68+
- Flutter
69+
- webview_flutter_wkwebview (0.0.1):
70+
- Flutter
71+
- FlutterMacOS
772

873
DEPENDENCIES:
74+
- file_picker (from `.symlinks/plugins/file_picker/ios`)
975
- Flutter (from `Flutter`)
10-
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
76+
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
77+
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
78+
- media_kit_libs_ios_video (from `.symlinks/plugins/media_kit_libs_ios_video/ios`)
79+
- media_kit_native_event_loop (from `.symlinks/plugins/media_kit_native_event_loop/ios`)
80+
- media_kit_video (from `.symlinks/plugins/media_kit_video/ios`)
81+
- open_filex (from `.symlinks/plugins/open_filex/ios`)
82+
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
83+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
84+
- screen_brightness_ios (from `.symlinks/plugins/screen_brightness_ios/ios`)
85+
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
1186
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
87+
- volume_controller (from `.symlinks/plugins/volume_controller/ios`)
88+
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
89+
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
90+
91+
SPEC REPOS:
92+
trunk:
93+
- DKImagePickerController
94+
- DKPhotoGallery
95+
- SDWebImage
96+
- SwiftyGif
1297

1398
EXTERNAL SOURCES:
99+
file_picker:
100+
:path: ".symlinks/plugins/file_picker/ios"
14101
Flutter:
15102
:path: Flutter
16-
path_provider_ios:
17-
:path: ".symlinks/plugins/path_provider_ios/ios"
103+
flutter_secure_storage:
104+
:path: ".symlinks/plugins/flutter_secure_storage/ios"
105+
image_picker_ios:
106+
:path: ".symlinks/plugins/image_picker_ios/ios"
107+
media_kit_libs_ios_video:
108+
:path: ".symlinks/plugins/media_kit_libs_ios_video/ios"
109+
media_kit_native_event_loop:
110+
:path: ".symlinks/plugins/media_kit_native_event_loop/ios"
111+
media_kit_video:
112+
:path: ".symlinks/plugins/media_kit_video/ios"
113+
open_filex:
114+
:path: ".symlinks/plugins/open_filex/ios"
115+
package_info_plus:
116+
:path: ".symlinks/plugins/package_info_plus/ios"
117+
path_provider_foundation:
118+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
119+
screen_brightness_ios:
120+
:path: ".symlinks/plugins/screen_brightness_ios/ios"
121+
sqflite_darwin:
122+
:path: ".symlinks/plugins/sqflite_darwin/darwin"
18123
url_launcher_ios:
19124
:path: ".symlinks/plugins/url_launcher_ios/ios"
125+
volume_controller:
126+
:path: ".symlinks/plugins/volume_controller/ios"
127+
wakelock_plus:
128+
:path: ".symlinks/plugins/wakelock_plus/ios"
129+
webview_flutter_wkwebview:
130+
:path: ".symlinks/plugins/webview_flutter_wkwebview/darwin"
20131

21132
SPEC CHECKSUMS:
22-
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
23-
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
24-
url_launcher_ios: ae1517e5e344f5544fb090b079e11f399dfbe4d2
133+
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
134+
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
135+
file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655
136+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
137+
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
138+
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
139+
media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1
140+
media_kit_native_event_loop: e6b2ab20cf0746eb1c33be961fcf79667304fa2a
141+
media_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e
142+
open_filex: 6e26e659846ec990262224a12ef1c528bb4edbe4
143+
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
144+
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
145+
screen_brightness_ios: 715ca807df953bf676d339f11464e438143ee625
146+
SDWebImage: 73c6079366fea25fa4bb9640d5fb58f0893facd8
147+
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
148+
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
149+
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
150+
volume_controller: 531ddf792994285c9b17f9d8a7e4dcdd29b3eae9
151+
wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1
152+
webview_flutter_wkwebview: 0982481e3d9c78fd5c6f62a002fcd24fc791f1e4
25153

26-
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
154+
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
27155

28-
COCOAPODS: 1.11.3
156+
COCOAPODS: 1.15.2

example/ios/Runner.xcodeproj/project.pbxproj

+8-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -156,7 +156,7 @@
156156
97C146E61CF9000F007C117D /* Project object */ = {
157157
isa = PBXProject;
158158
attributes = {
159-
LastUpgradeCheck = 1300;
159+
LastUpgradeCheck = 1510;
160160
ORGANIZATIONNAME = "";
161161
TargetAttributes = {
162162
97C146ED1CF9000F007C117D = {
@@ -200,10 +200,12 @@
200200
/* Begin PBXShellScriptBuildPhase section */
201201
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202202
isa = PBXShellScriptBuildPhase;
203+
alwaysOutOfDate = 1;
203204
buildActionMask = 2147483647;
204205
files = (
205206
);
206207
inputPaths = (
208+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
207209
);
208210
name = "Thin Binary";
209211
outputPaths = (
@@ -231,6 +233,7 @@
231233
};
232234
9740EEB61CF901F6004384FC /* Run Script */ = {
233235
isa = PBXShellScriptBuildPhase;
236+
alwaysOutOfDate = 1;
234237
buildActionMask = 2147483647;
235238
files = (
236239
);
@@ -340,7 +343,7 @@
340343
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
341344
GCC_WARN_UNUSED_FUNCTION = YES;
342345
GCC_WARN_UNUSED_VARIABLE = YES;
343-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
346+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
344347
MTL_ENABLE_DEBUG_INFO = NO;
345348
SDKROOT = iphoneos;
346349
SUPPORTED_PLATFORMS = iphoneos;
@@ -414,7 +417,7 @@
414417
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
415418
GCC_WARN_UNUSED_FUNCTION = YES;
416419
GCC_WARN_UNUSED_VARIABLE = YES;
417-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
420+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
418421
MTL_ENABLE_DEBUG_INFO = YES;
419422
ONLY_ACTIVE_ARCH = YES;
420423
SDKROOT = iphoneos;
@@ -463,7 +466,7 @@
463466
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
464467
GCC_WARN_UNUSED_FUNCTION = YES;
465468
GCC_WARN_UNUSED_VARIABLE = YES;
466-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
469+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
467470
MTL_ENABLE_DEBUG_INFO = NO;
468471
SDKROOT = iphoneos;
469472
SUPPORTED_PLATFORMS = iphoneos;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

example/ios/Runner/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
<false/>
4444
<key>CADisableMinimumFrameDurationOnPhone</key>
4545
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4648
</dict>
4749
</plist>

example/lib/main.dart

+4-22
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,15 @@ class _MyHomePageState extends State<MyHomePage> {
4646
appBar: AppBar(
4747
title: Text("Chatwoot Example"),
4848
),
49-
body: ChatwootWidget(
50-
websiteToken: "websiteToken",
51-
baseUrl: "https://app.chatwoot.com",
49+
body: ChatwootChat(
50+
baseUrl: "https://chat.goldenprizma.com",
5251
user: ChatwootUser(
5352
identifier: "[email protected]",
5453
name: "Tester test",
5554
5655
),
57-
locale: "en",
58-
closeWidget: () {
59-
if (Platform.isAndroid) {
60-
SystemNavigator.pop();
61-
} else if (Platform.isIOS) {
62-
exit(0);
63-
}
64-
},
65-
//attachment only works on android for now
66-
onAttachFile: _androidFilePicker,
67-
onLoadStarted: () {
68-
print("loading widget");
69-
},
70-
onLoadProgress: (int progress) {
71-
print("loading... ${progress}");
72-
},
73-
onLoadCompleted: () {
74-
print("widget loaded");
75-
},
56+
//attachment only works on android for now,
57+
inboxIdentifier: 'gHgywYWNz6nbrNp2GzWBvaYo',
7658
),
7759
);
7860
}

0 commit comments

Comments
 (0)