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


30ef99ac pyrossh

1 year ago
update config
Files changed (3) hide show
  1. ios/Runner/Info.plist +49 -49
  2. lib/utils.dart +1 -1
  3. readme.md +16 -10
ios/Runner/Info.plist CHANGED
@@ -1,53 +1,53 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
  <plist version="1.0">
4
- <dict>
4
+ <dict>
5
+ <key>CADisableMinimumFrameDurationOnPhone</key>
6
+ <true/>
5
- <key>CFBundleDevelopmentRegion</key>
7
+ <key>CFBundleDevelopmentRegion</key>
6
- <string>$(DEVELOPMENT_LANGUAGE)</string>
8
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
7
- <key>CFBundleDisplayName</key>
9
+ <key>CFBundleDisplayName</key>
8
- <string>Only Bible App</string>
10
+ <string>Only Bible App</string>
9
- <key>CFBundleExecutable</key>
11
+ <key>CFBundleExecutable</key>
10
- <string>$(EXECUTABLE_NAME)</string>
12
+ <string>$(EXECUTABLE_NAME)</string>
11
- <key>CFBundleIdentifier</key>
13
+ <key>CFBundleIdentifier</key>
12
- <string>sh.pyros.only-bible-app</string>
14
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
15
+ <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
16
+ <string>6.0</string>
15
- <key>CFBundleName</key>
17
+ <key>CFBundleName</key>
16
- <string>only-bible-app</string>
18
+ <string>only-bible-app</string>
17
- <key>CFBundlePackageType</key>
19
+ <key>CFBundlePackageType</key>
18
- <string>APPL</string>
20
+ <string>APPL</string>
19
- <key>CFBundleShortVersionString</key>
21
+ <key>CFBundleShortVersionString</key>
20
- <string>$(FLUTTER_BUILD_NAME)</string>
22
+ <string>$(FLUTTER_BUILD_NAME)</string>
21
- <key>CFBundleSignature</key>
23
+ <key>CFBundleSignature</key>
22
- <string>????</string>
24
+ <string>????</string>
23
- <key>CFBundleVersion</key>
25
+ <key>CFBundleVersion</key>
24
- <string>$(FLUTTER_BUILD_NUMBER)</string>
26
+ <string>$(FLUTTER_BUILD_NUMBER)</string>
27
+ <key>ITSAppUsesNonExemptEncryption</key>
28
+ <false/>
25
- <key>LSRequiresIPhoneOS</key>
29
+ <key>LSRequiresIPhoneOS</key>
26
- <true/>
30
+ <true/>
31
+ <key>UIApplicationSupportsIndirectInputEvents</key>
32
+ <true/>
27
- <key>UILaunchStoryboardName</key>
33
+ <key>UILaunchStoryboardName</key>
28
- <string>LaunchScreen</string>
34
+ <string>LaunchScreen</string>
29
- <key>UIMainStoryboardFile</key>
35
+ <key>UIMainStoryboardFile</key>
30
- <string>Main</string>
36
+ <string>Main</string>
37
+ <key>UIStatusBarHidden</key>
38
+ <false/>
31
- <key>UISupportedInterfaceOrientations</key>
39
+ <key>UISupportedInterfaceOrientations</key>
32
- <array>
40
+ <array>
33
- <string>UIInterfaceOrientationPortrait</string>
41
+ <string>UIInterfaceOrientationPortrait</string>
34
- <string>UIInterfaceOrientationLandscapeLeft</string>
42
+ <string>UIInterfaceOrientationLandscapeLeft</string>
35
- <string>UIInterfaceOrientationLandscapeRight</string>
43
+ <string>UIInterfaceOrientationLandscapeRight</string>
36
- </array>
44
+ </array>
37
- <key>UISupportedInterfaceOrientations~ipad</key>
45
+ <key>UISupportedInterfaceOrientations~ipad</key>
38
- <array>
46
+ <array>
39
- <string>UIInterfaceOrientationPortrait</string>
47
+ <string>UIInterfaceOrientationPortrait</string>
40
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
48
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
41
- <string>UIInterfaceOrientationLandscapeLeft</string>
49
+ <string>UIInterfaceOrientationLandscapeLeft</string>
42
- <string>UIInterfaceOrientationLandscapeRight</string>
50
+ <string>UIInterfaceOrientationLandscapeRight</string>
43
- </array>
51
+ </array>
44
- <key>CADisableMinimumFrameDurationOnPhone</key>
45
- <true/>
46
- <key>UIApplicationSupportsIndirectInputEvents</key>
47
- <true/>
48
- <key>UIStatusBarHidden</key>
49
- <false/>
50
- <key>ITSAppUsesNonExemptEncryption</key>
51
- <false/>
52
- </dict>
52
+ </dict>
53
53
  </plist>
lib/utils.dart CHANGED
@@ -214,7 +214,7 @@ recordError(String message, StackTrace? stack) async {
214
214
  },
215
215
  body: jsonEncode({
216
216
  "from": "onboarding@resend.dev",
217
- "to": "peter.john@sent.com",
217
+ "to": "pyros2097@gmail.com",
218
218
  "subject": "Error Stack trace",
219
219
  "html": """
220
220
  <div>
readme.md CHANGED
@@ -48,9 +48,12 @@ dart run flutter_native_splash:create
48
48
 
49
49
  ```agsl
50
50
  flutter clean
51
- flutter run
51
+ flutter run --dart-define-from-file=.env
52
52
  ```
53
53
 
54
+ ## IntelliJ IDE
55
+ Add additional run arguments `--dart-define-from-file=.env`
56
+
54
57
  ## Test
55
58
 
56
59
  ```agsl
@@ -65,22 +68,26 @@ https://onlybible.app
65
68
 
66
69
 
67
70
  ## Release Process
68
- Update version and build number in pubspec.yaml ex: 1.0.7+1
71
+ Update version and build number in pubspec.yaml ex: 1.0.7
72
+
73
+ ### android
69
74
 
70
- ### macOS
71
75
  ```
72
- flutter build macos --release --dart-define-from-file=.env
76
+ flutter build appbundle --release --dart-define-from-file=.env
77
+
73
- open macos/Runner.xcworkspace
78
+ # copy file from /build/app/outputs/bundle/release/app.aab
74
79
  ```
75
- * Open Product under menu -> Click Archive (It will run the build process let it complete).
76
- * Run Validate -> custom
77
- * Run Distribute -> custom
78
80
 
79
81
  ### iOS
80
82
 
83
+ Make sure you've added a Distribution certificate to the system keystore and download it and install it
84
+ Make sure you create an App Store provisioning profile for this certificate and download it and install it
85
+ Add you Apple Developer Team account in xCode and open ios/Runner.xcworkspace and under Runner Project,
86
+ Runner Target, Signing Tab, Release Tab, select that provisioning profile and Team and Certificate.
87
+
81
88
  ```
82
89
  flutter build ipa --release --dart-define-from-file=.env
83
- open build/ios/archive/MyApp.xcarchive
90
+ # open build/ios/archive/MyApp.xcarchive
84
91
  ```
85
92
 
86
93
  ## Bugs
@@ -91,5 +98,4 @@ open build/ios/archive/MyApp.xcarchive
91
98
 
92
99
  1. Figure out history
93
100
  2. Add more text options compact/loose, line spacing
94
- 3. Backups (File, Google Drive)
95
101
  4. Add Next/Prev/Home in bottom navigation as optional for mobile users