Commit eaad2e8f by Demid Merzlyakov

IOS-155: hardcode default subscription ids and enable subscriptions by default.

parent ff2092c0
...@@ -4,18 +4,18 @@ ...@@ -4,18 +4,18 @@
<dict> <dict>
<key>ios_subscription_config</key> <key>ios_subscription_config</key>
<string>{ <string>{
&quot;subscriptions_enabled&quot;: false, &quot;subscriptions_enabled&quot;: true,
&quot;monthly&quot;: { &quot;monthly&quot;: {
&quot;product_id&quot;: &quot;&quot; &quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium&quot;
}, },
&quot;yearly&quot;: { &quot;yearly&quot;: {
&quot;product_id&quot;: &quot;&quot; &quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium.yearly&quot;
}, },
&quot;monthly_discounted&quot;: { &quot;monthly_discounted&quot;: {
&quot;product_id&quot;: &quot;&quot; &quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium.forpro&quot;
}, },
&quot;yearly_discounted&quot;: { &quot;yearly_discounted&quot;: {
&quot;product_id&quot;: &quot;&quot; &quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium.yearly.forPro&quot;
} }
}</string> }</string>
<key>search_screen_popular_cities</key> <key>search_screen_popular_cities</key>
......
...@@ -24,11 +24,11 @@ public struct SubscriptionsListConfig { ...@@ -24,11 +24,11 @@ public struct SubscriptionsListConfig {
} }
public init() { public init() {
self.subscriptionsEnabled = false self.subscriptionsEnabled = true
self.monthly = SubscriptionConfig(productId: "") self.monthly = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium")
self.yearly = SubscriptionConfig(productId: "") self.yearly = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium.yearly")
self.monthlyDiscounted = SubscriptionConfig(productId: "") self.monthlyDiscounted = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium.forpro")
self.yearlyDiscounted = SubscriptionConfig(productId: "") self.yearlyDiscounted = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium.yearly.forPro")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment