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

Create separate SPM library to enable custom entitlement computation #2440

Merged
merged 6 commits into from
Apr 25, 2023

Commits on Apr 25, 2023

  1. Create separate SPM library to enable custom entitlement computation

    Fixes SDK-3084
    
    - Added new `ENABLE_CUSTOM_ENTITLEMENT_COMPUTATION` compile time flag
    - Hidden `configureInCustomEntitlementsModeWithApiKey` behind `ENABLE_CUSTOM_ENTITLEMENT_COMPUTATION`
    - Added new `RevenueCat_CustomEntitlementComputation` SPM target and library
    - Added CircleCI job for `swift build --target RevenueCat_CustomEntitlementComputation`
    - Added new `SPMCustomEntitlementComputationInstallation` using the new `configureInCustomEntitlementsComputationMode`
    - Added CircleCI job for `SPMCustomEntitlementComputationInstallation`
    - Added `FrameworkDisambiguation.swift` to avoid using `RevenueCat.` disambiguation for files that
    - Changed API testers to only use the new methods if `ENABLE_CUSTOM_ENTITLEMENT_COMPUTATION` is defined
    - Updated `DangerousSettings` to not expose `customEntitlementComputation` publicly. The only way to use that now with `public` API is through `Purchases.configureInCustomEntitlementsModeWithApiKey`
    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    813e325 View commit details
    Browse the repository at this point in the history
  2. Fixed job

    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    409b56a View commit details
    Browse the repository at this point in the history
  3. Only scan

    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    b6f6912 View commit details
    Browse the repository at this point in the history
  4. Disable other methods

    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    5701f8e View commit details
    Browse the repository at this point in the history
  5. Updated sample app

    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    da51d52 View commit details
    Browse the repository at this point in the history
  6. Fix build

    NachoSoto committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    9c406cd View commit details
    Browse the repository at this point in the history