only-bible-app v3.7.2+24

#kotlin#android#ios

git clone https://git.pyrossh.dev/only-bible-app

The only bible app you will ever need. No ads. No in-app purchases. No distractions.


android/fastlane/Fastfile
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

# Screenshots are left untouched by default (regenerating/uploading them on
# every release is slow and usually a no-op since the UI rarely changes).
# Opt in with `fastlane deploy update_screenshots:true` or
# `UPDATE_SCREENSHOTS=true fastlane deploy`.
def update_screenshots_requested?(options)
  options[:update_screenshots] || %w[1 true].include?(ENV["UPDATE_SCREENSHOTS"])
end

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :beta do
    gradle(task: "clean assembleRelease")
    crashlytics
  
    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  desc "Regenerate Play Store screenshots from the Flutter golden tests"
  lane :screenshots do
    sh("cd ../.. && flutter test test/screenshot_test.dart --update-goldens")
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do |options|
    update_screenshots = update_screenshots_requested?(options)
    screenshots if update_screenshots
    # Invoking gradle directly (as the old `gradle(task: "clean assembleRelease")`
    # did) skips `flutter pub get`'s plugin-registrant regeneration, which is
    # what excludes dev-only plugins like integration_test from the release
    # classpath. Building through `flutter build` runs that step first, so
    # GeneratedPluginRegistrant.java is correct for a release build. It also
    # produces an .aab (assembleRelease only produces an .apk).
    sh("cd ../.. && flutter build appbundle --release")
    upload(update_screenshots: update_screenshots)
  end

  desc "Upload a pre-built AAB to the Google Play"
  lane :upload do |options|
    update_screenshots = update_screenshots_requested?(options)
    upload_to_play_store(
      aab: "../build/app/outputs/bundle/release/app-release.aab",
      skip_upload_screenshots: !update_screenshots,
    )
  end
end