Commit eaad2e8f by Demid Merzlyakov

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

parent ff2092c0
......@@ -4,18 +4,18 @@
<dict>
<key>ios_subscription_config</key>
<string>{
&quot;subscriptions_enabled&quot;: false,
&quot;subscriptions_enabled&quot;: true,
&quot;monthly&quot;: {
&quot;product_id&quot;: &quot;&quot;
&quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium&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;product_id&quot;: &quot;&quot;
&quot;product_id&quot;: &quot;com.onelouder.oneweather.subscription.premium.forpro&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>
<key>search_screen_popular_cities</key>
......
......@@ -24,11 +24,11 @@ public struct SubscriptionsListConfig {
}
public init() {
self.subscriptionsEnabled = false
self.monthly = SubscriptionConfig(productId: "")
self.yearly = SubscriptionConfig(productId: "")
self.monthlyDiscounted = SubscriptionConfig(productId: "")
self.yearlyDiscounted = SubscriptionConfig(productId: "")
self.subscriptionsEnabled = true
self.monthly = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium")
self.yearly = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium.yearly")
self.monthlyDiscounted = SubscriptionConfig(productId: "com.onelouder.oneweather.subscription.premium.forpro")
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