~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.
30ef99ac
—
pyrossh 1 year ago
update config
- ios/Runner/Info.plist +49 -49
- lib/utils.dart +1 -1
- 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
|
-
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
6
|
+
<true/>
|
|
5
|
-
|
|
7
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
-
|
|
8
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
7
|
-
|
|
9
|
+
<key>CFBundleDisplayName</key>
|
|
8
|
-
|
|
10
|
+
<string>Only Bible App</string>
|
|
9
|
-
|
|
11
|
+
<key>CFBundleExecutable</key>
|
|
10
|
-
|
|
12
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
11
|
-
|
|
13
|
+
<key>CFBundleIdentifier</key>
|
|
12
|
-
|
|
14
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
13
|
-
|
|
15
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
-
|
|
16
|
+
<string>6.0</string>
|
|
15
|
-
|
|
17
|
+
<key>CFBundleName</key>
|
|
16
|
-
|
|
18
|
+
<string>only-bible-app</string>
|
|
17
|
-
|
|
19
|
+
<key>CFBundlePackageType</key>
|
|
18
|
-
|
|
20
|
+
<string>APPL</string>
|
|
19
|
-
|
|
21
|
+
<key>CFBundleShortVersionString</key>
|
|
20
|
-
|
|
22
|
+
<string>$(FLUTTER_BUILD_NAME)</string>
|
|
21
|
-
|
|
23
|
+
<key>CFBundleSignature</key>
|
|
22
|
-
|
|
24
|
+
<string>????</string>
|
|
23
|
-
|
|
25
|
+
<key>CFBundleVersion</key>
|
|
24
|
-
|
|
26
|
+
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
|
27
|
+
<key>ITSAppUsesNonExemptEncryption</key>
|
|
28
|
+
<false/>
|
|
25
|
-
|
|
29
|
+
<key>LSRequiresIPhoneOS</key>
|
|
26
|
-
|
|
30
|
+
<true/>
|
|
31
|
+
<key>UIApplicationSupportsIndirectInputEvents</key>
|
|
32
|
+
<true/>
|
|
27
|
-
|
|
33
|
+
<key>UILaunchStoryboardName</key>
|
|
28
|
-
|
|
34
|
+
<string>LaunchScreen</string>
|
|
29
|
-
|
|
35
|
+
<key>UIMainStoryboardFile</key>
|
|
30
|
-
|
|
36
|
+
<string>Main</string>
|
|
37
|
+
<key>UIStatusBarHidden</key>
|
|
38
|
+
<false/>
|
|
31
|
-
|
|
39
|
+
<key>UISupportedInterfaceOrientations</key>
|
|
32
|
-
|
|
40
|
+
<array>
|
|
33
|
-
|
|
41
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
34
|
-
|
|
42
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
35
|
-
|
|
43
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
36
|
-
|
|
44
|
+
</array>
|
|
37
|
-
|
|
45
|
+
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
38
|
-
|
|
46
|
+
<array>
|
|
39
|
-
|
|
47
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
40
|
-
|
|
48
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
41
|
-
|
|
49
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
42
|
-
|
|
50
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
43
|
-
|
|
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
|
-
|
|
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": "
|
|
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
|
|
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
|
|
76
|
+
flutter build appbundle --release --dart-define-from-file=.env
|
|
77
|
+
|
|
73
|
-
|
|
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
|