~repos /only-bible-app

#kotlin#android#ios

git clone https://pyrossh.dev/repos/only-bible-app.git

The only bible app you will ever need. No ads. No in-app purchases. No distractions.


95f56c7c pyrossh

2 years ago
Fix bottom bar on ios
ios/Podfile.lock CHANGED
@@ -3,31 +3,74 @@ PODS:
3
3
  - Flutter
4
4
  - Firebase/CoreOnly (10.12.0):
5
5
  - FirebaseCore (= 10.12.0)
6
+ - Firebase/Crashlytics (10.12.0):
7
+ - Firebase/CoreOnly
8
+ - FirebaseCrashlytics (~> 10.12.0)
6
9
  - firebase_core (2.15.0):
7
10
  - Firebase/CoreOnly (= 10.12.0)
8
11
  - Flutter
12
+ - firebase_crashlytics (3.3.4):
13
+ - Firebase/Crashlytics (= 10.12.0)
14
+ - firebase_core
15
+ - Flutter
9
16
  - FirebaseCore (10.12.0):
10
17
  - FirebaseCoreInternal (~> 10.0)
11
18
  - GoogleUtilities/Environment (~> 7.8)
12
19
  - GoogleUtilities/Logger (~> 7.8)
20
+ - FirebaseCoreExtension (10.13.0):
21
+ - FirebaseCore (~> 10.0)
13
22
  - FirebaseCoreInternal (10.13.0):
14
23
  - "GoogleUtilities/NSData+zlib (~> 7.8)"
24
+ - FirebaseCrashlytics (10.12.0):
25
+ - FirebaseCore (~> 10.5)
26
+ - FirebaseInstallations (~> 10.0)
27
+ - FirebaseSessions (~> 10.5)
28
+ - GoogleDataTransport (~> 9.2)
29
+ - GoogleUtilities/Environment (~> 7.8)
30
+ - nanopb (< 2.30910.0, >= 2.30908.0)
31
+ - PromisesObjC (~> 2.1)
32
+ - FirebaseInstallations (10.13.0):
33
+ - FirebaseCore (~> 10.0)
34
+ - GoogleUtilities/Environment (~> 7.8)
35
+ - GoogleUtilities/UserDefaults (~> 7.8)
36
+ - PromisesObjC (~> 2.1)
37
+ - FirebaseSessions (10.13.0):
38
+ - FirebaseCore (~> 10.5)
39
+ - FirebaseCoreExtension (~> 10.0)
40
+ - FirebaseInstallations (~> 10.0)
41
+ - GoogleDataTransport (~> 9.2)
42
+ - GoogleUtilities/Environment (~> 7.10)
43
+ - nanopb (< 2.30910.0, >= 2.30908.0)
44
+ - PromisesSwift (~> 2.1)
15
45
  - Flutter (1.0.0)
16
46
  - flutter_native_splash (0.0.1):
17
47
  - Flutter
48
+ - GoogleDataTransport (9.2.5):
49
+ - GoogleUtilities/Environment (~> 7.7)
50
+ - nanopb (< 2.30910.0, >= 2.30908.0)
51
+ - PromisesObjC (< 3.0, >= 1.2)
18
52
  - GoogleUtilities/Environment (7.11.5):
19
53
  - PromisesObjC (< 3.0, >= 1.2)
20
54
  - GoogleUtilities/Logger (7.11.5):
21
55
  - GoogleUtilities/Environment
22
56
  - "GoogleUtilities/NSData+zlib (7.11.5)"
57
+ - GoogleUtilities/UserDefaults (7.11.5):
58
+ - GoogleUtilities/Logger
23
59
  - integration_test (0.0.1):
24
60
  - Flutter
25
61
  - just_audio (0.0.1):
26
62
  - Flutter
63
+ - nanopb (2.30909.0):
64
+ - nanopb/decode (= 2.30909.0)
65
+ - nanopb/encode (= 2.30909.0)
66
+ - nanopb/decode (2.30909.0)
67
+ - nanopb/encode (2.30909.0)
27
68
  - path_provider_foundation (0.0.1):
28
69
  - Flutter
29
70
  - FlutterMacOS
30
71
  - PromisesObjC (2.3.1)
72
+ - PromisesSwift (2.3.1):
73
+ - PromisesObjC (= 2.3.1)
31
74
  - shared_preferences_foundation (0.0.1):
32
75
  - Flutter
33
76
  - FlutterMacOS
@@ -35,6 +78,7 @@ PODS:
35
78
  DEPENDENCIES:
36
79
  - audio_session (from `.symlinks/plugins/audio_session/ios`)
37
80
  - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
