Sha256: a59fa383b371b6d218855675ade9b3a0507816211be95eece9038a0d416de7d3
Contents?: true
Size: 561 Bytes
Versions: 31
Compression:
Stored size: 561 Bytes
Contents
module FastlaneCore # Find the Apple ID based on the App Identifier class ItunesConnect LIST_APPLE_IDS_URL = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/manageyourapps/summary" def find_apple_id(app_identifier) login apps = JSON.parse(page.evaluate_script("$.ajax({type: 'GET', url: '#{LIST_APPLE_IDS_URL}', async: false})")['responseText'])['data'] return apps['summaries'].find { |v| v['bundleId'] == app_identifier }['adamId'].to_i rescue => ex # Do nothing right now... end end end
Version data entries
31 entries across 31 versions & 1 rubygems