Skip to content

Commit

Permalink
update storekit config file (#270)
Browse files Browse the repository at this point in the history
* fix typo in RCIdentityManager

* updated storeKit config file to reflect the new details in the dashboard

* added watch example without storekit configuration file
  • Loading branch information
aboedo authored Jul 9, 2020
1 parent 25fe419 commit e95aaf7
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Examples/SwiftExample/Configuration.storekit
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"adHocOffers" : [

],
"displayPrice" : "8.99",
"displayPrice" : "4.99",
"familyShareable" : true,
"groupNumber" : 1,
"internalID" : "E5E51B92",
Expand All @@ -47,7 +47,7 @@
"locale" : "en_US"
}
],
"productID" : "monthly_freetrial",
"productID" : "com.revenuecat.monthly_4.99.1_week_intro",
"recurringSubscriptionPeriod" : "P1M",
"referenceName" : "monthly free trial",
"subscriptionGroupID" : "7096FF06",
Expand All @@ -57,7 +57,7 @@
"adHocOffers" : [

],
"displayPrice" : "6.99",
"displayPrice" : "39.99",
"familyShareable" : true,
"groupNumber" : 1,
"internalID" : "F04B58DC",
Expand All @@ -73,7 +73,7 @@
"locale" : "en_US"
}
],
"productID" : "annual_freetrial",
"productID" : "com.revenuecat.annual_39.99.2_week_intro",
"recurringSubscriptionPeriod" : "P1Y",
"referenceName" : "annual free trial",
"subscriptionGroupID" : "7096FF06",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D54BF602437DED800FF4EE4"
BuildableName = "WatchExample.app"
BlueprintName = "WatchExample"
ReferencedContainer = "container:SwiftExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3493335C21E6935F007AAAB9"
BuildableName = "SwiftExample.app"
BlueprintName = "SwiftExample"
ReferencedContainer = "container:SwiftExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</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"
notificationPayloadFile = "WatchExample Extension/PushNotificationPayload.apns">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D54BF602437DED800FF4EE4"
BuildableName = "WatchExample.app"
BlueprintName = "WatchExample"
ReferencedContainer = "container:SwiftExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D54BF602437DED800FF4EE4"
BuildableName = "WatchExample.app"
BlueprintName = "WatchExample"
ReferencedContainer = "container:SwiftExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion Purchases/Purchasing/RCIdentityManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ - (void)createAlias:(NSString *)alias withCompletionBlock:(void (^)(NSError *_Nu
completion(RCPurchasesErrorUtils.missingAppUserIDError);
return;
}
RCDebugLog(@"Creating an alias to %@ from %@", currentAppUserID, alias);
RCDebugLog(@"Creating an alias from %@ to %@", currentAppUserID, alias);
[self.backend createAliasForAppUserID:currentAppUserID withNewAppUserID:alias completion:^(NSError *_Nullable error) {
if (error == nil) {
RCDebugLog(@"Alias created");
Expand Down

0 comments on commit e95aaf7

Please sign in to comment.