81
+ - firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`)
38
82
  - Flutter (from `Flutter`)
39
83
  - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
40
84
  - integration_test (from `.symlinks/plugins/integration_test/ios`)
@@ -46,15 +90,24 @@ SPEC REPOS:
46
90
  trunk:
47
91
  - Firebase
48
92
  - FirebaseCore
93
+ - FirebaseCoreExtension
49
94
  - FirebaseCoreInternal
95
+ - FirebaseCrashlytics
96
+ - FirebaseInstallations
97
+ - FirebaseSessions
98
+ - GoogleDataTransport
50
99
  - GoogleUtilities
100
+ - nanopb
51
101
  - PromisesObjC
102
+ - PromisesSwift
52
103
 
53
104
  EXTERNAL SOURCES:
54
105
  audio_session:
55
106
  :path: ".symlinks/plugins/audio_session/ios"
56
107
  firebase_core:
57
108
  :path: ".symlinks/plugins/firebase_core/ios"
109
+ firebase_crashlytics:
110
+ :path: ".symlinks/plugins/firebase_crashlytics/ios"
58
111
  Flutter:
59
112
  :path: Flutter
60
113
  flutter_native_splash:
@@ -72,15 +125,23 @@ SPEC CHECKSUMS:
72
125
  audio_session: 4f3e461722055d21515cf3261b64c973c062f345
73
126
  Firebase: 07150e75d142fb9399f6777fa56a187b17f833a0
74
127
  firebase_core: e477125798fc37cd4ab43ca6a8536bf7e0929c00
128
+ firebase_crashlytics: 6043ce85800f96e53f15ee5051f9cfad10cce73d
75
129
  FirebaseCore: f86a1394906b97ac445ae49c92552a9425831bed
130
+ FirebaseCoreExtension: ce60f9db46d83944cf444664d6d587474128eeca
76
131
  FirebaseCoreInternal: b342e37cd4f5b4454ec34308f073420e7920858e
132
+ FirebaseCrashlytics: c4d111b7430c49744c74bcc6346ea00868661ac8
133
+ FirebaseInstallations: b28af1b9f997f1a799efe818c94695a3728c352f
134
+ FirebaseSessions: 991fb4c20b3505eef125f7cbfa20a5b5b189c2a4
77
135
  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
78
136
  flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
137
+ GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
79
138
  GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
80
139
  integration_test: 13825b8a9334a850581300559b8839134b124670
81
140
  just_audio: baa7252489dbcf47a4c7cc9ca663e9661c99aafa
141
+ nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
82
142
  path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
83
143
  PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
144
+ PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265
84
145
  shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
85
146
 
86
147
  PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
ios/Runner.xcodeproj/project.pbxproj CHANGED
@@ -202,6 +202,7 @@
202
202
  9705A1C41CF9048500538489 /* Embed Frameworks */,
203
203
  3B06AD1E1E4923F5004D2608 /* Thin Binary */,
204
204
  A5E71F83A644D81C97D62C91 /* [CP] Embed Pods Frameworks */,
205
+ A308102FA972A828CE80E447 /* [firebase_crashlytics] Crashlytics Upload Symbols */,
205
206
  );
206
207
  buildRules = (
207
208
  );
@@ -326,6 +327,26 @@
326
327
  shellPath = /bin/sh;
327
328
  shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
328
329
  };
330
+ A308102FA972A828CE80E447 /* [firebase_crashlytics] Crashlytics Upload Symbols */ = {
331
+ isa = PBXShellScriptBuildPhase;
332
+ buildActionMask = 2147483647;
333
+ files = (
334
+ );
335
+ inputFileListPaths = (
336
+ );
337
+ inputPaths = (
338
+ "\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}\"",
339
+ "\"$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)\"",
340
+ );
341
+ name = "[firebase_crashlytics] Crashlytics Upload Symbols";
342
+ outputFileListPaths = (
343
+ );
344
+ outputPaths = (
345
+ );
346
+ runOnlyForDeploymentPostprocessing = 0;
347
+ shellPath = /bin/sh;
348
+ shellScript = "\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" ";
349
+ };
329
350
  A5E71F83A644D81C97D62C91 /* [CP] Embed Pods Frameworks */ = {
330
351
  isa = PBXShellScriptBuildPhase;
331
352
  buildActionMask = 2147483647;
lib/state.dart CHANGED
@@ -221,6 +221,10 @@ class ChapterViewModel extends ChangeNotifier {
221
221
  }
222
222
  }
223
223
 
224
+ bool isIOS() {
225
+ return defaultTargetPlatform == TargetPlatform.iOS;
226
+ }
227
+
224
228
  bool isWide(BuildContext context) {
225
229
  if (defaultTargetPlatform == TargetPlatform.android || defaultTargetPlatform == TargetPlatform.iOS) {
226
230
  return false;
lib/widgets/actions_bar.dart CHANGED
@@ -17,8 +17,7 @@ class ActionsBar extends StatelessWidget {
17
17
  enableDrag: false,
18
18
  onClosing: () {},
19
19
  builder: (BuildContext ctx) => Container(
20
- // TODO: check if this is needed
21
- // padding: const EdgeInsets.only(bottom: 0),
20
+ padding: EdgeInsets.only(bottom: isIOS() ? 20 : 0),
22
21
  child: const Row(
23
22
  mainAxisAlignment: MainAxisAlignment.center,
24
23
  children: [