~repos /only-bible-app

#kotlin#android#ios

GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone https://git.pyrossh.dev/only-bible-app.git
Discussions: https://groups.google.com/g/rust-embed-devs

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


Files changed (65) hide show
  1. android/app/src/main/res/drawable-hdpi/android12splash.png +0 -0
  2. android/app/src/main/res/drawable-hdpi/splash.png +0 -0
  3. android/app/src/main/res/drawable-mdpi/android12splash.png +0 -0
  4. android/app/src/main/res/drawable-mdpi/splash.png +0 -0
  5. android/app/src/main/res/drawable-night-hdpi/android12splash.png +0 -0
  6. android/app/src/main/res/drawable-night-mdpi/android12splash.png +0 -0
  7. android/app/src/main/res/drawable-night-xhdpi/android12splash.png +0 -0
  8. android/app/src/main/res/drawable-night-xxhdpi/android12splash.png +0 -0
  9. android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png +0 -0
  10. android/app/src/main/res/drawable-xhdpi/android12splash.png +0 -0
  11. android/app/src/main/res/drawable-xhdpi/splash.png +0 -0
  12. android/app/src/main/res/drawable-xxhdpi/android12splash.png +0 -0
  13. android/app/src/main/res/drawable-xxhdpi/splash.png +0 -0
  14. android/app/src/main/res/drawable-xxxhdpi/android12splash.png +0 -0
  15. android/app/src/main/res/drawable-xxxhdpi/splash.png +0 -0
  16. android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  17. android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  18. android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  19. android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  20. android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  21. assets/icon.png +0 -0
  22. ios/Runner.xcodeproj/project.pbxproj +2 -2
  23. ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +1 -14
  24. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  25. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  26. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  27. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  28. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  29. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  30. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  31. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  32. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  33. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  34. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  35. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  36. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  37. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  38. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  39. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  40. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  41. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  42. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  43. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  44. ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  45. ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
  46. ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] +0 -0
  47. ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] +0 -0
  48. ios/Runner/Base.lproj/LaunchScreen.storyboard +1 -1
  49. pubspec.yaml +8 -1
  50. readme.md +6 -0
  51. web/favicon.png +0 -0
  52. web/icons/Icon-192.png +0 -0
  53. web/icons/Icon-512.png +0 -0
  54. web/icons/Icon-maskable-192.png +0 -0
  55. web/icons/Icon-maskable-512.png +0 -0
  56. web/index.html +119 -0
  57. web/manifest.json +35 -0
  58. web/splash/img/dark-1x.png +0 -0
  59. web/splash/img/dark-2x.png +0 -0
  60. web/splash/img/dark-3x.png +0 -0
  61. web/splash/img/dark-4x.png +0 -0
  62. web/splash/img/light-1x.png +0 -0
  63. web/splash/img/light-2x.png +0 -0
  64. web/splash/img/light-3x.png +0 -0
  65. web/splash/img/light-4x.png +0 -0
android/app/src/main/res/drawable-hdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-hdpi/splash.png CHANGED
Binary file
android/app/src/main/res/drawable-mdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-mdpi/splash.png CHANGED
Binary file
android/app/src/main/res/drawable-night-hdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-night-mdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-night-xhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-night-xxhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xhdpi/splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xxhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xxhdpi/splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xxxhdpi/android12splash.png CHANGED
Binary file
android/app/src/main/res/drawable-xxxhdpi/splash.png CHANGED
Binary file
android/app/src/main/res/mipmap-hdpi/ic_launcher.png CHANGED
Binary file
android/app/src/main/res/mipmap-mdpi/ic_launcher.png CHANGED
Binary file
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png CHANGED
Binary file
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png CHANGED
Binary file
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png CHANGED
Binary file
assets/icon.png CHANGED
Binary file
ios/Runner.xcodeproj/project.pbxproj CHANGED
@@ -546,7 +546,7 @@
546
546
  isa = XCBuildConfiguration;
