Skip to content

Latest commit

 

History

History
402 lines (335 loc) · 19.6 KB

CHANGELOG.md

File metadata and controls

402 lines (335 loc) · 19.6 KB

3.9.0

3.8.0

  • Added a silent version of restoreTransactions, called syncPurchases, meant to be used by developers performing migrations for other systems. RevenueCat#387 RevenueCat#403
  • Added presentCodeRedemptionSheet, which allows apps to present code redemption sheet for offer codes RevenueCat#400
  • Fixed sample app on macOS, which would fail to build because the watchOS app was embedded into it RevenueCat#402

3.7.6

  • Fixed a race condition that could cause a crash after deleting and reinstalling the app RevenueCat#383
  • Fixed possible overflow when performing local receipt parsing on 32-bit devices RevenueCat#384
  • Fixed string comparison when deleting synced subscriber attributes RevenueCat#385
  • Fixed docs-deploy job RevenueCat#386
  • Fixed a typo in a RCPurchases.h RevenueCat#380

3.7.5

3.7.4

3.7.3

  • Renames files with names that caused issues when building on Windows RevenueCat#362
  • Fixes crash when parsing receipts with an unexpected number of internal containers in an IAP ASN.1 Container RevenueCat#360
  • Fixes crash when sending NSNull attributes to addAttributionData:fromNetwork: RevenueCat#359
  • Added starter string constants file for logging RevenueCat#339

3.7.2

  • Updates the Pod to make it compile as a static framework, fixing build issues on hybrid SDKs. Cleans up imports in RCPurchases.h. RevenueCat#353
  • Fixes Catalyst builds and build warnings RevenueCat#352 RevenueCat#351

3.7.1

  • Fix 'Invalid bundle' validation error when uploading builds to App Store using Carthage or binary RevenueCat#346

3.7.0

  • Attribution V2: - Deprecated addAttributionData:fromNetwork: and addAttributionData:fromNetwork:forNetworkUserId: in favor of setAdjustId, setAppsflyerId, setFbAnonymousId, setMparticleId - Added support for OneSignal via setOnesignalId - Added setMediaSource, setCampaign, setAdGroup, setAd, setKeyword, setCreative, and collectDeviceIdentifiers RevenueCat#321 RevenueCat#340 RevenueCat#331
  • Prevent unnecessary receipt posts RevenueCat#323
  • Improved migration process for legacy Mac App Store apps moving to Universal Store RevenueCat#336
  • Added new SKError codes for Xcode 12 RevenueCat#334 RevenueCat#338
  • Renamed StoreKitConfig schemes RevenueCat#329
  • Fixed an issue where cached purchaserInfo would be returned after invalidating purchaserInfo cache RevenueCat#333
  • Fix cocoapods and carthage release scripts RevenueCat#324
  • Fixed a bug where checkIntroTrialEligibility wouldn't return when calling it from an OS version that didn't support intro offers RevenueCat#343

3.6.0

  • Fixed a race condition with purchase completed callbacks RevenueCat#313
  • Made RCTransaction public to fix compiling issues on Swift Package Manager RevenueCat#315
  • Added ability to export XCFrameworks RevenueCat#317
  • Cleaned up dispatch calls RevenueCat#318
  • Created a separate module and framework for the Swift code RevenueCat#319
  • Updated release scripts to be able to release the new Pod as well RevenueCat#320
  • Added a local receipt parser, updated intro eligibility calculation to perform on device first RevenueCat#302
  • Fix crash when productIdentifier or payment is nil. RevenueCat#297
  • Fixes ask-to-buy flow and will now send an error indicating there's a deferred payment. RevenueCat#296
  • Fixes application state check on app extensions, which threw a compilation error. RevenueCat#303
  • Restores will now always refresh the receipt. RevenueCat#287
  • New properties added to the PurchaserInfo to better manage non-subscriptions. RevenueCat#281
  • Bypass workaround in watchOS 7 that fixes watchOS 6.2 bug where devices report wrong appStoreReceiptURL RevenueCat#330
  • Fix bug where 404s in subscriber attributes POST would mark them as synced RevenueCat#328

3.5.3

  • Addresses an issue where subscriber attributes might not sync correctly if subscriber info for the user hadn't been synced before the subscriber attributes sync was performed. RevenueCat#327

3.5.2

  • Feature/defer cache updates if woken from push notification RevenueCat#288

3.5.1

  • Removes all references to ASIdentifierManager and advertisingIdentifier. This should help with some Kids apps being rejected RevenueCat#286
  • Fix for posting wrong duration P0D on consumables RevenueCat#289

3.5.0

