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

v3.4.0 #174

Merged
merged 54 commits into from
Sep 19, 2023
Merged

v3.4.0 #174

merged 54 commits into from
Sep 19, 2023

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    62a378f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Initial refactor to add own purchase controller

    - Created an InternalPurchaseController. This coordinates the purchasing between provided purchase controllers and the internal purchasing mechanism.
    - Removed StoreKitCoordinator and removed redundant files like PurchaseManager.
    - Verification now happens before finishing a product.
    - No longer checks for restored product after purchase. This means if someone repurchases a product they already have, it'll count as a transaction_complete. This shouldn't be happening anyway, but something to consider.
    yusuftor committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    b35402e View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. More purchase controller refactoring

    - Stops ASN1 files from being public/open.
    - Fixes tests
    yusuftor committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    02bbc6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04c9caa View commit details
    Browse the repository at this point in the history
  3. Update StoreKitManager.swift

    yusuftor committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    c936603 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Updated some wording

    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    0449121 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7144a9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ff90dd View commit details
    Browse the repository at this point in the history
  4. Name change and spelling fix

    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    244aca0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #166 from superwall-me/feature/add-internal-purcha…

    …se-controller
    
    Feature/add internal purchase controller
    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8119196 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc1cd8d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9b329ec View commit details
    Browse the repository at this point in the history
  8. Fixed tests

    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    335c438 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #167 from superwall-me/feature/add-context-to-no-r…

    …ule-match
    
    Feature/add context to no rule match
    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    83fc8a7 View commit details
    Browse the repository at this point in the history
  10. Adds sdk_version/sdk_version_padded/app_build_number to device

    Also updates the version to 3.3.3.
    yusuftor committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6efd3f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    0044419 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    yusuftor committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    b4f8f37 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #168 from superwall-me/feature/expose-sdk-version

    feature/expose-sdk-version
    yusuftor committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    922689a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c6a579 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG.md

    yusuftor committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    e6b27ec View commit details
    Browse the repository at this point in the history
  6. Merge pull request #169 from superwall-me/feature/fix-paywall-decline…

    …-with-survey
    
    feature/fix-paywall-decline-with-survey
    yusuftor committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    06a93a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ccdcb21 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2079a51 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Only swizzles sendEvent if config contains the touchesBegan trigger

    Removes semaphore from UIWindow because all UIWindow events will be performed in serial as they're on the main actor.
    yusuftor committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    74f490f View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    yusuftor committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    8fbdec2 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    234adf4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #170 from superwall-me/feature/touches-began-trigger

    Feature/touches began trigger
    yusuftor committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    1f2b2b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    c143e02 View commit details
    Browse the repository at this point in the history
  2. Fix tests, update changelog

    yusuftor committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b093d6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4983bf0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    f69040e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e95797f View commit details
    Browse the repository at this point in the history
  3. Fixes issue where the retrieved StoreTransaction associated with th…

    …e purchased product may be `nil`
    yusuftor committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    aae80d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e15a04c View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    f675be8 View commit details
    Browse the repository at this point in the history
  2. Fixed tests and swiftlint

    yusuftor committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    0df5858 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #172 from superwall-me/feature/survey-on-transacti…

    …on-complete
    
    feature/survey-on-transaction-complete
    yusuftor committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    282a65a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d77fa76 View commit details
    Browse the repository at this point in the history
  5. Fixed tests

    yusuftor committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2e62964 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #171 from superwall-me/feature/survey-close

    feature/survey-close
    yusuftor committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    285aea7 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Updated survey presentation schema and moved appSessionManager init

    Updated version to 3.4.0
    yusuftor committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    656a126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c256bfb View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    9342dac View commit details
    Browse the repository at this point in the history
  2. Adds in a fallback and a retry when getting transactions

    - Stores every purchased transaction by product if the transaction date of the purchased transaction is greater than the last stored transaction. Then when getting the latest transaction it defaults to SK2 and checks it has a transaction date within the last hour. If that fails, then it gets the lastInternalTransaction, i.e. the transaction that caused the internal purchase controller to mark the transaction as purchased. Otherwise, we fallback to getting the last transaction whose date is within the last hour. If that fails, we wait 500ms before trying again and finally returning nil.
    - When completing a purchase, a check is added that the productId of the purchase is the one being purchased. Also checks that the date of the purchase is within the last hour to stop old purchases from completing the purchase.
    - Fixes tests and swiftlint
    yusuftor committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    2032b98 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Bugfix for surveys - it was sometimes accidentally disabling swipe to…

    … dismiss of paywallviewcontroller
    yusuftor committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    afd6b0a View commit details
    Browse the repository at this point in the history
  2. Required passing of transaction to completePurchase

    Fixes issue where transactions other than purchased wouldn't call the completion block.
    yusuftor committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    51b20f6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #173 from superwall-me/feature/fallback-to-sk1-pro…

    …duct
    
    Fallback to SK1 Transaction
    yusuftor committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    9cf4d2e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7654893 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG.md

    yusuftor committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    4918b39 View commit details
    Browse the repository at this point in the history
  6. Added unit tests for scheduling notifications

    Added a few protocols to cover UNUserNotificationCenter testing.
    yusuftor committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    011a9fc View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    6fdb864 View commit details
    Browse the repository at this point in the history
  2. Documentation updates

    yusuftor committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    3b99fcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    972f275 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    1c32301 View commit details
    Browse the repository at this point in the history