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


621e540d pyrossh

2 years ago
fix audio, share/rate
lib/navigation.dart CHANGED
@@ -201,7 +201,7 @@ shareAppLink(BuildContext context) {
201
201
  } else if (isIOS()) {
202
202
  Share.share(
203
203
  subject: "Only Bible App",
204
- "https://apps.apple.com/us/app/hare-pro/id123",
204
+ "https://apps.apple.com/us/app/only-bible-app/id6467606465",
205
205
  );
206
206
  } else {
207
207
  Share.share(
@@ -215,7 +215,7 @@ rateApp(BuildContext context) {
215
215
  if (isAndroid()) {
216
216
  context.openUrl("https://play.google.com/store/apps/details?id=sh.pyros.only_bible_app");
217
217
  } else if (isIOS()) {
218
- context.openUrl("https://apps.apple.com/us/app/only-bible-app/packageName");
218
+ context.openUrl("https://apps.apple.com/us/app/only-bible-app/id6467606465");
219
219
  } else {
220
220
  context.openUrl("https://apps.apple.com/us/app/only-bible-app/id6467606465");
221
221
  }
lib/utils.dart CHANGED
@@ -5,6 +5,7 @@ import "package:only_bible_app/dialog.dart";
5
5
  import "package:only_bible_app/env.dart";
6
6
  import "package:only_bible_app/models.dart";
7
7
  import "package:only_bible_app/store/state.dart";
8
+ import "package:package_info_plus/package_info_plus.dart";
8
9
  import "package:url_launcher/url_launcher.dart";
9
10
  import "package:flutter/foundation.dart" show TargetPlatform, defaultTargetPlatform, kDebugMode;
10
11
  import "package:flutter/material.dart";
@@ -198,6 +199,7 @@ Future<Bible> loadBible(String name) async {
198
199
  }
199
200
 
200
201
  recordError(String message, StackTrace? stack) async {
202
+ final packageInfo = await PackageInfo.fromPlatform();
201
203
  if (kDebugMode) {
202
204
  print("ERROR: $message");
203
205
  print("ERROR STACK: ${stack.toString()}");
@@ -214,8 +216,15 @@ recordError(String message, StackTrace? stack) async {
214
216
  "from": "onboarding@resend.dev",
215
217
  "to": "peter.john@sent.com",
216
218
  "subject": "Error Stack trace",
219
+ "html": """
220
+ <div>
221
+ <p><strong>OS:</strong>$defaultTargetPlatform</p>
222
+ <p><strong>App Version:</strong>${packageInfo.version}</p>
223
+ <p><strong>App Build Number:</strong>${packageInfo.buildSignature}</p>
224
+ <p><strong>Error:</strong>$message</p>
225
+ <p><strong>StackTrace:</strong>${stack?.toString()}</p>
226
+ </div>
217
- "html":
227
+ """,
218
- "<div><p><strong>Error:</strong>$message</p><p><strong>StackTrace:</strong>${stack?.toString()}</p></div>",
219
228
  }),
220
229
  );
221
230
  if (response.statusCode == 200) {
macos/Runner.xcodeproj/project.pbxproj CHANGED
@@ -569,14 +569,12 @@
569
569
  CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
570
570
  CODE_SIGN_STYLE = Automatic;
571
571
  COMBINE_HIDPI_IMAGES = YES;
572
- CURRENT_PROJECT_VERSION = 4;
573
572
  INFOPLIST_FILE = Runner/Info.plist;
574
573
  INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
575
574
  LD_RUNPATH_SEARCH_PATHS = (
576
575
  "$(inherited)",
577
576
  "@executable_path/../Frameworks",
578
577
  );
579
- MARKETING_VERSION = 1.0.2;
580
578
  PROVISIONING_PROFILE_SPECIFIER = "";
581
579
  SWIFT_VERSION = 5.0;
582
580
  };
@@ -698,14 +696,12 @@
698
696
  CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
699
697
  CODE_SIGN_STYLE = Automatic;
700
698
  COMBINE_HIDPI_IMAGES = YES;
701
- CURRENT_PROJECT_VERSION = 4;
702
699
  INFOPLIST_FILE = Runner/Info.plist;
703
700
  INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
704
701
  LD_RUNPATH_SEARCH_PATHS = (
705
702
  "$(inherited)",
706
703
  "@executable_path/../Frameworks",
707
704
  );
708
- MARKETING_VERSION = 1.0.2;
709
705
  PROVISIONING_PROFILE_SPECIFIER = "";
710
706
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
711
707
  SWIFT_VERSION = 5.0;
@@ -722,7 +718,6 @@
722
718
  "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
723
719
  CODE_SIGN_STYLE = Automatic;
724
720
  COMBINE_HIDPI_IMAGES = YES;
725
- CURRENT_PROJECT_VERSION = 4;
726
721
  DEVELOPMENT_TEAM = FXH8NUGFYY;
727
722
  INFOPLIST_FILE = Runner/Info.plist;
728
723
  INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
@@ -730,7 +725,6 @@
730
725
  "$(inherited)",
731
726
  "@executable_path/../Frameworks",
732
727
  );
733
- MARKETING_VERSION = 1.0.2;
734
728
  PROVISIONING_PROFILE_SPECIFIER = "";
735
729
  SWIFT_VERSION = 5.0;
736
730
  };
macos/Runner/Release.entitlements CHANGED
@@ -4,6 +4,8 @@
4
4
  <dict>
5
5
  <key>com.apple.security.app-sandbox</key>
6
6
  <true/>
7
+ <key>com.apple.security.network.server</key>
8
+ <true/>
7
9
  <key>com.apple.security.network.client</key>
8
10
  <true/>
9
11
  </dict>
pubspec.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  name: only_bible_app
2
2
  description: The only bible app you will ever need
3
3
  publish_to: 'none'
4
- version: 1.0.2+4
4
+ version: 1.0.3+5
5
5
 
6
6
  environment:
7
7
  sdk: '>=3.0.6 <4.0.0'