3.4.0

  • Added proxyKey, useful for kids category apps, so that they can set up a proxy to send requests through. Do not use this unless you've talked to RevenueCat support about it. RevenueCat#258
  • Added managementURL to purchaserInfo. This provides an easy way for apps to create Manage Subscription buttons that will correctly redirect users to the corresponding subscription management page on all platforms. RevenueCat#259
  • Extra fields sent to the post receipt endpoint: normal_duration, intro_duration and trial_duration. These will feed into the LTV model for more accurate LTV values. RevenueCat#256
  • Fixed a bug where if the appUserID was not found in NSUserDefaults and createAlias was called, the SDK would create an alias to (null). RevenueCat#255
  • Added mParticle as an option for attribution. RevenueCat#251
  • Fixed build warnings for Mac Catalyst RevenueCat#247
  • Simplified Podspec and minor cleanup RevenueCat#248

3.3.1

  • Fixed version numbers that accidentally included the -SNAPSHOT suffix

3.3.0

3.2.2

  • Fixed build warnings about nil being passed to callees that require non-null parameters RevenueCat#216

3.2.1

  • Fixed build warnings on tvOS and API availability checks RevenueCat#212

3.2.0

  • Added support for WatchOS and tvOS, fixed some issues with pre-processor macro checks on different platforms. RevenueCat#183

3.1.2

  • Added an extra method, setPushTokenString, to be used by multi-platform SDKs that don't have direct access to the push token as NSData *, but rather as NSString *. RevenueCat#208

3.1.1

  • small fixes to docs and release scripts:

    • the release script was referencing a fastlane lane that was under the group ios, so it needs to be called with ios first
    • the docs for setPushToken in RCPurchases.m say to pass an empty string or nil to erase data, however since the param is of type NSData, you can't pass in an empty string.

    RevenueCat#203

3.1.0

  • Added Subscriber Attributes, which allow developers to store additional, structured information for a user in RevenueCat. More info: // More info: https://docs.revenuecat.com/docs/user-attributes. RevenueCat#196
  • Fixed an issue where the completion block of purchaserInfoWithCompletion would get called more than once if cached information existed and was stale. RevenueCat#199
  • Exposed original_purchase_date, which can be useful for migrating data for developers who don't increment the build number on every release and therefore can't rely on it being different on all releases.
  • Addressed a couple of build warnings: RevenueCat#200

3.0.4

  • Fixed an issue where Swift Package Manager didn't pick up the new Caching group from 3.0.3 RevenueCat#176

3.0.3

  • Added new method to invalidate the purchaser info cache, useful when promotional purchases are granted from outside the app. RevenueCat#168
  • Made sure we dispatch offerings, and purchaser info RevenueCat#146

3.0.2

  • Fixes an issue where Apple Search Ads attribution information would be sent even if the user hadn't clicked on a search ad.

3.0.1

  • Adds observer_mode to the backend post receipt call.

