Hi JC,
First of all I want to thank you for the wonderful work.
I'm currently integrating JCSubscriptionManager in my project. I'm facing following issue while testing. If current I'm subscribed & changing device date to few date prior to current date, then I can access the subscription more, for number of days I have taken prior to current date.
As in isSubscriptionActive method following condition has been checked
if (expirationInterval.doubleValue > [[NSDate date] timeIntervalSince1970]) {
return YES;
} else {
[self setSubscriptionExpirationIntervalSince1970:nil];
return NO;
}
So, if [NSDate date] changes then subscription will remain activated, no matter even if actual subscription may have been expired.
Hi JC,
First of all I want to thank you for the wonderful work.
I'm currently integrating JCSubscriptionManager in my project. I'm facing following issue while testing. If current I'm subscribed & changing device date to few date prior to current date, then I can access the subscription more, for number of days I have taken prior to current date.
As in isSubscriptionActive method following condition has been checked
if (expirationInterval.doubleValue > [[NSDate date] timeIntervalSince1970]) {
return YES;
} else {
[self setSubscriptionExpirationIntervalSince1970:nil];
return NO;
}
So, if [NSDate date] changes then subscription will remain activated, no matter even if actual subscription may have been expired.