Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions customerio-reactnative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ Pod::Spec.new do |s|
s.header_dir = "customerio_reactnative"
s.source_files = "ios/wrappers/**/*.{h,m,mm,swift}"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# React Native's helper for module dependencies, available in every supported version (0.77+).
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
if respond_to?(:install_modules_dependencies, true)
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
install_modules_dependencies(s)

# Syntax of native iOS pods allows for automatically upgrading to the latest major version of the iOS SDK.
# Reference: https://guides.cocoapods.org/syntax/podfile.html#pod
Expand Down
4 changes: 2 additions & 2 deletions ios/wrappers/inbox/ReactNotificationInboxView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import UIKit
/// React Native wrapper hosting the SwiftUI `NotificationInboxView` (the Jist-rendered message
/// list) inside a `UIHostingController`. No events; sizing is driven by the JS `style` prop.
/// Message actions are handled by the existing global InboxEventListener.
/// No `@available` annotation, matching `ReactInlineMessageView`: the native list view is iOS 13+,
/// so the pod's own floor (`min_ios_version_supported`) governs.
/// No `@available` annotation, matching `ReactInlineMessageView`: the native list view needs nothing
/// newer than the pod's own floor (`min_ios_version_supported`), so that floor governs.
@objc(ReactNotificationInboxView)
class ReactNotificationInboxView: NSObject {
private weak var containerView: UIView?
Expand Down
Loading