diff --git a/Examples/LegacySwiftExample/Podfile b/Examples/LegacySwiftExample/Podfile
index 876a17db79..c7158b3784 100644
--- a/Examples/LegacySwiftExample/Podfile
+++ b/Examples/LegacySwiftExample/Podfile
@@ -4,13 +4,13 @@
target 'LegacySwiftExample' do
# Pods for SwiftExample
- pod 'Purchases', :path => '../../'
+ pod 'RevenueCat', :path => '../../'
end
target 'WatchExample Extension' do
# Pods for SwiftExample
- pod 'Purchases', :path => '../../'
+ pod 'RevenueCat', :path => '../../'
end
diff --git a/Examples/LegacySwiftExample/SwiftExample/AppDelegate.swift b/Examples/LegacySwiftExample/SwiftExample/AppDelegate.swift
index eb6dfcdd51..65183e7ab6 100644
--- a/Examples/LegacySwiftExample/SwiftExample/AppDelegate.swift
+++ b/Examples/LegacySwiftExample/SwiftExample/AppDelegate.swift
@@ -8,7 +8,7 @@
import UIKit
import UserNotifications
-import Purchases
+import RevenueCat
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
diff --git a/Examples/LegacySwiftExample/SwiftExample/CatsViewController.swift b/Examples/LegacySwiftExample/SwiftExample/CatsViewController.swift
index da25911b7e..02bd968b79 100644
--- a/Examples/LegacySwiftExample/SwiftExample/CatsViewController.swift
+++ b/Examples/LegacySwiftExample/SwiftExample/CatsViewController.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
class CatsViewController: UIViewController {
diff --git a/Examples/LegacySwiftExample/SwiftExample/InitialViewController.swift b/Examples/LegacySwiftExample/SwiftExample/InitialViewController.swift
index 3a49e38b6b..95d65da8bc 100644
--- a/Examples/LegacySwiftExample/SwiftExample/InitialViewController.swift
+++ b/Examples/LegacySwiftExample/SwiftExample/InitialViewController.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
class InitialViewController: UIViewController {
diff --git a/Examples/LegacySwiftExample/SwiftExample/SwiftPaywall.swift b/Examples/LegacySwiftExample/SwiftExample/SwiftPaywall.swift
index 1511f042ac..fcdf8a59a2 100644
--- a/Examples/LegacySwiftExample/SwiftExample/SwiftPaywall.swift
+++ b/Examples/LegacySwiftExample/SwiftExample/SwiftPaywall.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
enum PayWallEdgeStyle : String {
case square
diff --git a/Examples/LegacySwiftExample/WatchExample Extension/ExtensionDelegate.swift b/Examples/LegacySwiftExample/WatchExample Extension/ExtensionDelegate.swift
index e183994f69..cac4e053e9 100644
--- a/Examples/LegacySwiftExample/WatchExample Extension/ExtensionDelegate.swift
+++ b/Examples/LegacySwiftExample/WatchExample Extension/ExtensionDelegate.swift
@@ -7,7 +7,7 @@
//
import WatchKit
-import Purchases
+import RevenueCat
class ExtensionDelegate: NSObject, WKExtensionDelegate {
diff --git a/Examples/LegacySwiftExample/WatchExample Extension/InterfaceController.swift b/Examples/LegacySwiftExample/WatchExample Extension/InterfaceController.swift
index eb5cb65af3..687c7f3a36 100644
--- a/Examples/LegacySwiftExample/WatchExample Extension/InterfaceController.swift
+++ b/Examples/LegacySwiftExample/WatchExample Extension/InterfaceController.swift
@@ -8,7 +8,7 @@
import WatchKit
import Foundation
-import Purchases
+import RevenueCat
class InterfaceController: WKInterfaceController {
private var offering : Purchases.Offering?
diff --git a/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift b/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift
index 19d6bbc95e..d94c1e785a 100644
--- a/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift
+++ b/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift
@@ -6,7 +6,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
/*
An example paywall that uses the current offering.
diff --git a/Examples/MagicWeather/MagicWeather/Sources/Controllers/SplashScreenViewController.swift b/Examples/MagicWeather/MagicWeather/Sources/Controllers/SplashScreenViewController.swift
index 0612826d84..1fe346a722 100644
--- a/Examples/MagicWeather/MagicWeather/Sources/Controllers/SplashScreenViewController.swift
+++ b/Examples/MagicWeather/MagicWeather/Sources/Controllers/SplashScreenViewController.swift
@@ -6,7 +6,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
/*
Use a splash screen to make sure we have access to PurchaserInfo before displaying a UI.
diff --git a/Examples/MagicWeather/MagicWeather/Sources/Controllers/UserViewController.swift b/Examples/MagicWeather/MagicWeather/Sources/Controllers/UserViewController.swift
index c7fa921b60..5e5fde7d53 100644
--- a/Examples/MagicWeather/MagicWeather/Sources/Controllers/UserViewController.swift
+++ b/Examples/MagicWeather/MagicWeather/Sources/Controllers/UserViewController.swift
@@ -6,7 +6,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
/*
View controller to display user's details like subscription status and ID's.
diff --git a/Examples/MagicWeather/MagicWeather/Sources/Controllers/WeatherViewController.swift b/Examples/MagicWeather/MagicWeather/Sources/Controllers/WeatherViewController.swift
index ba2bbe6fb1..e790707efc 100644
--- a/Examples/MagicWeather/MagicWeather/Sources/Controllers/WeatherViewController.swift
+++ b/Examples/MagicWeather/MagicWeather/Sources/Controllers/WeatherViewController.swift
@@ -6,7 +6,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
/*
The app's main view controller that displays our pretend weather data.
diff --git a/Examples/MagicWeather/MagicWeather/Sources/Lifecycle/AppDelegate.swift b/Examples/MagicWeather/MagicWeather/Sources/Lifecycle/AppDelegate.swift
index d1be3d5a9d..8287fc1fa2 100644
--- a/Examples/MagicWeather/MagicWeather/Sources/Lifecycle/AppDelegate.swift
+++ b/Examples/MagicWeather/MagicWeather/Sources/Lifecycle/AppDelegate.swift
@@ -6,7 +6,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Helpers/Extensions.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Helpers/Extensions.swift
index c1fb91b968..ba5d37dcb2 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Helpers/Extensions.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Helpers/Extensions.swift
@@ -6,7 +6,7 @@
//
import Foundation
-import Purchases
+import RevenueCat
/* The `Package` class needs to be identifiable to work with a List */
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/MagicWeatherApp.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/MagicWeatherApp.swift
index 0f00f43f55..9aba415516 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/MagicWeatherApp.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/MagicWeatherApp.swift
@@ -6,7 +6,7 @@
//
import SwiftUI
-import Purchases
+import RevenueCat
@main
struct MagicWeatherApp: App {
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/PurchasesDelegateHandler.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/PurchasesDelegateHandler.swift
index 041b957697..415f79773f 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/PurchasesDelegateHandler.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Lifecycle/PurchasesDelegateHandler.swift
@@ -6,7 +6,7 @@
//
import Foundation
-import Purchases
+import RevenueCat
/*
The class we'll use to publish PurchaserInfo data to our Magic Weather app.
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/ViewModels/UserViewModel.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/ViewModels/UserViewModel.swift
index 332c4338ab..e4d3d24684 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/ViewModels/UserViewModel.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/ViewModels/UserViewModel.swift
@@ -6,7 +6,7 @@
//
import Foundation
-import Purchases
+import RevenueCat
import SwiftUI
/* Static shared model for UserView */
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/PaywallView.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/PaywallView.swift
index 61bf3f5541..7d53aa0eb0 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/PaywallView.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/PaywallView.swift
@@ -6,7 +6,7 @@
//
import SwiftUI
-import Purchases
+import RevenueCat
/*
An example paywall that uses the current offering.
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/UserView.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/UserView.swift
index b0e2fa2d68..098c07a451 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/UserView.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/UserView.swift
@@ -6,7 +6,7 @@
//
import SwiftUI
-import Purchases
+import RevenueCat
/*
The app's user tab to display user's details like subscription status and ID's.
diff --git a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/WeatherView.swift b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/WeatherView.swift
index ea0cc270ad..a5cf79164e 100644
--- a/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/WeatherView.swift
+++ b/Examples/MagicWeatherSwiftUI/Shared/Sources/Views/WeatherView.swift
@@ -6,7 +6,7 @@
//
import SwiftUI
-import Purchases
+import RevenueCat
/*
The app's weather tab that displays our pretend weather data.
diff --git a/IntegrationTests/CocoapodsIntegration/Podfile b/IntegrationTests/CocoapodsIntegration/Podfile
index 57013793d2..e909b378bf 100644
--- a/IntegrationTests/CocoapodsIntegration/Podfile
+++ b/IntegrationTests/CocoapodsIntegration/Podfile
@@ -5,7 +5,7 @@ target 'CocoapodsIntegration' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
- pod 'Purchases', path: '../../'
+ pod 'RevenueCat', path: '../../'
target 'CocoapodsIntegrationTests' do
inherit! :search_paths
diff --git a/IntegrationTests/CommonFiles/IntegrationTests.swift b/IntegrationTests/CommonFiles/IntegrationTests.swift
index dbd02d618b..44574294c4 100644
--- a/IntegrationTests/CommonFiles/IntegrationTests.swift
+++ b/IntegrationTests/CommonFiles/IntegrationTests.swift
@@ -17,7 +17,7 @@ import XCTest
@testable import XcodeDirectIntegration
#endif
-import Purchases
+import RevenueCat
class IntegrationTests: XCTestCase {
diff --git a/IntegrationTests/CommonFiles/RCIntegrationRunner.m b/IntegrationTests/CommonFiles/RCIntegrationRunner.m
index bc1ae915c7..862e2d9328 100644
--- a/IntegrationTests/CommonFiles/RCIntegrationRunner.m
+++ b/IntegrationTests/CommonFiles/RCIntegrationRunner.m
@@ -6,7 +6,7 @@
//
#import "RCIntegrationRunner.h"
-@import Purchases;
+@import RevenueCat;
NS_ASSUME_NONNULL_BEGIN
diff --git a/IntegrationTests/PurchaseTester/Podfile b/IntegrationTests/PurchaseTester/Podfile
index ebdac83639..410cd8dbd1 100644
--- a/IntegrationTests/PurchaseTester/Podfile
+++ b/IntegrationTests/PurchaseTester/Podfile
@@ -2,7 +2,7 @@
target 'PurchaseTester' do
platform :ios, '12.1'
# Pods for PurchaseTester
- pod 'Purchases', :path => '../../'
+ pod 'RevenueCat', :path => '../../'
end
@@ -10,6 +10,6 @@ target 'WatchPurchaseTester Extension' do
platform :watchos, '6.2'
# Pods for PurchaseTester
- pod 'Purchases', :path => '../../'
+ pod 'RevenueCat', :path => '../../'
end
diff --git a/IntegrationTests/PurchaseTester/Podfile.lock b/IntegrationTests/PurchaseTester/Podfile.lock
index ec550d679f..fc32beedad 100644
--- a/IntegrationTests/PurchaseTester/Podfile.lock
+++ b/IntegrationTests/PurchaseTester/Podfile.lock
@@ -1,16 +1,16 @@
PODS:
- - Purchases (3.13.0-SNAPSHOT)
+ - RevenueCat (4.0.0-beta.1)
DEPENDENCIES:
- - Purchases (from `../../`)
+ - RevenueCat (from `../../`)
EXTERNAL SOURCES:
- Purchases:
+ RevenueCat:
:path: "../../"
SPEC CHECKSUMS:
- Purchases: 76743d41cfb64f6960a78438959c58f80065c342
+ RevenueCat: d40fad138e5d1506f8f4038dc9660be1c36f481f
-PODFILE CHECKSUM: 22d943618b2bd4ab6b523cc4829b24647d202c09
+PODFILE CHECKSUM: f0880c6eb8b2a5f9b4e9e9475c5cfb18b532cde0
-COCOAPODS: 1.10.2
+COCOAPODS: 1.11.0.beta.2
diff --git a/IntegrationTests/PurchaseTester/PurchaseTester/AppDelegate.swift b/IntegrationTests/PurchaseTester/PurchaseTester/AppDelegate.swift
index dcc20aa14f..aa4aaa069e 100644
--- a/IntegrationTests/PurchaseTester/PurchaseTester/AppDelegate.swift
+++ b/IntegrationTests/PurchaseTester/PurchaseTester/AppDelegate.swift
@@ -8,7 +8,7 @@
import UIKit
import UserNotifications
-import Purchases
+import RevenueCat
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
diff --git a/IntegrationTests/PurchaseTester/PurchaseTester/CatsViewController.swift b/IntegrationTests/PurchaseTester/PurchaseTester/CatsViewController.swift
index 096ee07e40..0b20588381 100644
--- a/IntegrationTests/PurchaseTester/PurchaseTester/CatsViewController.swift
+++ b/IntegrationTests/PurchaseTester/PurchaseTester/CatsViewController.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
class CatsViewController: UIViewController {
diff --git a/IntegrationTests/PurchaseTester/PurchaseTester/Info.plist b/IntegrationTests/PurchaseTester/PurchaseTester/Info.plist
index bcdc776330..f0ea31ae00 100644
--- a/IntegrationTests/PurchaseTester/PurchaseTester/Info.plist
+++ b/IntegrationTests/PurchaseTester/PurchaseTester/Info.plist
@@ -34,6 +34,10 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
+ LSApplicationCategoryType
+
+ UIApplicationSupportsMultipleScenes
+
UISupportedInterfaceOrientations~ipad
UIInterfaceOrientationPortrait
diff --git a/IntegrationTests/PurchaseTester/PurchaseTester/InitialViewController.swift b/IntegrationTests/PurchaseTester/PurchaseTester/InitialViewController.swift
index 6c3a61f8b9..45820280b4 100644
--- a/IntegrationTests/PurchaseTester/PurchaseTester/InitialViewController.swift
+++ b/IntegrationTests/PurchaseTester/PurchaseTester/InitialViewController.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
class InitialViewController: UIViewController {
diff --git a/IntegrationTests/PurchaseTester/PurchaseTester/SwiftPaywall.swift b/IntegrationTests/PurchaseTester/PurchaseTester/SwiftPaywall.swift
index 2b48a910b4..9d5ecb6b8d 100644
--- a/IntegrationTests/PurchaseTester/PurchaseTester/SwiftPaywall.swift
+++ b/IntegrationTests/PurchaseTester/PurchaseTester/SwiftPaywall.swift
@@ -7,7 +7,7 @@
//
import UIKit
-import Purchases
+import RevenueCat
import StoreKit
enum PayWallEdgeStyle : String {
diff --git a/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/ExtensionDelegate.swift b/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/ExtensionDelegate.swift
index 46fa6e33c4..257ed3400e 100644
--- a/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/ExtensionDelegate.swift
+++ b/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/ExtensionDelegate.swift
@@ -7,7 +7,7 @@
//
import WatchKit
-import Purchases
+import RevenueCat
class ExtensionDelegate: NSObject, WKExtensionDelegate {
diff --git a/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/InterfaceController.swift b/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/InterfaceController.swift
index bb7a428d5b..557af6ba5e 100644
--- a/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/InterfaceController.swift
+++ b/IntegrationTests/PurchaseTester/WatchPurchaseTester Extension/InterfaceController.swift
@@ -8,7 +8,7 @@
import WatchKit
import Foundation
-import Purchases
+import RevenueCat
class InterfaceController: WKInterfaceController {
private var offering : Offering?