Skip to content

Commit ff6dfb2

Browse files
authored
iOS/TvOS: disable beta-reports-active by default (#845)
1 parent 4bd316e commit ff6dfb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform/resources/iPhonePackageApp.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ local function generateXcent( options )
541541
print("beta_reports_active_setting: ".. tostring(beta_reports_active_setting))
542542
end
543543

544-
if beta_reports_active_setting ~= "" then
544+
if beta_reports_active_setting ~= "" and options.settings.iphone.betaReportsEnabled == true then
545545
-- set the value appropriately
546546
if nil ~= string.find( beta_reports_active_setting, "1", 1, true ) then
547547
templateBetaReportsActive, numMatches = string.gsub( templateBetaReportsActive, "{{BETA_REPORTS}}", "true" )

platform/resources/tvosPackageApp.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ local function generateXcent( options )
909909
print("beta_reports_active_setting: ".. tostring(beta_reports_active_setting))
910910
end
911911

912-
if beta_reports_active_setting ~= "" then
912+
if beta_reports_active_setting ~= "" and options.settings.tvos.betaReportsEnabled == true then
913913
-- set the value appropriately
914914
if nil ~= string.find( beta_reports_active_setting, "1", 1, true ) then
915915
templateBetaReportsActive, numMatches = string.gsub( templateBetaReportsActive, "{{BETA_REPORTS}}", "true" )

0 commit comments

Comments
 (0)