-
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.
Update docs after enabling Trusted Entitlements by default (#600)
- Loading branch information
Showing
8 changed files
with
11 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
await Purchases.configure({ | ||
apiKey: <public_api_key>, | ||
entitlementVerificationMode: ENTITLEMENT_VERIFICATION_MODE.INFORMATIONAL | ||
entitlementVerificationMode: ENTITLEMENT_VERIFICATION_MODE.DISABLED | ||
}); |
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 @@ | ||
await Purchases.configure({ | ||
apiKey: <public_api_key>, | ||
entitlementVerificationMode: ENTITLEMENT_VERIFICATION_MODE.INFORMATIONAL | ||
entitlementVerificationMode: ENTITLEMENT_VERIFICATION_MODE.DISABLED | ||
}); |
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,5 +1,5 @@ | ||
Purchases.PurchasesConfiguration.Builder builder = Purchases.PurchasesConfiguration.Builder.Init(<public_api_key>); | ||
Purchases.PurchasesConfiguration purchasesConfiguration = | ||
.SetEntitlementVerificationMode(Purchases.EntitlementVerificationMode.Informational) | ||
.SetEntitlementVerificationMode(Purchases.EntitlementVerificationMode.Disabled) | ||
.Build(); | ||
purchases.Configure(purchasesConfiguration); |
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,3 +1,3 @@ | ||
PurchasesConfiguration configuration = PurchasesConfiguration(<public_api_key>); | ||
configuration.entitlementVerificationMode = EntitlementVerificationMode.informational; | ||
configuration.entitlementVerificationMode = EntitlementVerificationMode.disabled; | ||
await Purchases.configure(configuration); |
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,5 +1,5 @@ | ||
Purchases.configure( | ||
PurchasesConfiguration.Builder(context, apiKey = <api_key>) | ||
.entitlementVerificationMode(EntitlementVerificationMode.INFORMATIONAL) | ||
.entitlementVerificationMode(EntitlementVerificationMode.DISABLED) | ||
.build() | ||
) |
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,2 +1,2 @@ | ||
[RCPurchases configureWithConfigurationBuilder:[[RCConfiguration builderWithAPIKey:<api_key>] | ||
withEntitlementVerificationMode:RCEntitlementVerificationModeInformational]]; | ||
withEntitlementVerificationMode:RCEntitlementVerificationModeDisabled]]; |
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 @@ | ||
Purchases.configure( | ||
with: Configuration.Builder(withAPIKey: <api_key>) | ||
.with(entitlementVerificationMode: .informational) | ||
.with(entitlementVerificationMode: .disabled) | ||
) |
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