Skip to content

Commit

Permalink
Move IAP_TESTING_SANDBOX_URL and JITM_TESTING_JSON_FILE_NAME to `…
Browse files Browse the repository at this point in the history
…developer.properties`

It's appropriate file for developer, device-specific configuration
  • Loading branch information
wzieba committed Nov 15, 2024
1 parent 1cb3835 commit d0ee640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions WooCommerce/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -544,14 +544,6 @@ android.buildTypes.all { buildType ->
}
}

buildConfigField "String",
"IAP_TESTING_SANDBOX_URL",
"\"${project.properties.getOrDefault('iap_testing_sandbox_url', '')}\""

buildConfigField "String",
"JITM_TESTING_JSON_FILE_NAME",
"\"${project.properties.getOrDefault('jitm_testing_json_file_name', '')}\""

// If Google services file doesn't exist, copy example file.
if (!file("google-services.json").exists()) {
tasks.copyGoogleServicesExampleFile.copy()
Expand Down
2 changes: 2 additions & 0 deletions developer.properties-example
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# The type of in app update FLEXIBLE = 0; IMMEDIATE = 1
wc.in_app_update_type = 0
wc.iap_testing_sandbox_url=
wc.jitm_testing_json_file_name=

0 comments on commit d0ee640

Please sign in to comment.