~repos /only-bible-app
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.
1c9bd76e
—
pyrossh 2 years ago
fix audio
- android/app/src/main/AndroidManifest.xml +2 -1
- ios/Runner/Info.plist +5 -0
- macos/Runner/Info.plist +5 -0
- pubspec.lock +90 -2
- pubspec.yaml +8 -0
- windows/flutter/generated_plugin_registrant.cc +3 -0
- windows/flutter/generated_plugins.cmake +1 -0
android/app/src/main/AndroidManifest.xml
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
<application
|
|
3
3
|
android:label="Only Bible"
|
|
4
4
|
android:name="${applicationName}"
|
|
5
|
-
android:icon="@mipmap/app_icon"
|
|
5
|
+
android:icon="@mipmap/app_icon"
|
|
6
|
+
android:usesCleartextTraffic="true">
|
|
6
7
|
<activity
|
|
7
8
|
android:name=".MainActivity"
|
|
8
9
|
android:exported="true"
|
ios/Runner/Info.plist
CHANGED
|
@@ -49,5 +49,10 @@
|
|
|
49
49
|
<true/>
|
|
50
50
|
<key>UIStatusBarHidden</key>
|
|
51
51
|
<false/>
|
|
52
|
+
<key>NSAppTransportSecurity</key>
|
|
53
|
+
<dict>
|
|
54
|
+
<key>NSAllowsArbitraryLoads</key>
|
|
55
|
+
<true/>
|
|
56
|
+
</dict>
|
|
52
57
|
</dict>
|
|
53
58
|
</plist>
|
macos/Runner/Info.plist
CHANGED
|
@@ -28,5 +28,10 @@
|
|
|
28
28
|
<string>MainMenu</string>
|
|
29
29
|
<key>NSPrincipalClass</key>
|
|
30
30
|
<string>NSApplication</string>
|
|
31
|
+
<key>NSAppTransportSecurity</key>
|
|
32
|
+
<dict>
|
|
33
|
+
<key>NSAllowsArbitraryLoads</key>
|
|
34
|
+
<true/>
|
|
35
|
+
</dict>
|
|
31
36
|
</dict>
|
|
32
37
|
</plist>
|
pubspec.lock
CHANGED
|
@@ -57,6 +57,14 @@ packages:
|
|
|
57
57
|
url: "https://pub.dev"
|
|
58
58
|
source: hosted
|
|
59
59
|
version: "0.1.16"
|
|
60
|
+
bloc:
|
|
61
|
+
dependency: "direct main"
|
|
62
|
+
description:
|
|
63
|
+
name: bloc
|
|
64
|
+
sha256: "3820f15f502372d979121de1f6b97bfcf1630ebff8fe1d52fb2b0bfa49be5b49"
|
|
65
|
+
url: "https://pub.dev"
|
|
66
|
+
source: hosted
|
|
67
|
+
version: "8.1.2"
|
|
60
68
|
boolean_selector:
|
|
61
69
|
dependency: transitive
|
|
62
70
|
description:
|
|
@@ -98,7 +106,7 @@ packages:
|
|
|
98
106
|
source: hosted
|
|
99
107
|
version: "2.2.1"
|
|
100
108
|
build_runner:
|
|
101
|
-
dependency:
|
|
109
|
+
dependency: "direct dev"
|
|
102
110
|
description:
|
|
103
111
|
name: build_runner
|
|
104
112
|
sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b"
|
|
@@ -234,13 +242,21 @@ packages:
|
|
|
234
242
|
source: hosted
|
|
235
243
|
version: "2.3.2"
|
|
236
244
|
equatable:
|
|
237
|
-
dependency:
|
|
245
|
+
dependency: "direct main"
|
|
238
246
|
description:
|
|
239
247
|
name: equatable
|
|
240
248
|
sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2
|
|
241
249
|
url: "https://pub.dev"
|
|
242
250
|
source: hosted
|
|
243
251
|
version: "2.0.5"
|
|
252
|
+
eventify:
|
|
253
|
+
dependency: transitive
|
|
254
|
+
description:
|
|
255
|
+
name: eventify
|
|
256
|
+
sha256: b829429f08586cc2001c628e7499e3e3c2493a1d895fd73b00ecb23351aa5a66
|
|
257
|
+
url: "https://pub.dev"
|
|
258
|
+
source: hosted
|
|
259
|
+
version: "1.0.1"
|
|
244
260
|
fake_async:
|
|
245
261
|
dependency: transitive
|
|
246
262
|
description:
|
|
@@ -350,6 +366,14 @@ packages:
|
|
|
350
366
|
url: "https://pub.dev"
|
|
351
367
|
source: hosted
|
|
352
368
|
version: "0.1.6"
|
|
369
|
+
flutter_bloc:
|
|
370
|
+
dependency: "direct main"
|
|
371
|
+
description:
|
|
372
|
+
name: flutter_bloc
|
|
373
|
+
sha256: e74efb89ee6945bcbce74a5b3a5a3376b088e5f21f55c263fc38cbdc6237faae
|
|
374
|
+
url: "https://pub.dev"
|
|
375
|
+
source: hosted
|
|
376
|
+
version: "8.1.3"
|
|
353
377
|
flutter_dotenv:
|
|
354
378
|
dependency: "direct main"
|
|
355
379
|
description:
|
|
@@ -418,6 +442,22 @@ packages:
|
|
|
418
442
|
description: flutter
|
|
419
443
|
source: sdk
|
|
420
444
|
version: "0.0.0"
|
|
445
|
+
freezed:
|
|
446
|
+
dependency: "direct main"
|
|
447
|
+
description:
|
|
448
|
+
name: freezed
|
|
449
|
+
sha256: "2df89855fe181baae3b6d714dc3c4317acf4fccd495a6f36e5e00f24144c6c3b"
|
|
450
|
+
url: "https://pub.dev"
|
|
451
|
+
source: hosted
|
|
452
|
+
version: "2.4.1"
|
|
453
|
+
freezed_annotation:
|
|
454
|
+
dependency: "direct main"
|
|
455
|
+
description:
|
|
456
|
+
name: freezed_annotation
|
|
457
|
+
sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d
|
|
458
|
+
url: "https://pub.dev"
|
|
459
|
+
source: hosted
|
|
460
|
+
version: "2.4.1"
|
|
421
461
|
frontend_server_client:
|
|
422
462
|
dependency: transitive
|
|
423
463
|
description:
|
|
@@ -548,6 +588,14 @@ packages:
|
|
|
548
588
|
url: "https://pub.dev"
|
|
549
589
|
source: hosted
|
|
550
590
|
version: "0.9.34"
|
|
591
|
+
just_audio_mpv:
|
|
592
|
+
dependency: "direct main"
|
|
593
|
+
description:
|
|
594
|
+
name: just_audio_mpv
|
|
595
|
+
sha256: d6e4e9fd20bfb9d2fd5e3dcd7906c90ed07f83d1d2f44f31204160821ab62fed
|
|
596
|
+
url: "https://pub.dev"
|
|
597
|
+
source: hosted
|
|
598
|
+
version: "0.1.7"
|
|
551
599
|
just_audio_platform_interface:
|
|
552
600
|
dependency: transitive
|
|
553
601
|
description:
|
|
@@ -564,6 +612,14 @@ packages:
|
|
|
564
612
|
url: "https://pub.dev"
|
|
565
613
|
source: hosted
|
|
566
614
|
version: "0.4.8"
|
|
615
|
+
just_audio_windows:
|
|
616
|
+
dependency: "direct main"
|
|
617
|
+
description:
|
|
618
|
+
name: just_audio_windows
|
|
619
|
+
sha256: "7b8801f3987e98a2002cd23b5600b2daf162248ff1413266fb44c84448c1c0d3"
|
|
620
|
+
url: "https://pub.dev"
|
|
621
|
+
source: hosted
|
|
622
|
+
version: "0.2.0"
|
|
567
623
|
lints:
|
|
568
624
|
dependency: transitive
|
|
569
625
|
description:
|
|
@@ -620,6 +676,22 @@ packages:
|
|
|
620
676
|
url: "https://pub.dev"
|
|
621
677
|
source: hosted
|
|
622
678
|
version: "1.0.4"
|
|
679
|
+
mpv_dart:
|
|
680
|
+
dependency: transitive
|
|
681
|
+
description:
|
|
682
|
+
name: mpv_dart
|
|
683
|
+
sha256: a33bd9a68439b496b7a5f36fecd3aa3cf6cbf0176ae15b9b60b12ae96e58f5a4
|
|
684
|
+
url: "https://pub.dev"
|
|
685
|
+
source: hosted
|
|
686
|
+
version: "0.0.1"
|
|
687
|
+
nested:
|
|
688
|
+
dependency: transitive
|
|
689
|
+
description:
|
|
690
|
+
name: nested
|
|
691
|
+
sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
|
|
692
|
+
url: "https://pub.dev"
|
|
693
|
+
source: hosted
|
|
694
|
+
version: "1.0.0"
|
|
623
695
|
node_preamble:
|
|
624
696
|
dependency: transitive
|
|
625
697
|
description:
|
|
@@ -756,6 +828,14 @@ packages:
|
|
|
756
828
|
url: "https://pub.dev"
|
|
757
829
|
source: hosted
|
|
758
830
|
version: "4.2.4"
|
|
831
|
+
provider:
|
|
832
|
+
dependency: transitive
|
|
833
|
+
description:
|
|
834
|
+
name: provider
|
|
835
|
+
sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f
|
|
836
|
+
url: "https://pub.dev"
|
|
837
|
+
source: hosted
|
|
838
|
+
version: "6.0.5"
|
|
759
839
|
pub_semver:
|
|
760
840
|
dependency: transitive
|
|
761
841
|
description:
|
|
@@ -897,6 +977,14 @@ packages:
|
|
|
897
977
|
description: flutter
|
|
898
978
|
source: sdk
|
|
899
979
|
version: "0.0.99"
|
|
980
|
+
source_gen:
|
|
981
|
+
dependency: transitive
|
|
982
|
+
description:
|
|
983
|
+
name: source_gen
|
|
984
|
+
sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16
|
|
985
|
+
url: "https://pub.dev"
|
|
986
|
+
source: hosted
|
|
987
|
+
version: "1.4.0"
|
|
900
988
|
source_map_stack_trace:
|
|
901
989
|
dependency: transitive
|
|
902
990
|
description:
|
pubspec.yaml
CHANGED
|
@@ -31,6 +31,13 @@ dependencies:
|
|
|
31
31
|
package_info_plus: ^4.1.0
|
|
32
32
|
flutter_azure_tts: ^0.1.6
|
|
33
33
|
flutter_dotenv: ^5.1.0
|
|
34
|
+
freezed: ^2.4.1
|
|
35
|
+
freezed_annotation: ^2.4.1
|
|
36
|
+
flutter_bloc: ^8.1.3
|
|
37
|
+
equatable: ^2.0.5
|
|
38
|
+
bloc: ^8.1.2
|
|
39
|
+
just_audio_windows: ^0.2.0
|
|
40
|
+
just_audio_mpv: ^0.1.7
|
|
34
41
|
|
|
35
42
|
dev_dependencies:
|
|
36
43
|
flutter_test:
|
|
@@ -40,6 +47,7 @@ dev_dependencies:
|
|
|
40
47
|
flutter_lints: ^2.0.0
|
|
41
48
|
flutter_launcher_icons: ^0.13.1
|
|
42
49
|
test: ^1.24.3
|
|
50
|
+
build_runner: ^2.4.6
|
|
43
51
|
|
|
44
52
|
flutter:
|
|
45
53
|
generate: true
|
windows/flutter/generated_plugin_registrant.cc
CHANGED
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
#include "generated_plugin_registrant.h"
|
|
8
8
|
|
|
9
9
|
#include <firebase_core/firebase_core_plugin_c_api.h>
|
|
10
|
+
#include <just_audio_windows/just_audio_windows_plugin.h>
|
|
10
11
|
#include <share_plus/share_plus_windows_plugin_c_api.h>
|
|
11
12
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
12
13
|
|
|
13
14
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
14
15
|
FirebaseCorePluginCApiRegisterWithRegistrar(
|
|
15
16
|
registry->GetRegistrarForPlugin("FirebaseCorePluginCApi"));
|
|
17
|
+
JustAudioWindowsPluginRegisterWithRegistrar(
|
|
18
|
+
registry->GetRegistrarForPlugin("JustAudioWindowsPlugin"));
|
|
16
19
|
SharePlusWindowsPluginCApiRegisterWithRegistrar(
|
|
17
20
|
registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
|
|
18
21
|
UrlLauncherWindowsRegisterWithRegistrar(
|
windows/flutter/generated_plugins.cmake
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
list(APPEND FLUTTER_PLUGIN_LIST
|
|
6
6
|
firebase_core
|
|
7
|
+
just_audio_windows
|
|
7
8
|
share_plus
|
|
8
9
|
url_launcher_windows
|
|
9
10
|
)
|