3.0.0

  • Support for new Offerings system.
  • Deprecates makePurchase methods. Replaces with purchasePackage
  • Deprecates entitlements method. Replaces with offerings
  • See our migration guide for more info: https://docs.revenuecat.com/v3.0/docs/offerings-migration
  • Added Purchases. prefix to Swift classes to avoid conflicts RevenueCat#131
  • Enabled base internationalisation to silence a warning (#119)
  • Migrates tests to Swift 5 (#138)
  • New identity changes (#133):
    • The .createAlias() method is no longer required, use .identify() instead
    • .identify() will create an alias if being called from an anonymous ID generated by RevenueCat
    • Added an isAnonymous property to Purchases.shared
    • Improved offline use

2.6.1

  • Support for Swift Package Manager
  • Adds a conditional to protect against nil products or productIdentifier (RevenueCat#129)

2.6.0

2.5.0

  • BREAKING CHANGE: fixed a typo in addAttributionData Swift's name.
  • Error logs for AppsFlyer if using deprecated rc_appsflyer_id
  • Error logs for AppsFlyer if missing networkUserID

2.4.0

  • BUGFIX: userId parameter in identify is not nullable anymore.
  • DEPRECATION: automaticAttributionCollection is now deprecated in favor of automaticAppleSearchAdsAttributionCollection since it's a more clear name.
  • NEW FEATURE: UIKitForMac support.
  • NEW FEATURE: Facebook Ads Attribution support https://docs.revenuecat.com/docs/facebook-ads.

2.3.0

  • addAttribution is now a class method that can be called before the SDK is configured.
  • addAttribution will automatically add the rc_idfa and rc_idfv parameters if the AdSupport and UIKit frameworks are included, respectively.
  • A network user identifier can be send to the addAttribution function, replacing the previous rc_appsflyer_id parameter.
  • Apple Search Ad attribution can be automatically collected by setting the automaticAttributionCollection boolean to true before the SDK is configured.
  • Adds an optional configuration boolean observerMode. This will set the value of finishTransactions at configuration time.
  • Header updates to include client version which will be used for debugging and reporting in the future.

2.2.0

  • Adds subscription offers

2.1.1

  • Avoid refreshing receipt everytime restore is called

2.1.0

  • Adds userCancelled as a parameter to the completion block of the makePurchase function.
  • Better error codes.

2.0.0

  • Refactor to all block based methods
  • Optional delegate method to receive changes in Purchaser Info
  • Ability to turn on detailed logging by setting debugLogsEnabled

1.2.1

  • Adds support for Tenjin

1.2.0

  • Singleton management handled by the SDK
  • Adds reset, identify and create alias calls

1.1.5

  • Conform RCPurchasesDelegate to NSObject
  • Adds requestDate to the purchaser info to avoid edge cases
  • Add iOS 11.2 availability annotations

1.1.4

  • Make RCPurchases initializer return a non-optional

1.1.3

  • Add option for disabling transaction finishing.

1.1.2

  • Fix to ensure prices are properly collected when using entitlements

1.1.1

  • Delegate methods now only dispatch if they are not on the main thread. This makes sure the cached PurchaserInfo is delivered on setting the delegate.
  • Allow developer to indicate anonymous ID behavior
  • Add "Purchases.h" to CocoaPods headers

1.1.0

  • Attribution! You can now pass attribution data from Apple Search Ads, AppsFlyer, Adjust and Branch. You can then view the ROI of your campaigns, including revenue coming from referrals.

1.0.5

  • Fix for entitlements will now have null active products if the product is not available from StoreKit

1.0.4

  • Fix version number in Plist for real

1.0.3

  • Fix version number in Plist

1.0.2

  • Improved error handling for fetching entitlements
  • Delegate methods are now guaranteed to run on the main thread

1.0.1

  • Fix a bug with parsing dates for Thai locales

1.0.0

  • Oh my oh whoa! We made it to version one point oh!
  • Entitlements now supported by the SDK. See the guide for more info.
  • Improved caching of RCPurchaserInfo

0.12.0

  • Remove Carthage dependencies
  • Add delegate methods for restoring
  • Allow RCPurchases to be instantiated with a UserDefaults object, useful for syncing between extensions

0.11.0

  • RCPurchases now caches the most recent RCPurchaserInfo. Apps no longer need to implement there own offline caching of subscription status.
  • Change block based methods to use delegate. restoreTransactions and updatePurchaserInfo no longer take blocks. This means all new RCPurchaserInfo objects will be sent via the delegate methods.
  • macOS support. Purchases now works with macOS. Contact [email protected] if interested in beta testing.

0.10.2

  • Workaround for a StoreKit issue (38476489) where priceLocale is missing on promotional purchases

0.10.1

  • Fix cache preventing prices from being posted

0.10.0

  • Prevent race conditions refreshing receipts.
  • Make processing of multiple receipt posts more efficient.
  • Add support for original application version so users can be grandfathered easily

0.9.0

  • Add support of checking eligibilty of introductory prices. RevenueCat will now be able to tell you definitively what version of a product you should present in your UI.

0.8.0

  • Add support of initializing without an appUserID. This standardizes and simplifies behavior for apps without account systems.

0.7.0

  • Change restoreTransactionsForAppStoreAccount: to take a completion block since it no long relies on the app store queue. Removed delegate methods.
  • Added updatedPurchaserInfo: that allows force refreshing of RCPurchaserInfo. Useful if your app needs the latest purchaser info.
  • Removed makePurchase:quantity:.
  • Add nonConsumablePurchases on RCPurchaserInfo. Non-consumable purchases will now Just Work (tm).

0.6.0

0.5.0

  • Add support for restoring purchases via restoreTransactionsForAppStoreAccount
  • Add support for iOS 9.0

0.4.0

  • Add tracking of product prices to allow for real time revenue tracking on RevenueCat.com

0.3.0

  • Improve handling of Apple and Backend errors
  • Handles missing receipts case
  • Fixed issue with timezone parsing

0.2.0

  • Rename shared secret to API key
  • Remove purchaserInfoWithCompletion, now RCPurchases fetches updated purchaser info automatically on UIApplicationDidBecomeActive.
  • Remove purchasing KVO property

0.1.0

  • Initial version
  • Requires access to the private beta, email [email protected] for a key.