-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
359 additions
and
37 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "PurchasesHybridCommonUI" | ||
s.version = "8.11.2" | ||
s.summary = "Common files for hybrid SDKs for RevenueCat UI" | ||
|
||
s.description = <<-DESC | ||
Save yourself the hastle of implementing a subscriptions backend. Use RevenueCat instead https://www.revenuecat.com/ | ||
DESC | ||
|
||
s.homepage = "https://www.revenuecat.com/" | ||
s.license = { :type => 'MIT' } | ||
s.author = { "RevenueCat, Inc." => "support@revenuecat.com" } | ||
s.source = { :git => "https://github.com/revenuecat/purchases-hybrid-common.git", :tag => s.version.to_s } | ||
s.documentation_url = "https://docs.revenuecat.com/" | ||
|
||
s.framework = 'StoreKit' | ||
s.framework = 'SwiftUI' | ||
|
||
s.dependency 'RevenueCat', '4.32.0' | ||
s.dependency 'RevenueCatUI', '4.32.0' | ||
s.swift_version = '5.7' | ||
|
||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
s.tvos.deployment_target = '11.0' | ||
|
||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } | ||
|
||
s.source_files = ['ios/PurchasesHybridCommon/PurchasesHybridCommonUI/**/*.{h,m,swift}'] | ||
|
||
s.public_header_files = [ | ||
'ios/PurchasesHybridCommon/PurchasesHybridCommonUI/*.h' | ||
] | ||
|
||
end |
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
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
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
250 changes: 224 additions & 26 deletions
250
ios/PurchasesHybridCommon/PurchasesHybridCommon.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ybridCommon/PurchasesHybridCommon.xcodeproj/xcshareddata/xcschemes/ObjCAPITester.xcscheme
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
2 changes: 1 addition & 1 deletion
2
...mon/PurchasesHybridCommon.xcodeproj/xcshareddata/xcschemes/PurchasesHybridCommon.xcscheme
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
2 changes: 1 addition & 1 deletion
2
...ridCommon.xcodeproj/xcshareddata/xcschemes/PurchasesHybridCommonIntegrationTests.xcscheme
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
66 changes: 66 additions & 0 deletions
66
...n/PurchasesHybridCommon.xcodeproj/xcshareddata/xcschemes/PurchasesHybridCommonUI.xcscheme
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1520" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "4F7974492B5EDDEF003085E7" | ||
BuildableName = "PurchasesHybridCommonUI.framework" | ||
BlueprintName = "PurchasesHybridCommonUI" | ||
ReferencedContainer = "container:PurchasesHybridCommon.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
shouldAutocreateTestPlan = "YES"> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "4F7974492B5EDDEF003085E7" | ||
BuildableName = "PurchasesHybridCommonUI.framework" | ||
BlueprintName = "PurchasesHybridCommonUI" | ||
ReferencedContainer = "container:PurchasesHybridCommon.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
2 changes: 1 addition & 1 deletion
2
.../PurchasesHybridCommon/PaywallProxy.swift → ...urchasesHybridCommonUI/PaywallProxy.swift
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
2 changes: 1 addition & 1 deletion
2
...PurchasesHybridCommon/PaywallResult.swift → ...rchasesHybridCommonUI/PaywallResult.swift
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
17 changes: 17 additions & 0 deletions
17
ios/PurchasesHybridCommon/PurchasesHybridCommonUI/PurchasesHybridCommonUI.h
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// PurchasesHybridCommonUI.h | ||
// PurchasesHybridCommonUI | ||
// | ||
// Created by NachoSoto on 1/22/24. | ||
// Copyright © 2024 RevenueCat. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for PurchasesHybridCommon. | ||
FOUNDATION_EXPORT double PurchasesHybridCommonVersionNumber; | ||
|
||
//! Project version string for PurchasesHybridCommon. | ||
FOUNDATION_EXPORT const unsigned char PurchasesHybridCommonVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <PurchasesHybridCommonUI/PublicHeader.h> |