File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
modules/services/repositories/src/main/java/au/com/shiftyjelly/pocketcasts/repositories/subscription Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ android {
31
31
buildConfigField " String" , " SETTINGS_ENCRYPT_SECRET" , " \" ${ project.properties["pocketcastsSettingsEncryptSecret"] ?: ""} \" "
32
32
buildConfigField " String" , " SHARING_SERVER_SECRET" , " \" ${ project.properties["pocketcastsSharingServerSecret"] ?: ""} \" "
33
33
34
- buildConfigField " boolean" , " ENABLE_FREE_TRIAL" , " true"
35
-
36
34
testInstrumentationRunner project. testInstrumentationRunner
37
35
testApplicationId " au.com.shiftyjelly.pocketcasts.test" + project. name. replace(" -" , " _" )
38
36
vectorDrawables. useSupportLibrary = true
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import au.com.shiftyjelly.pocketcasts.models.type.SubscriptionPlatform
9
9
import au.com.shiftyjelly.pocketcasts.models.type.SubscriptionPricingPhase
10
10
import au.com.shiftyjelly.pocketcasts.models.type.SubscriptionType
11
11
import au.com.shiftyjelly.pocketcasts.preferences.Settings
12
- import au.com.shiftyjelly.pocketcasts.repositories.BuildConfig
13
12
import au.com.shiftyjelly.pocketcasts.repositories.subscription.SubscriptionManager.Companion.MONTHLY_PRODUCT_ID
14
13
import au.com.shiftyjelly.pocketcasts.repositories.subscription.SubscriptionManager.Companion.PLUS_PRODUCT_BASE
15
14
import au.com.shiftyjelly.pocketcasts.repositories.subscription.SubscriptionManager.Companion.YEARLY_PRODUCT_ID
@@ -333,7 +332,7 @@ class SubscriptionManagerImpl @Inject constructor(private val syncServerManager:
333
332
subscriptionStatus.accept(Optional .empty())
334
333
}
335
334
336
- override fun isFreeTrialEligible () = freeTrialEligible && BuildConfig . ENABLE_FREE_TRIAL
335
+ override fun isFreeTrialEligible () = freeTrialEligible
337
336
338
337
override fun updateFreeTrialEligible (eligible : Boolean ) {
339
338
freeTrialEligible = eligible
You can’t perform that action at this time.
0 commit comments