Skip to content

Commit 249da61

Browse files
committed
Minor iOS and Android updates, lint, etc.
1 parent f6ebfd4 commit 249da61

12 files changed

+43
-314
lines changed

RELEASE.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ We use Patrol integration testing framework to orchestrate navigation through th
3333

3434
0. Build:
3535

36+
BOTH:
37+
38+
Uncomment patrol dependency in pubspec.yaml and run `flutter pub get`
39+
40+
Above is needed until we can leave the dependency in permanently:
41+
https://github.com/leancodepl/patrol/issues/681#issuecomment-1362021165
42+
3643
ios:
3744

3845
```
@@ -96,4 +103,6 @@ bundle exec fastlane match nuke development
96103
bundle exec fastlane match nuke distribution
97104
bundle exec fastlane generate_new_certificates
98105
bundle exec fastlane iapdevcert
99-
```
106+
```
107+
108+
`bundle exec fastlane certificates` on any other mac devices to get the latest certs that were just generated.

integration_test/manual_screenshots_test.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import 'package:flutter_settings_screens/flutter_settings_screens.dart';
66
import 'package:flutter_test/flutter_test.dart';
77
import 'package:keevault/config/platform.dart';
88
import 'package:keevault/widgets/kee_vault_app.dart';
9+
import 'package:matomo_tracker/matomo_tracker.dart';
910
import 'package:path_provider/path_provider.dart';
11+
// We have to exclude this package from pubspec.yaml most of the time but don't want
12+
// to have to come back here to reenable it when it is occasionally re-enabled.
13+
// ignore: depend_on_referenced_packages
1014
import 'package:patrol/patrol.dart';
1115
import 'package:public_suffix/public_suffix.dart';
1216
import 'package:shared_preferences/shared_preferences.dart';
@@ -33,6 +37,11 @@ void main() {
3337
await Settings.setValue('introShownVaultSummary', true);
3438
// await Settings.setValue('currentSortOrder', enumToString(mode));
3539

40+
await MatomoTracker.instance.initialize(
41+
siteId: 7,
42+
url: 'https://fakematomoaddressfortesting.kee.pm/',
43+
);
44+
3645
// install local user kdbx file for demo
3746
await createDemo();
3847

ios/Podfile.lock

Lines changed: 6 additions & 211 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
PODS:
2-
- _NIODataStructures (2.40.0)
32
- argon2_ffi (0.0.1):
43
- Flutter
54
- barcode_scan2 (0.0.1):
@@ -8,15 +7,6 @@ PODS:
87
- SwiftProtobuf
98
- biometric_storage (0.0.1):
109
- Flutter
11-
- CGRPCZlib (1.8.0)
12-
- CNIOAtomics (2.40.0)
13-
- CNIOBoringSSL (2.19.0)
14-
- CNIOBoringSSLShims (2.19.0):
15-
- CNIOBoringSSL (= 2.19.0)
16-
- CNIODarwin (2.40.0)
17-
- CNIOHTTPParser (2.40.0)
18-
- CNIOLinux (2.40.0)
19-
- CNIOWindows (2.40.0)
2010
- device_info_plus (0.0.1):
2111
- Flutter
2212
- DKImagePickerController/Core (4.3.4):
@@ -60,167 +50,24 @@ PODS:
6050
- Flutter
6151
- flutter_native_splash (0.0.1):
6252
- Flutter
63-
- gRPC-Swift (1.8.0):
64-
- CGRPCZlib (= 1.8.0)
65-
- Logging (< 2.0.0, >= 1.4.0)
66-
- SwiftNIO (< 3.0.0, >= 2.32.0)
67-
- SwiftNIOExtras (< 2.0.0, >= 1.4.0)
68-
- SwiftNIOHTTP2 (< 2.0.0, >= 1.22.0)
69-
- SwiftNIOSSL (< 3.0.0, >= 2.14.0)
70-
- SwiftNIOTransportServices (< 2.0.0, >= 1.11.1)
71-
- SwiftProtobuf (< 2.0.0, >= 1.19.0)
72-
- integration_test (0.0.1):
73-
- Flutter
74-
- Logging (1.4.0)
7553
- MTBBarcodeScanner (5.0.11)
7654
- package_info_plus (0.4.5):
7755
- Flutter
7856
- path_provider_foundation (0.0.1):
7957
- Flutter
8058
- FlutterMacOS
81-
- patrol (0.0.1):
82-
- Flutter
83-
- gRPC-Swift (~> 1.8.0)
8459
- permission_handler_apple (9.1.1):
8560
- Flutter
8661
- SDWebImage (5.14.2):
8762
- SDWebImage/Core (= 5.14.2)
8863
- SDWebImage/Core (5.14.2)
64+
- sensitive_clipboard (0.0.1):
65+
- Flutter
8966
- share_plus (0.0.1):
9067
- Flutter
9168
- shared_preferences_foundation (0.0.1):
9269
- Flutter
9370
- FlutterMacOS
94-
- SwiftNIO (2.40.0):
95-
- _NIODataStructures (= 2.40.0)
96-
- CNIOAtomics (= 2.40.0)
97-
- CNIODarwin (= 2.40.0)
98-
- CNIOLinux (= 2.40.0)
99-
- CNIOWindows (= 2.40.0)
100-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
101-
- SwiftNIOCore (= 2.40.0)
102-
- SwiftNIOEmbedded (= 2.40.0)
103-
- SwiftNIOPosix (= 2.40.0)
104-
- SwiftNIOConcurrencyHelpers (2.40.0):
105-
- CNIOAtomics (= 2.40.0)
106-
- SwiftNIOCore (2.40.0):
107-
- CNIOAtomics (= 2.40.0)
108-
- CNIOLinux (= 2.40.0)
109-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
110-
- SwiftNIOEmbedded (2.40.0):
111-
- _NIODataStructures (= 2.40.0)
112-
- CNIOAtomics (= 2.40.0)
113-
- CNIOLinux (= 2.40.0)
114-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
115-
- SwiftNIOCore (= 2.40.0)
116-
- SwiftNIOExtras (1.11.0):
117-
- _NIODataStructures (< 3, >= 2.32.0)
118-
- CNIOAtomics (< 3, >= 2.32.0)
119-
- CNIODarwin (< 3, >= 2.32.0)
120-
- CNIOLinux (< 3, >= 2.32.0)
121-
- CNIOWindows (< 3, >= 2.32.0)
122-
- SwiftNIO (< 3, >= 2.32.0)
123-
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
124-
- SwiftNIOCore (< 3, >= 2.32.0)
125-
- SwiftNIOEmbedded (< 3, >= 2.32.0)
126-
- SwiftNIOPosix (< 3, >= 2.32.0)
127-
- SwiftNIOFoundationCompat (2.40.0):
128-
- _NIODataStructures (= 2.40.0)
129-
- CNIOAtomics (= 2.40.0)
130-
- CNIODarwin (= 2.40.0)
131-
- CNIOLinux (= 2.40.0)
132-
- CNIOWindows (= 2.40.0)
133-
- SwiftNIO (= 2.40.0)
134-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
135-
- SwiftNIOCore (= 2.40.0)
136-
- SwiftNIOEmbedded (= 2.40.0)
137-
- SwiftNIOPosix (= 2.40.0)
138-
- SwiftNIOHPACK (1.22.0):
139-
- _NIODataStructures (< 3, >= 2.35.0)
140-
- CNIOAtomics (< 3, >= 2.35.0)
141-
- CNIODarwin (< 3, >= 2.35.0)
142-
- CNIOHTTPParser (< 3, >= 2.35.0)
143-
- CNIOLinux (< 3, >= 2.35.0)
144-
- CNIOWindows (< 3, >= 2.35.0)
145-
- SwiftNIO (< 3, >= 2.35.0)
146-
- SwiftNIOConcurrencyHelpers (< 3, >= 2.35.0)
147-
- SwiftNIOCore (< 3, >= 2.35.0)
148-
- SwiftNIOEmbedded (< 3, >= 2.35.0)
149-
- SwiftNIOHTTP1 (< 3, >= 2.35.0)
150-
- SwiftNIOPosix (< 3, >= 2.35.0)
151-
- SwiftNIOHTTP1 (2.40.0):
152-
- _NIODataStructures (= 2.40.0)
153-
- CNIOAtomics (= 2.40.0)
154-
- CNIODarwin (= 2.40.0)
155-
- CNIOHTTPParser (= 2.40.0)
156-
- CNIOLinux (= 2.40.0)
157-
- CNIOWindows (= 2.40.0)
158-
- SwiftNIO (= 2.40.0)
159-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
160-
- SwiftNIOCore (= 2.40.0)
161-
- SwiftNIOEmbedded (= 2.40.0)
162-
- SwiftNIOPosix (= 2.40.0)
163-
- SwiftNIOHTTP2 (1.22.0):
164-
- _NIODataStructures (< 3, >= 2.35.0)
165-
- CNIOAtomics (< 3, >= 2.35.0)
166-
- CNIODarwin (< 3, >= 2.35.0)
167-
- CNIOHTTPParser (< 3, >= 2.35.0)
168-
- CNIOLinux (< 3, >= 2.35.0)
169-
- CNIOWindows (< 3, >= 2.35.0)
170-
- SwiftNIO (< 3, >= 2.35.0)
171-
- SwiftNIOConcurrencyHelpers (< 3, >= 2.35.0)
172-
- SwiftNIOCore (< 3, >= 2.35.0)
173-
- SwiftNIOEmbedded (< 3, >= 2.35.0)
174-
- SwiftNIOHPACK (= 1.22.0)
175-
- SwiftNIOHTTP1 (< 3, >= 2.35.0)
176-
- SwiftNIOPosix (< 3, >= 2.35.0)
177-
- SwiftNIOTLS (< 3, >= 2.35.0)
178-
- SwiftNIOPosix (2.40.0):
179-
- _NIODataStructures (= 2.40.0)
180-
- CNIOAtomics (= 2.40.0)
181-
- CNIODarwin (= 2.40.0)
182-
- CNIOLinux (= 2.40.0)
183-
- CNIOWindows (= 2.40.0)
184-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
185-
- SwiftNIOCore (= 2.40.0)
186-
- SwiftNIOSSL (2.19.0):
187-
- _NIODataStructures (< 3, >= 2.32.0)
188-
- CNIOAtomics (< 3, >= 2.32.0)
189-
- CNIOBoringSSL (= 2.19.0)
190-
- CNIOBoringSSLShims (= 2.19.0)
191-
- CNIODarwin (< 3, >= 2.32.0)
192-
- CNIOLinux (< 3, >= 2.32.0)
193-
- CNIOWindows (< 3, >= 2.32.0)
194-
- SwiftNIO (< 3, >= 2.32.0)
195-
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
196-
- SwiftNIOCore (< 3, >= 2.32.0)
197-
- SwiftNIOEmbedded (< 3, >= 2.32.0)
198-
- SwiftNIOPosix (< 3, >= 2.32.0)
199-
- SwiftNIOTLS (< 3, >= 2.32.0)
200-
- SwiftNIOTLS (2.40.0):
201-
- _NIODataStructures (= 2.40.0)
202-
- CNIOAtomics (= 2.40.0)
203-
- CNIODarwin (= 2.40.0)
204-
- CNIOLinux (= 2.40.0)
205-
- CNIOWindows (= 2.40.0)
206-
- SwiftNIO (= 2.40.0)
207-
- SwiftNIOConcurrencyHelpers (= 2.40.0)
208-
- SwiftNIOCore (= 2.40.0)
209-
- SwiftNIOEmbedded (= 2.40.0)
210-
- SwiftNIOPosix (= 2.40.0)
211-
- SwiftNIOTransportServices (1.12.0):
212-
- _NIODataStructures (< 3, >= 2.32.0)
213-
- CNIOAtomics (< 3, >= 2.32.0)
214-
- CNIODarwin (< 3, >= 2.32.0)
215-
- CNIOLinux (< 3, >= 2.32.0)
216-
- CNIOWindows (< 3, >= 2.32.0)
217-
- SwiftNIO (< 3, >= 2.32.0)
218-
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
219-
- SwiftNIOCore (< 3, >= 2.32.0)
220-
- SwiftNIOEmbedded (< 3, >= 2.32.0)
221-
- SwiftNIOFoundationCompat (< 3, >= 2.32.0)
222-
- SwiftNIOPosix (< 3, >= 2.32.0)
223-
- SwiftNIOTLS (< 3, >= 2.32.0)
22471
- SwiftProtobuf (1.20.3)
22572
- SwiftyGif (5.4.3)
22673
- url_launcher_ios (0.0.1):
@@ -236,45 +83,20 @@ DEPENDENCIES:
23683
- flutter_file_dialog (from `.symlinks/plugins/flutter_file_dialog/ios`)
23784
- flutter_inapp_purchase (from `.symlinks/plugins/flutter_inapp_purchase/ios`)
23885
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
239-
- integration_test (from `.symlinks/plugins/integration_test/ios`)
24086
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
24187
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
242-
- patrol (from `.symlinks/plugins/patrol/ios`)
24388
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
89+
- sensitive_clipboard (from `.symlinks/plugins/sensitive_clipboard/ios`)
24490
- share_plus (from `.symlinks/plugins/share_plus/ios`)
24591
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
24692
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
24793

24894
SPEC REPOS:
24995
trunk:
250-
- _NIODataStructures
251-
- CGRPCZlib
252-
- CNIOAtomics
253-
- CNIOBoringSSL
254-
- CNIOBoringSSLShims
255-
- CNIODarwin
256-
- CNIOHTTPParser
257-
- CNIOLinux
258-
- CNIOWindows
25996
- DKImagePickerController
26097
- DKPhotoGallery
261-
- gRPC-Swift
262-
- Logging
26398
- MTBBarcodeScanner
26499
- SDWebImage
265-
- SwiftNIO
266-
- SwiftNIOConcurrencyHelpers
267-
- SwiftNIOCore
268-
- SwiftNIOEmbedded
269-
- SwiftNIOExtras
270-
- SwiftNIOFoundationCompat
271-
- SwiftNIOHPACK
272-
- SwiftNIOHTTP1
273-
- SwiftNIOHTTP2
274-
- SwiftNIOPosix
275-
- SwiftNIOSSL
276-
- SwiftNIOTLS
277-
- SwiftNIOTransportServices
278100
- SwiftProtobuf
279101
- SwiftyGif
280102

@@ -297,16 +119,14 @@ EXTERNAL SOURCES:
297119
:path: ".symlinks/plugins/flutter_inapp_purchase/ios"
298120
flutter_native_splash:
299121
:path: ".symlinks/plugins/flutter_native_splash/ios"
300-
integration_test:
301-
:path: ".symlinks/plugins/integration_test/ios"
302122
package_info_plus:
303123
:path: ".symlinks/plugins/package_info_plus/ios"
304124
path_provider_foundation:
305125
:path: ".symlinks/plugins/path_provider_foundation/darwin"
306-
patrol:
307-
:path: ".symlinks/plugins/patrol/ios"
308126
permission_handler_apple:
309127
:path: ".symlinks/plugins/permission_handler_apple/ios"
128+
sensitive_clipboard:
129+
:path: ".symlinks/plugins/sensitive_clipboard/ios"
310130
share_plus:
311131
:path: ".symlinks/plugins/share_plus/ios"
312132
shared_preferences_foundation:
@@ -315,18 +135,9 @@ EXTERNAL SOURCES:
315135
:path: ".symlinks/plugins/url_launcher_ios/ios"
316136

317137
SPEC CHECKSUMS:
318-
_NIODataStructures: 3d45d8e70a1d17a15b1dc59d102c63dbc0525ffd
319138
argon2_ffi: 995b9260d81aa17f5d2a8a497f2d2763ba4c45f3
320139
barcode_scan2: 0af2bb63c81b4565aab6cd78278e4c0fa136dbb0
321140
biometric_storage: 1400f1382af3a4cc2bf05340e13c3d8de873ceb9
322-
CGRPCZlib: 298dd3237ba4bd7b3eed109e7080ff3324b7d9c9
323-
CNIOAtomics: 8edf08644e5e6fa0f021c239be9e8beb1cd9ef18
324-
CNIOBoringSSL: 2c9c96c2e95f15e83fb8d26b9738d939cc39ae33
325-
CNIOBoringSSLShims: c5c9346e7bbd1040f4f8793a35441dda7487539a
326-
CNIODarwin: 93850990d29f2626b05306c6c9309f9be0d74c2f
327-
CNIOHTTPParser: 8ce395236fa1d09ac3b4f4bcfba79b849b2ac684
328-
CNIOLinux: 62e3505f50de558c393dc2f273dde71dcce518da
329-
CNIOWindows: 3047f2d8165848a3936a0a755fee27c6b5ee479b
330141
device_info_plus: 7545d84d8d1b896cb16a4ff98c19f07ec4b298ea
331142
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
332143
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
@@ -335,30 +146,14 @@ SPEC CHECKSUMS:
335146
flutter_file_dialog: 4c014a45b105709a27391e266c277d7e588e9299
336147
flutter_inapp_purchase: 5c6a1ac3f11b11d0c8c0321c0c41c1f05805e4c8
337148
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
338-
gRPC-Swift: 74adcaaa62ac5e0a018938840328cb1fdfb09e7b
339-
integration_test: 13825b8a9334a850581300559b8839134b124670
340-
Logging: beeb016c9c80cf77042d62e83495816847ef108b
341149
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
342150
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
343151
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
344-
patrol: a7622350c42b3a944962fbfe052d07e3691789e5
345152
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
346153
SDWebImage: b9a731e1d6307f44ca703b3976d18c24ca561e84
154+
sensitive_clipboard: d4866e5d176581536c27bb1618642ee83adca986
347155
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
348156
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
349-
SwiftNIO: 829958aab300642625091f82fc2f49cb7cf4ef24
350-
SwiftNIOConcurrencyHelpers: 697370136789b1074e4535eaae75cbd7f900370e
351-
SwiftNIOCore: 473fdfe746534d7aa25766916459eeaf6f92ef49
352-
SwiftNIOEmbedded: ffcb5147db67d9686c8366b7f8427b36132f2c8a
353-
SwiftNIOExtras: 481f74d6bf0b0ef699905ed66439cb019c4975c9
354-
SwiftNIOFoundationCompat: b9cdbea4806e4a12e9f66d9696fa3b98c4c3232b
355-
SwiftNIOHPACK: e7d3ff5bd671528adfb11cd4e0c84ddfdc3c4453
356-
SwiftNIOHTTP1: ef56706550a1dc135ea69d65215b9941e643c23b
357-
SwiftNIOHTTP2: cc81d7a6ba70d2ddc5376f471904b27ef5d2b7b8
358-
SwiftNIOPosix: b49af4bdbecaadfadd5c93dfe28594d6722b75e4
359-
SwiftNIOSSL: d153c5a6fc5b2301b0519b4c4d037a9414212da6
360-
SwiftNIOTLS: 598af547490133e9aac52aed0c23c4a90c31dcfc
361-
SwiftNIOTransportServices: 0b2b407819d82eb63af558c5396e33c945759503
362157
SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1
363158
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
364159
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4

lib/widgets/account_create.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class _AccountCreateWidgetState extends State<AccountCreateWidget> {
323323
),
324324
TextSpan(
325325
text: str.localOnlyAgree2,
326-
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor),
326+
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor, fontWeight: FontWeight.bold),
327327
recognizer: TapGestureRecognizer()
328328
..onTap = () async {
329329
await SubscriberTermsDialog().show(context);
@@ -559,7 +559,8 @@ class _AccountCreateWidgetState extends State<AccountCreateWidget> {
559559
),
560560
TextSpan(
561561
text: str.localOnlyAgree2,
562-
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor),
562+
style:
563+
theme.textTheme.bodyMedium!.copyWith(color: mainColor, fontWeight: FontWeight.bold),
563564
recognizer: TapGestureRecognizer()
564565
..onTap = () async {
565566
await SubscriberTermsDialog().show(context);

lib/widgets/entry_field.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'dart:async';
22

33
import 'package:base32/base32.dart';
44
import 'package:flutter/material.dart';
5-
import 'package:flutter/services.dart';
65
import 'package:flutter_bloc/flutter_bloc.dart';
76
import 'package:kdbx/kdbx.dart';
87
import 'package:keevault/cubit/entry_cubit.dart';

lib/widgets/entry_history.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:flutter/material.dart';
2-
import 'package:flutter/services.dart';
32
import 'package:flutter_bloc/flutter_bloc.dart';
43
import 'package:jiffy/jiffy.dart';
54
import 'package:kdbx/kdbx.dart';

0 commit comments

Comments
 (0)