File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
superwall/src/main/java/com/superwall/sdk
store/abstractions/product/receipt Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 11package com.superwall.sdk.network
22
3+ import com.superwall.sdk.models.paywall.LocalNotificationTypeSerializer
34import com.superwall.sdk.models.serialization.DateSerializer
45import kotlinx.serialization.json.Json
56import kotlinx.serialization.json.JsonNamingStrategy
@@ -15,6 +16,7 @@ interface JsonFactory {
1516 namingStrategy = JsonNamingStrategy .SnakeCase
1617 serializersModule =
1718 SerializersModule {
19+ LocalNotificationTypeSerializer
1820 contextual(Date ::class , DateSerializer )
1921 }
2022 }
Original file line number Diff line number Diff line change @@ -499,16 +499,6 @@ class ReceiptManager(
499499 }
500500 }
501501
502- suspend fun loadIntroOfferEligibility (storeProducts : Set <StoreProduct >) {
503- // Android doesn't have a direct equivalent to iOS intro offer eligibility
504- // This would need to be implemented based on purchase history analysis
505- Logger .debug(
506- logLevel = LogLevel .debug,
507- scope = LogScope .receipts,
508- message = " loadIntroOfferEligibility called for ${storeProducts.size} products" ,
509- )
510- }
511-
512502 suspend fun isEligibleForIntroOffer (storeProduct : StoreProduct ): Boolean {
513503 // Check if user has never purchased this subscription before
514504 val hasExistingPurchase =
You can’t perform that action at this time.
0 commit comments