precheck/lib/precheck/rule_processor.rb in fastlane_hotfix-2.165.1 vs precheck/lib/precheck/rule_processor.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -128,10 +128,10 @@
def self.generate_app_items_to_check(app: nil)
items = []
# App info localizations
- app_info = app.fetch_edit_app_info
+ app_info = Precheck.config[:use_live] ? app.fetch_live_app_info : app.fetch_latest_app_info
app_info_localizations = app_info.get_app_info_localizations
app_info_localizations.each do |localization|
items << collect_text_items_from_language_item(locale: localization.locale,
value: localization.name,
item_name: :app_name,