spaceship/lib/spaceship/portal/app.rb in fastlane-2.7.0 vs spaceship/lib/spaceship/portal/app.rb in fastlane-2.8.0
- old
+ new
@@ -85,17 +85,17 @@
# if bundle_id ends with '*' then it is a wildcard id otherwise, it is an explicit id
# @param bundle_id [String] the bundle id (app_identifier) of the app associated with this provisioning profile
# @param name [String] the name of the App
# @param mac [Bool] is this a Mac app?
# @return (App) The app you just created
- def create!(bundle_id: nil, name: nil, mac: false)
+ def create!(bundle_id: nil, name: nil, mac: false, enabled_features: {})
if bundle_id.end_with?('*')
type = :wildcard
else
type = :explicit
end
- new_app = client.create_app!(type, name, bundle_id, mac: mac)
+ new_app = client.create_app!(type, name, bundle_id, mac: mac, enabled_features: enabled_features)
self.new(new_app)
end
# Find a specific App ID based on the bundle_id
# @param mac [Bool] Searches Mac apps if true