-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes package to com.revenuecat (#80)
- Loading branch information
1 parent
e7779a4
commit 455ab20
Showing
204 changed files
with
1,848 additions
and
1,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.run/kobankat [_apiTester_assemble].run.xml → .run/_apiTester_assemble.run.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="apiCheck" type="GradleRunConfiguration" | ||
factoryName="Gradle"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="apiCheck" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="apiDump" type="GradleRunConfiguration" | ||
factoryName="Gradle"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="apiDump" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
2 changes: 1 addition & 1 deletion
2
.run/kobankat [detektCommonMain].run.xml → .run/detektCommonMain.run.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
...way/kobankat/apitester/CustomerInfoAPI.kt → ...urchases/kmp/apitester/CustomerInfoAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 26 additions & 26 deletions
52
.../kobankat/apitester/EntitlementInfoAPI.kt → ...hases/kmp/apitester/EntitlementInfoAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfosAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.revenuecat.purchases.kmp.apitester | ||
|
||
import com.revenuecat.purchases.kmp.EntitlementInfo | ||
import com.revenuecat.purchases.kmp.EntitlementInfos | ||
import com.revenuecat.purchases.kmp.VerificationResult | ||
import com.revenuecat.purchases.kmp.active | ||
import com.revenuecat.purchases.kmp.all | ||
import com.revenuecat.purchases.kmp.get | ||
import com.revenuecat.purchases.kmp.verification | ||
|
||
@Suppress("unused", "UNUSED_VARIABLE") | ||
private class EntitlementInfosAPI { | ||
fun check(infos: EntitlementInfos) { | ||
val active: Map<String, EntitlementInfo> = infos.active | ||
val all: Map<String, EntitlementInfo> = infos.all | ||
val i: EntitlementInfo? = infos[""] | ||
val verification: VerificationResult = infos.verification | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...itester/EntitlementVerificationModeAPI.kt → ...itester/EntitlementVerificationModeAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tway/kobankat/apitester/EnumExtensions.kt → ...purchases/kmp/apitester/EnumExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.shortway.kobankat.apitester | ||
package com.revenuecat.purchases.kmp.apitester | ||
|
||
/** | ||
* Usage: | ||
|
34 changes: 17 additions & 17 deletions
34
...hortway/kobankat/apitester/OfferingAPI.kt → ...at/purchases/kmp/apitester/OfferingAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...ortway/kobankat/apitester/OfferingsAPI.kt → ...t/purchases/kmp/apitester/OfferingsAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PackageAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.revenuecat.purchases.kmp.apitester | ||
|
||
import com.revenuecat.purchases.kmp.Package | ||
import com.revenuecat.purchases.kmp.PackageType | ||
import com.revenuecat.purchases.kmp.PresentedOfferingContext | ||
import com.revenuecat.purchases.kmp.identifier | ||
import com.revenuecat.purchases.kmp.models.StoreProduct | ||
import com.revenuecat.purchases.kmp.packageType | ||
import com.revenuecat.purchases.kmp.presentedOfferingContext | ||
import com.revenuecat.purchases.kmp.storeProduct | ||
|
||
@Suppress("unused", "UNUSED_VARIABLE") | ||
private class PackageAPI { | ||
fun check(p: Package) { | ||
with(p) { | ||
val identifier: String = identifier | ||
val packageType: PackageType = packageType | ||
val product: StoreProduct = storeProduct | ||
val presentedOfferingContext: PresentedOfferingContext = presentedOfferingContext | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PeriodAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.revenuecat.purchases.kmp.apitester | ||
|
||
import com.revenuecat.purchases.kmp.models.Period | ||
import com.revenuecat.purchases.kmp.models.PeriodUnit | ||
import com.revenuecat.purchases.kmp.models.unit | ||
import com.revenuecat.purchases.kmp.models.value | ||
import com.revenuecat.purchases.kmp.models.valueInMonths | ||
|
||
@Suppress("unused", "UNUSED_VARIABLE") | ||
private class PeriodAPI { | ||
fun check(period: Period) { | ||
with(period) { | ||
val value: Int = value | ||
val unit: PeriodUnit = unit | ||
val valueInMonths: Double = valueInMonths | ||
} | ||
} | ||
} |
16 changes: 8 additions & 8 deletions
16
.../apitester/PresentedOfferingContextAPI.kt → .../apitester/PresentedOfferingContextAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...way/kobankat/apitester/PricingPhaseAPI.kt → ...urchases/kmp/apitester/PricingPhaseAPI.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.