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


android/fastlane/Fastfile CHANGED
@@ -35,4 +35,11 @@ platform :android do
35
35
  gradle(task: "clean assembleRelease")
36
36
  upload_to_play_store
37
37
  end
38
+
39
+ desc "Upload a pre-built AAB to the Google Play"
40
+ lane :upload do
41
+ upload_to_play_store(
42
+ aab: "../build/app/outputs/bundle/release/app-release.aab",
43
+ )
44
+ end
38
45
  end
ios/.gitignore CHANGED
@@ -32,4 +32,5 @@ Runner/GeneratedPluginRegistrant.*
32
32
  !default.mode2v3
33
33
  !default.pbxuser
34
34
  !default.perspectivev3
35
- Preview.html
35
+ Preview.html
36
+ *.p8
ios/fastlane/Appfile CHANGED
@@ -5,4 +5,4 @@ itc_team_id("126649823") # App Store Connect Team ID
5
5
  team_id("FXH8NUGFYY") # Developer Portal Team ID
6
6
 
7
7
  # For more information about the Appfile, see:
8
- # https://docs.fastlane.tools/advanced/#appfile
8
+ # https://docs.fastlane.tools/advanced/#appfile
ios/fastlane/Fastfile CHANGED
@@ -16,10 +16,34 @@
16
16
  default_platform(:ios)
17
17
 
18
18
  platform :ios do
19
+ desc "Get App Store Connect API key"
20
+ lane :api_key do
21
+ app_store_connect_api_key(
22
+ key_id: "4BG2YL89CJ",
23
+ issuer_id: "abc54778-7886-4294-8e5c-ef9f7bb0827d",
24
+ key_filepath: "./AuthKey_4BG2YL89CJ.p8",
25
+ duration: 1200,
26
+ in_house: false
27
+ )
28
+ end
29
+
19
30
  desc "Push a new release build to the App Store"
20
31
  lane :release do
21
32
  increment_build_number(xcodeproj: "Runner.xcodeproj")
22
33
  build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
34
+ api_key = api_key()
23
- upload_to_app_store
35
+ upload_to_app_store(api_key: api_key)
36
+ end
37
+
38
+ desc "Upload a pre-built IPA to the App Store"
39
+ lane :upload do
40
+ api_key = api_key()
41
+ deliver(
42
+ api_key: api_key,
43
+ ipa: "../build/ios/ipa/only-bible-app.ipa",
44
+ automatic_release: true,
45
+ submit_for_review: true,
46
+ precheck_include_in_app_purchases: false,
47
+ )
24
48
  end
25
49
  end
ios/fastlane/README.md ADDED
@@ -0,0 +1,48 @@
1
+ fastlane documentation
2
+ ----
3
+
4
+ # Installation
5
+
6
+ Make sure you have the latest version of the Xcode command line tools installed:
7
+
8
+ ```sh
9
+ xcode-select --install
10
+ ```
11
+
12
+ For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
13
+
14
+ # Available Actions
15
+
16
+ ## iOS
17
+
18
+ ### ios api_key
19
+
20
+ ```sh
21
+ [bundle exec] fastlane ios api_key
22
+ ```
23
+
24
+ Get App Store Connect API key
25
+
26
+ ### ios release
27
+
28
+ ```sh
29
+ [bundle exec] fastlane ios release
30
+ ```
31
+
32
+ Push a new release build to the App Store
33
+
34
+ ### ios upload
35
+
36
+ ```sh
37
+ [bundle exec] fastlane ios upload
38
+ ```
39
+
40
+ Upload a pre-built IPA to the App Store
41
+
42
+ ----
43
+
44
+ This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
45
+
46
+ More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
47
+
48
+ The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
readme.md CHANGED
@@ -36,7 +36,7 @@ brew install fastlane
36
36
 
37
37
  ```
38
38
  flutter build appbundle --release --dart-define-from-file=.env
39
- fastlane supply --aab ../build/app/outputs/bundle/release/app-release.aab
39
+ cd android; fastlane upload
40
40
  ```
41
41
 
42
42
  ### iOS
@@ -48,5 +48,5 @@ fastlane supply --aab ../build/app/outputs/bundle/release/app-release.aab
48
48
 
49
49
  ```
50
50
  flutter build ipa --release --dart-define-from-file=.env
51
- fastlane deliver --ipa "../build/ios/ipa/only-bible-app.ipa" --automatic_release --submit_for_review
51
+ cd ios; fastlane upload
52
52
  ```