547
547
  buildSettings = {
548
548
  ALWAYS_SEARCH_USER_PATHS = NO;
549
- ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
549
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
550
550
  CLANG_ANALYZER_NONNULL = YES;
551
551
  CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
552
552
  CLANG_CXX_LIBRARY = "libc++";
@@ -603,7 +603,7 @@
603
603
  isa = XCBuildConfiguration;
604
604
  buildSettings = {
605
605
  ALWAYS_SEARCH_USER_PATHS = NO;
606
- ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
606
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
607
607
  CLANG_ANALYZER_NONNULL = YES;
608
608
  CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
609
609
  CLANG_CXX_LIBRARY = "libc++";
ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json CHANGED
@@ -1,14 +1 @@
1
- {
2
- "images" : [
3
- {
4
- "filename" : "app-icon-1024.png",
5
- "idiom" : "universal",
6
- "platform" : "ios",
7
- "size" : "1024x1024"
8
- }
9
- ],
10
- "info" : {
11
- "author" : "xcode",
12
- "version" : 1
13
- }
14
- }
1
+ {"images":[{"size":"20x20","idiom":"iphone","filename":"[email protected]","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"[email protected]","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"[email protected]","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"[email protected]","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"[email protected]","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"[email protected]","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"[email protected]","scale":"3x"},{"size":"57x57","idiom":"iphone","filename":"[email protected]","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"[email protected]","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"[email protected]","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"[email protected]","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"50x50","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"[email protected]","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"[email protected]","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"[email protected]","scale":"1x"}],"info":{"version":1,"author":"xcode"}}
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png CHANGED
Binary file
ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] CHANGED
Binary file
ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] CHANGED
Binary file
ios/Runner/Base.lproj/LaunchScreen.storyboard CHANGED
@@ -38,7 +38,7 @@
38
38
  </scene>
39
39
  </scenes>
40
40
  <resources>
41
- <image name="LaunchImage" width="512" height="512"/>
41
+ <image name="LaunchImage" width="1024" height="1024"/>
42
42
  <image name="LaunchBackground" width="1" height="1"/>
43
43
  </resources>
44
44
  </document>
pubspec.yaml CHANGED
@@ -54,10 +54,17 @@ flutter:
54
54
  weight: 700
55
55
 
56
56
  flutter_launcher_icons:
57
+ image_path: "assets/icon.png"
57
58
  android: true
58
59
  ios: true
59
- image_path: "assets/icon.png"
60
60
  remove_alpha_ios: true
61
+ # android: "launcher_icon"
62
+ web:
63
+ generate: true
64
+ image_path: "assets/icon.png"
65
+ background_color: "#FFFFFF"
66
+ theme_color: "#FFFFFF"
67
+
61
68
 
62
69
  flutter_native_splash:
63
70
  color: "#FFFFFF"
readme.md CHANGED
@@ -9,6 +9,12 @@ Bibles which are in the public domain are supported.
9
9
  Verse by verse audio playback is supported for most of the languages using Azure TTS.
10
10
  Many languages supported Indian, European and Asian.
11
11
 
12
+
13
+ ```
14
+ dart run flutter_launcher_icons:generate
15
+ dart run flutter_native_splash:create
16
+ ```
17
+
12
18
  ## Setup
13
19
 
14
20
  ```agsl
web/favicon.png ADDED
Binary file
web/icons/Icon-192.png ADDED
Binary file
web/icons/Icon-512.png ADDED
Binary file
web/icons/Icon-maskable-192.png ADDED
Binary file
web/icons/Icon-maskable-512.png ADDED
Binary file
web/index.html ADDED
@@ -0,0 +1,119 @@
1
+ <!DOCTYPE html><html><head>
2
+ <!--
3
+ If you are serving your web app in a path other than the root, change the
4
+ href value below to reflect the base path you are serving from.
5
+
6
+ The path provided below has to start and end with a slash "/" in order for
7
+ it to work correctly.
8
+
9
+ For more details:
10
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
11
+
12
+ This is a placeholder for base href that will be replaced by the value of
13
+ the `--base-href` argument provided to `flutter build`.
14
+ -->
15
+ <base href="$FLUTTER_BASE_HREF">
16
+
17
+ <meta charset="UTF-8">
18
+ <meta content="IE=Edge" http-equiv="X-UA-Compatible">
19
+ <meta name="description" content="A new Flutter project.">
20
+
21
+ <!-- iOS meta tags & icons -->
22
+ <meta name="mobile-web-app-capable" content="yes">
23
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
24
+ <meta name="apple-mobile-web-app-title" content="web">
25
+ <link rel="apple-touch-icon" href="icons/Icon-192.png">
26
+
27
+ <!-- Favicon -->
28
+ <link rel="icon" type="image/png" href="favicon.png">
29
+
30
+ <title>web</title>
31
+ <link rel="manifest" href="manifest.json">
32
+
33
+
34
+ <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
35
+ <style id="splash-screen-style">
36
+ html {
37
+ height: 100%
38
+ }
39
+
40
+ body {
41
+ margin: 0;
42
+ min-height: 100%;
43
+ background-color: #FFFFFF;
44
+ background-size: 100% 100%;
45
+ }
46
+
47
+ .center {
48
+ margin: 0;
49
+ position: absolute;
50
+ top: 50%;
51
+ left: 50%;
52
+ -ms-transform: translate(-50%, -50%);
53
+ transform: translate(-50%, -50%);
54
+ }
55
+
56
+ .contain {
57
+ display:block;
58
+ width:100%; height:100%;
59
+ object-fit: contain;
60
+ }
61
+
62
+ .stretch {
63
+ display:block;
64
+ width:100%; height:100%;
65
+ }
66
+
67
+ .cover {
68
+ display:block;
69
+ width:100%; height:100%;
70
+ object-fit: cover;
71
+ }
72
+
73
+ .bottom {
74
+ position: absolute;
75
+ bottom: 0;
76
+ left: 50%;
77
+ -ms-transform: translate(-50%, 0);
78
+ transform: translate(-50%, 0);
79
+ }
80
+
81
+ .bottomLeft {
82
+ position: absolute;
83
+ bottom: 0;
84
+ left: 0;
85
+ }
86
+
87
+ .bottomRight {
88
+ position: absolute;
89
+ bottom: 0;
90
+ right: 0;
91
+ }
92
+ </style>
93
+ <script id="splash-screen-script">
94
+ function removeSplashFromWeb() {
95
+ document.getElementById("splash")?.remove();
96
+ document.getElementById("splash-branding")?.remove();
97
+ document.body.style.background = "transparent";
98
+ }
99
+ </script>
100
+ </head>
101
+ <body>
102
+ <picture id="splash">
103
+ <source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x" media="(prefers-color-scheme: light)">
104
+ <source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
105
+ <img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
106
+ </picture>
107
+
108
+ <!--
109
+ You can customize the "flutter_bootstrap.js" script.
110
+ This is useful to provide a custom configuration to the Flutter loader
111
+ or to give the user feedback during the initialization process.
112
+
113
+ For more details:
114
+ * https://docs.flutter.dev/platform-integration/web/initialization
115
+ -->
116
+ <script src="flutter_bootstrap.js" async=""></script>
117
+
118
+
119
+ </body></html>
web/manifest.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "web",
3
+ "short_name": "web",
4
+ "start_url": ".",
5
+ "display": "standalone",
6
+ "background_color": "#FFFFFF",
7
+ "theme_color": "#FFFFFF",
8
+ "description": "A new Flutter project.",
9
+ "orientation": "portrait-primary",
10
+ "prefer_related_applications": false,
11
+ "icons": [
12
+ {
13
+ "src": "icons/Icon-192.png",
14
+ "sizes": "192x192",
15
+ "type": "image/png"
16
+ },
17
+ {
18
+ "src": "icons/Icon-512.png",
19
+ "sizes": "512x512",
20
+ "type": "image/png"
21
+ },
22
+ {
23
+ "src": "icons/Icon-maskable-192.png",
24
+ "sizes": "192x192",
25
+ "type": "image/png",
26
+ "purpose": "maskable"
27
+ },
28
+ {
29
+ "src": "icons/Icon-maskable-512.png",
30
+ "sizes": "512x512",
31
+ "type": "image/png",
32
+ "purpose": "maskable"
33
+ }
34
+ ]
35
+ }
web/splash/img/dark-1x.png ADDED
Binary file
web/splash/img/dark-2x.png ADDED
Binary file
web/splash/img/dark-3x.png ADDED
Binary file
web/splash/img/dark-4x.png ADDED
Binary file
web/splash/img/light-1x.png ADDED
Binary file
web/splash/img/light-2x.png ADDED
Binary file
web/splash/img/light-3x.png ADDED
Binary file
web/splash/img/light-4x.png ADDED
Binary file