~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.


eb47943d pyrossh

2 years ago
Improve config and icons
android/app/src/main/AndroidManifest.xml CHANGED
@@ -1,8 +1,8 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
2
  <application
3
- android:label="only_bible_app"
3
+ android:label="Only Bible"
4
4
  android:name="${applicationName}"
5
- android:icon="@mipmap/launcher_icon">
5
+ android:icon="@mipmap/ic_launcher">
6
6
  <activity
7
7
  android:name=".MainActivity"
8
8
  android:exported="true"
@@ -30,4 +30,6 @@
30
30
  android:name="flutterEmbedding"
31
31
  android:value="2" />
32
32
  </application>
33
+ <uses-permission android:name="android.permission.INTERNET" />
34
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
33
35
  </manifest>
android/app/src/main/res/drawable/layer_1.xml ADDED
@@ -0,0 +1,17 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="108dp"
3
+ android:height="108dp"
4
+ android:viewportWidth="108"
5
+ android:viewportHeight="108">
6
+ <group
7
+ android:scaleX="0.7"
8
+ android:scaleY="0.7"
9
+ android:translateX="40"
10
+ android:translateY="30">
11
+ <path
12
+ android:fillColor="#ffb441"
13
+ android:fillType="nonZero"
14
+ android:pathData="M44.07,15.776L30.548,15.776L30.548,2.254C30.548,1.009 29.539,0 28.294,0L19.28,0C18.035,0 17.026,1.009 17.026,2.254L17.026,15.776L3.504,15.776C2.259,15.776 1.25,16.785 1.25,18.03L1.25,27.044C1.25,28.289 2.259,29.298 3.504,29.298L17.026,29.298L17.026,69.865C17.026,71.109 18.035,72.118 19.28,72.118L28.294,72.118C29.539,72.118 30.548,71.109 30.548,69.865L30.548,29.298L44.07,29.298C45.315,29.298 46.324,28.289 46.324,27.044L46.324,18.03C46.324,16.785 45.315,15.776 44.07,15.776Z"
15
+ android:strokeColor="#00000000" />
16
+ </group>
17
+ </vector>
android/app/src/main/res/drawable/layer_2.xml ADDED
@@ -0,0 +1,32 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="110.62dp"
3
+ android:height="108dp"
4
+ android:viewportWidth="110.62"
5
+ android:viewportHeight="108">
6
+ <path
7
+ android:pathData="M29.62,0L110.62,0L110.62,108L29.62,108L29.62,0Z"
8
+ android:fillColor="#aa504c"
9
+ android:fillType="nonZero"
10
+ android:strokeColor="#00000000"/>
11
+ <path
12
+ android:pathData="M2.62,0L29.62,0L29.62,108L2.62,108L2.62,0Z"
13
+ android:fillColor="#963c3c"
14
+ android:fillType="nonZero"
15
+ android:strokeColor="#00000000"/>
16
+ <path
17
+ android:pathData="M0.05,32.65C0.05,31.21 1.6,30.05 3.52,30.05L23.41,30.05C25.32,30.05 26.88,31.21 26.88,32.65L26.88,35.01C26.88,36.44 25.32,37.61 23.41,37.61L3.52,37.61C1.6,37.61 0.05,36.44 0.05,35.01L0.05,32.65Z"
18
+ android:strokeLineJoin="round"
19
+ android:strokeWidth="0.1"
20
+ android:fillColor="#7f3c3c"
21
+ android:fillType="nonZero"
22
+ android:strokeColor="#7d3837"
23
+ android:strokeLineCap="butt"/>
24
+ <path
25
+ android:pathData="M0.05,75.05C0.05,73.62 1.6,72.46 3.52,72.46L23.41,72.46C25.32,72.46 26.88,73.62 26.88,75.05L26.88,77.41C26.88,78.85 25.32,80.01 23.41,80.01L3.52,80.01C1.6,80.01 0.05,78.85 0.05,77.41L0.05,75.05Z"
26
+ android:strokeLineJoin="round"
27
+ android:strokeWidth="0.1"
28
+ android:fillColor="#7f3c3c"
29
+ android:fillType="nonZero"
30
+ android:strokeColor="#7d3837"
31
+ android:strokeLineCap="butt"/>
32
+ </vector>
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@drawable/layer_2"/>
4
+ <foreground android:drawable="@drawable/layer_1"/>
5
+ </adaptive-icon>
android/app/src/main/res/mipmap-hdpi/ic_launcher.png DELETED
Binary file
android/app/src/main/res/mipmap-hdpi/launcher_icon.png DELETED
Binary file
android/app/src/main/res/mipmap-mdpi/ic_launcher.png DELETED
Binary file
android/app/src/main/res/mipmap-mdpi/launcher_icon.png DELETED
Binary file
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png DELETED
Binary file
android/app/src/main/res/mipmap-xhdpi/launcher_icon.png DELETED
Binary file
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png DELETED
Binary file
android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png DELETED
Binary file
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png DELETED
Binary file
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png DELETED
Binary file
assets/images/logo.png DELETED
Binary file
assets/logo.vectornator DELETED
Binary file
assets/output.mp3 DELETED
Binary file
design/icon.curve ADDED
Binary file
design/logo.curve ADDED
Binary file
ios/Runner/Info.plist CHANGED
@@ -5,7 +5,7 @@
5
5
  <key>CFBundleDevelopmentRegion</key>
6
6
  <string>$(DEVELOPMENT_LANGUAGE)</string>
7
7
  <key>CFBundleDisplayName</key>
8
- <string>Only Bible App</string>
8
+ <string>Only Bible</string>
9
9
  <key>CFBundleExecutable</key>
10
10
  <string>$(EXECUTABLE_NAME)</string>
11
11
  <key>CFBundleIdentifier</key>
scripts/generate_audio.dart CHANGED
@@ -4,7 +4,7 @@ import "package:flutter_azure_tts/flutter_azure_tts.dart";
4
4
  Future<void> convertText(Voice v, String fileName, String text) async {
5
5
  final ttsResponse = await AzureTts.getTts(TtsParams(
6
6
  voice: v,
7
- audioFormat: AudioOutputFormat.audio24khz48kBitrateMonoMp3,
7
+ audioFormat: AudioOutputFormat.audio48khz96kBitrateMonoMp3,
8
8
  rate: 0.90,
9
9
  text: text,
10
10
  ));
@@ -18,10 +18,10 @@ void main() async {
18
18
  name: "",
19
19
  displayName: "",
20
20
  localName: "",
21
- shortName: "ne-NP-SagarNeural",
21
+ shortName: "ne-NP-HemkalaNeural",
22
- gender: "Male",
22
+ gender: "",
23
23
  locale: "ne-NP",
24
- sampleRateHertz: AudioOutputFormat.audio24khz48kBitrateMonoMp3,
24
+ sampleRateHertz: AudioOutputFormat.audio48khz96kBitrateMonoMp3,
25
25
  voiceType: "",
26
26
  status: "",
27
27
  );