Skip to content

Commit 8ba99d3

Browse files
committed
Generate app files
1 parent 5b0f96a commit 8ba99d3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/main/assets/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.1.8",
3-
"version_code": 14,
3+
"version_code": 15,
44
"testpress_site_subdomain": "sandbox",
55
"package_name": "in.testpress.sandbox",
66
"app_name": "Testpress Sandbox",

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ lane :modify_config_json do
5858
end
5959

6060
lane :generate_app_files do
61+
sh("bundle exec fastlane run get_app_config")
6162
signing_config = read_json(json_string: get_app_config())
6263
sh("echo '%s' | base64 --decode > $(pwd)/keystore.jks" %[signing_config[:keystore_file]])
63-
sh("bundle exec fastlane run get_app_config")
6464
gradle(
6565
tasks: ["bundleRelease", "assembleRelease", "assembleDebug"],
6666
print_command: false,

fastlane/actions/get_app_config.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ module Fastlane
55
module Actions
66
class GetAppConfigAction < Action
77
def self.run(params)
8+
puts "Inside get_app config actions"
89
uri = URI('https://hari.in.ngrok.io/api/android/')
910
res = Net::HTTP.get_response(uri)
11+
puts "#{res.code} , #{res.message}"
1012
return res.body if res.is_a?(Net::HTTPSuccess)
1113
end
1214
end

0 commit comments

Comments
 (0)