Skip to content

Commit a45dd44

Browse files
committed
chore: update minimum support version to iOS 14 (RMCCX-7398)
1 parent 26780f7 commit a45dd44

File tree

17 files changed

+34
-34
lines changed

17 files changed

+34
-34
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let package = Package(
77
name: "RInAppMessaging",
88
defaultLocalization: "en",
99
platforms: [
10-
.iOS(.v12)
10+
.iOS(.v14)
1111
],
1212
products: [
1313
.library(

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
In-App Messaging (IAM) module allows app developers to easily configure and display notifications within their app.
88

9-
This module supports iOS 12.0 and above. It has been tested with iOS 12.5 and above.
9+
This module supports iOS 14.0 and above. It has been tested with iOS 14 and above.
1010

1111
### This page covers:
1212
* [Requirements](#requirements)

RInAppMessaging.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Pod::Spec.new do |s|
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.authors = 'Rakuten Ecosystem Mobile'
88
s.source = { :git => "https://github.com/rakutentech/ios-inappmessaging.git", :tag => s.version.to_s }
9-
s.ios.deployment_target = '12.0'
9+
s.ios.deployment_target = '14.0'
1010
s.swift_versions = ['5.7.1']
1111
s.resources = ['Sources/RInAppMessaging/Resources/PrivacyInfo.xcprivacy']
1212
s.dependency 'RSDKUtils', '~> 4.0'

RInAppMessaging.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@
10621062
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
10631063
GCC_WARN_UNUSED_FUNCTION = YES;
10641064
GCC_WARN_UNUSED_VARIABLE = YES;
1065-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1065+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
10661066
MTL_ENABLE_DEBUG_INFO = YES;
10671067
ONLY_ACTIVE_ARCH = YES;
10681068
SDKROOT = iphoneos;
@@ -1249,7 +1249,7 @@
12491249
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
12501250
GCC_WARN_UNUSED_FUNCTION = YES;
12511251
GCC_WARN_UNUSED_VARIABLE = YES;
1252-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1252+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
12531253
MTL_ENABLE_DEBUG_INFO = YES;
12541254
ONLY_ACTIVE_ARCH = YES;
12551255
SDKROOT = iphoneos;
@@ -1298,7 +1298,7 @@
12981298
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
12991299
GCC_WARN_UNUSED_FUNCTION = YES;
13001300
GCC_WARN_UNUSED_VARIABLE = YES;
1301-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1301+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
13021302
MTL_ENABLE_DEBUG_INFO = NO;
13031303
SDKROOT = iphoneos;
13041304
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";

Sample/AppStarterViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AppStarterViewController: UIViewController {
77

88
override func viewDidLoad() {
99
super.viewDidLoad()
10-
guard #available(iOS 13, *) else {
10+
guard #available(iOS 14, *) else {
1111
swiftUIButton.isEnabled = false
1212
return
1313
}
@@ -21,7 +21,7 @@ class AppStarterViewController: UIViewController {
2121
view.window?.rootViewController = uiKitTabBarController
2222
}
2323

24-
@available(iOS 13.0, *)
24+
@available(iOS 14.0, *)
2525
@IBAction func swiftUiDidTap(_ sender: Any) {
2626
let swiftUITabBarController = UIHostingController(rootView: TabBarView())
2727
view.window?.rootViewController = swiftUITabBarController

Sample/Shared/Helpers/View+Extension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
#if canImport(UIKit)
4-
@available(iOS 13.0, *)
4+
@available(iOS 14.0, *)
55
extension View {
66
func hideKeyboard() {
77
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)

Sample/SwiftUI/CustomEventView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22
import RInAppMessaging
33

4-
@available(iOS 13.0, *)
4+
@available(iOS 14.0, *)
55
struct CustomEventView: View {
66

77
@State private var isAlertPresented = false
@@ -108,7 +108,7 @@ struct CustomEventView: View {
108108
}
109109
}
110110

111-
@available(iOS 13.0, *)
111+
@available(iOS 14.0, *)
112112
struct CustomEventView_Previews: PreviewProvider {
113113
static var previews: some View {
114114
CustomEventView()

Sample/SwiftUI/MainView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22
@testable import RInAppMessaging
33

4-
@available(iOS 13.0, *)
4+
@available(iOS 14.0, *)
55
struct MainView: View {
66

77
@State private var isErrorAlertPresented = false
@@ -77,7 +77,7 @@ struct MainView: View {
7777
}
7878
}
7979

80-
@available(iOS 13.0, *)
80+
@available(iOS 14.0, *)
8181
struct MainView_Previews: PreviewProvider {
8282
static var previews: some View {
8383
MainView()

Sample/SwiftUI/SecondView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22
import RInAppMessaging
33

4-
@available(iOS 13.0, *)
4+
@available(iOS 14.0, *)
55
struct SecondView: View {
66

77
@Environment(\.presentationMode) var presentationMode
@@ -42,7 +42,7 @@ struct SecondView: View {
4242
}
4343
}
4444

45-
@available(iOS 13.0, *)
45+
@available(iOS 14.0, *)
4646
struct SecondView_Previews: PreviewProvider {
4747
static var previews: some View {
4848
SecondView()

Sample/SwiftUI/TabBarView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SwiftUI
22

3-
@available(iOS 13.0, *)
3+
@available(iOS 14.0, *)
44
struct TabBarView: View {
55
var body: some View {
66
VStack {
@@ -30,14 +30,14 @@ struct TabBarView: View {
3030
}
3131
}
3232

33-
@available(iOS 13.0, *)
33+
@available(iOS 14.0, *)
3434
struct TabView_Previews: PreviewProvider {
3535
static var previews: some View {
3636
TabBarView()
3737
}
3838
}
3939

40-
@available(iOS 13.0, *)
40+
@available(iOS 14.0, *)
4141
extension View {
4242
func canHaveTooltipIfAvailable(identifier: String) -> some View {
4343
if #available(iOS 15.0, *) {

0 commit comments

Comments
 (0)