Skip to content

Commit

Permalink
Update demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
takecian committed Jul 4, 2024
1 parent 44163ae commit 68f022a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Demo/Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 495G5CPHRQ;
INFOPLIST_FILE = Demo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.cocomoe.carp;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -537,6 +538,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 495G5CPHRQ;
INFOPLIST_FILE = Demo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.cocomoe.carp;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -553,6 +555,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
DEVELOPMENT_TEAM = XEV6645KTD;
INFOPLIST_FILE = DemoTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.takecian.DemoTests;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -569,6 +572,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
DEVELOPMENT_TEAM = XEV6645KTD;
INFOPLIST_FILE = DemoTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.takecian.DemoTests;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 3 additions & 1 deletion Demo/Demo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ class ViewController: UIViewController {
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
SwiftRater.incrementSignificantUsageCount()
// If you want to meet the condition for testing purpose, use this.
// SwiftRater.debugMode = true
SwiftRater.check(host: self)

// If want to navigate app review page, use `rateApp()`.
// If your want to show rating dialog manually, use `rateApp()`.
// SwiftRater.rateApp(host: self)
}

Expand Down
4 changes: 2 additions & 2 deletions Demo/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
platform :ios, '11.0'
platform :ios, '15.0'
use_frameworks!

target 'Demo' do
pod 'SwiftRater', :path => '../'
end
end

0 comments on commit 68f022a

Please sign in to comment.