Sha256: 407ee14a6e82caffffa02dcb532098d78781e045ec9978024658cf3c51cebdb1

Contents?: true

Size: 784 Bytes

Versions: 32

Compression:

Stored size: 784 Bytes

Contents

module Spaceship
  module Tunes
    # identifiers of devices that App Store Connect accepts screenshots for
    class DeviceType
      @types = [
        # iPhone
        'iphone35',
        'iphone4',
        'iphone6', # 4.7-inch Display
        'iphone6Plus', # 5.5-inch Display
        'iphone58', # iPhone XS
        'iphone65', # iPhone XS Max

        # iPad
        'ipad', # 9.7-inch Display
        'ipad105',
        'ipadPro',
        'ipadPro11',
        'ipadPro129',

        # Apple Watch
        'watch', # series 3
        'watchSeries4',

        # Apple TV
        'appleTV',

        # Mac
        'desktop'
      ]
      class << self
        attr_accessor :types

        def exists?(type)
          types.include?(type)
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
fastlane-2.121.0.beta.20190421200026 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190420200032 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190419200010 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190418200030 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190417200018 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190416200048 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190415200032 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190414200028 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190413200059 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190412200021 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190411200023 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.121.0.beta.20190410200018 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190409200021 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190408200017 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190407200059 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190406200021 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190405200012 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190404200009 spaceship/lib/spaceship/tunes/device_type.rb
fastlane-2.120.0.beta.20190403200039 spaceship/lib/spaceship/tunes/device_type.rb