Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement Promotional Offers #16

Merged
merged 17 commits into from
Jan 18, 2024

Add code comments

1bc7a07
Select commit
Loading
Failed to load commit list.
Merged

[WIP] Implement Promotional Offers #16

Add code comments
1bc7a07
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jan 18, 2024 in 0s

85.75% of diff hit (target 85.00%)

View this Pull Request on Codecov

85.75% of diff hit (target 85.00%)

Annotations

Check warning on line 50 in Sources/Flare/Classes/Flare.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Flare.swift#L48-L50

Added lines #L48 - L50 were not covered by tests

Check warning on line 12 in Sources/Flare/Classes/Foundation/UserDefaults/UserDefaults.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Foundation/UserDefaults/UserDefaults.swift#L9-L12

Added lines #L9 - L12 were not covered by tests

Check warning on line 17 in Sources/Flare/Classes/Foundation/UserDefaults/UserDefaults.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Foundation/UserDefaults/UserDefaults.swift#L17

Added line #L17 was not covered by tests

Check warning on line 33 in Sources/Flare/Classes/Models/DiscountType.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/DiscountType.swift#L33

Added line #L33 was not covered by tests

Check warning on line 50 in Sources/Flare/Classes/Models/DiscountType.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/DiscountType.swift#L50

Added line #L50 was not covered by tests

Check warning on line 47 in Sources/Flare/Classes/Models/Internal/SK1StoreProductDiscount.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/Internal/SK1StoreProductDiscount.swift#L47

Added line #L47 was not covered by tests

Check warning on line 49 in Sources/Flare/Classes/Models/Internal/SK2StoreProductDiscount.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/Internal/SK2StoreProductDiscount.swift#L49

Added line #L49 was not covered by tests

Check warning on line 37 in Sources/Flare/Classes/Models/PaymentMode.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/PaymentMode.swift#L37

Added line #L37 was not covered by tests

Check warning on line 56 in Sources/Flare/Classes/Models/PaymentMode.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/PaymentMode.swift#L56

Added line #L56 was not covered by tests

Check warning on line 30 in Sources/Flare/Classes/Models/PromotionalOffer.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/PromotionalOffer.swift#L27-L30

Added lines #L27 - L30 were not covered by tests

Check warning on line 84 in Sources/Flare/Classes/Models/PromotionalOffer.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/PromotionalOffer.swift#L76-L84

Added lines #L76 - L84 were not covered by tests

Check warning on line 98 in Sources/Flare/Classes/Models/PromotionalOffer.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/PromotionalOffer.swift#L90-L98

Added lines #L90 - L98 were not covered by tests

Check warning on line 56 in Sources/Flare/Classes/Models/SubscriptionPeriod.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Models/SubscriptionPeriod.swift#L50-L56

Added lines #L50 - L56 were not covered by tests

Check warning on line 206 in Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift#L204-L206

Added lines #L204 - L206 were not covered by tests

Check warning on line 229 in Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift#L227-L229

Added lines #L227 - L229 were not covered by tests

Check warning on line 250 in Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/IAPProvider/IIAPProvider.swift#L248-L250

Added lines #L248 - L250 were not covered by tests

Check warning on line 88 in Sources/Flare/Classes/Providers/PurchaseProvider/IPurchaseProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/PurchaseProvider/IPurchaseProvider.swift#L86-L88

Added lines #L86 - L88 were not covered by tests

Check warning on line 98 in Sources/Flare/Classes/Providers/PurchaseProvider/PurchaseProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/PurchaseProvider/PurchaseProvider.swift#L98

Added line #L98 was not covered by tests

Check warning on line 103 in Sources/Flare/Classes/Providers/PurchaseProvider/PurchaseProvider.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/Flare/Classes/Providers/PurchaseProvider/PurchaseProvider.swift#L102-L103

Added lines #L102 - L103 were not covered by tests