subscriptions

Google Play Developer API: “startTimeMillis” is updated when it should not

核能气质少年 提交于 2019-12-01 00:26:03
问题 I am developing an application with in-app subscriptions. On our servers, I check the validity of each subscription through the Google Play Developer API. As stated in the docs, a request to the Purchases.subscriptions endpoint, returns something like that: { "kind": "androidpublisher#subscriptionPurchase", "startTimeMillis": long, "expiryTimeMillis": long, "autoRenewing": boolean } However, I am finding some strange behavior with it. When a user cancels a subscription through Google Play app

How to find out WHEN a user bought the app / installed it for the first time (possible without UDID?)

三世轮回 提交于 2019-11-30 20:22:41
I would like to find out when a user first bought my app... so far, I havent found a clean way and a UDID seemed to be the only option. Ideally there would be a receipt I can get via StoreKit but so far.. nada have I missed something ? Does anybody have an idea? The situation is that I have a subscription and the FIRST issue (from the time you buy the app should be free). If I reinstall at a later time.. I should always get the original issue) example: I buy the app in 10.2010 I install and run it and get the subscription issue from 10.2010 for free (no in-app purchase) Now I delete the app I

iOS: In App Purchase managing multiple auto-renewable subscriptions with upgrade and down grade option

守給你的承諾、 提交于 2019-11-30 05:18:33
We are developing one iOS application for iPhone which will free features as well app will have premium features with 4 in app purchase auto-renewable subscription options as below: Single monthly subscription Single yearly subscription Family monthly subscription Family yearly subscription We will have one store screen inside the application which will have options to subscribe to various subscriptions which our app provides. We found that user can go to device settings and manage their In-app purchase subscriptions. We are also planning to provide options like user can upgrade from one

How to find out WHEN a user bought the app / installed it for the first time (possible without UDID?)

♀尐吖头ヾ 提交于 2019-11-30 04:57:00
问题 I would like to find out when a user first bought my app... so far, I havent found a clean way and a UDID seemed to be the only option. Ideally there would be a receipt I can get via StoreKit but so far.. nada have I missed something ? Does anybody have an idea? The situation is that I have a subscription and the FIRST issue (from the time you buy the app should be free). If I reinstall at a later time.. I should always get the original issue) example: I buy the app in 10.2010 I install and

Overlapping Meteor publications

佐手、 提交于 2019-11-29 16:57:29
I have a meteor app which has 2 publications for posts. One for all posts and one for featured posts. There are 2 featured posts - "Post 1" and "Post 4". I show featured posts on all pages, while i paginate all posts (including the featured posts) sorted by name. When i travel between pages, the data from the 2 publications get mixed up and show incorrect results. Here is the code: Meteor.publish('posts', function(page) { const skip = parseInt(page && page !== '' ? page : 0) * 3 return Posts.find({}, { limit: 3, skip, sort: { name: 1 } }); }); Meteor.publish('featured', function() { return

iOS: In App Purchase managing multiple auto-renewable subscriptions with upgrade and down grade option

隐身守侯 提交于 2019-11-29 04:17:52
问题 We are developing one iOS application for iPhone which will free features as well app will have premium features with 4 in app purchase auto-renewable subscription options as below: Single monthly subscription Single yearly subscription Family monthly subscription Family yearly subscription We will have one store screen inside the application which will have options to subscribe to various subscriptions which our app provides. We found that user can go to device settings and manage their In

Do auto-renewable subscriptions send an SKPaymentTransactionStatePurchased transaction when they auto-renew?

纵然是瞬间 提交于 2019-11-29 03:44:38
Does the AppStore send out a transaction when it auto-renews an auto-renewable subscription? If so, can it reliably be detected by an App the next time the App loads if it sets itself as an observer: [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; Will the new auto-renewed transaction make a call to: -(void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions with transaction.transactionState==SKPaymentTransactionStatePurchased? If so, great. If not, does this mean you must examine all transactions every time an auto-renewable subscription approaches

Resolving invalid product id issue with in-app purchases?

旧时模样 提交于 2019-11-29 02:16:41
问题 This is a follow-up question to "In app purchases with MKStoreKit failing: “Problem in iTunes connect configuration for product: xxx" I am having a similar issue and have tried to do both with and without MKStoreKit and get a similar message. Check-list With thanks to: http://troybrant.net/blog/2010/01/invalid-product-ids/ Have you enabled In-App Purchases for your App ID? YES Have you checked Cleared for Sale for your product? YES Have you submitted (and optionally rejected) your application

Angular2/4 : Refresh Data Realtime

孤者浪人 提交于 2019-11-28 17:19:07
I need to refresh the data in a component page in an interval. Also I need to refresh the data after doing some action. I am using Obeservables in the service so that I can subscribe to when the response is ready. I am pushing the subscriptions to a object so that I can clear that on ngDestroy , I think, I have the following methods to achieve the same. Method 1 : setInterval I have set an interval on ngOnInit , which will call the refreshData in equal interval. The interval object will be cleared using clearInterval in ngOnDestroy method. export class MyComponent implements OnInit, OnDestroy

iTunes cross-platform IAP subscriptions - how does Netflix do it?

余生颓废 提交于 2019-11-28 17:06:10
I'm creating a service which allows users to register on any number of devices (web, Android, Roku, iOS, Apple TV), and then purchase a monthly subscription to watch video content. The subscription provides access to the entire catalog. I have my own subscription management API running on a server which I'd like to leverage as the source of truth so users can purchase a subscription on their iPad, login to the app on Roku, and continue watching where they left off. Basically, Netflix. Here are my options as far as I can tell: Auto-renewing subscriptions: this is what Netflix uses today, but