Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release version 7 #182

Merged
merged 1 commit into from
Apr 5, 2024
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ See the [example app](https://github.com/intercom/intercom-react-native/blob/mai

### IOS

Intercom for iOS requires a **minimum iOS version of 15.**


Comment on lines +285 to +287

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you let me know why you did this? I'm receiving an error because of this :(

⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: CocoaPods could not find compatible versions for pod "intercom-react-native":
  In Podfile:
    intercom-react-native (from `../node_modules/@intercom/intercom-react-native`)

Specs satisfying the `intercom-react-native (from `../node_modules/@intercom/intercom-react-native`)` dependency were found, but they required a higher minimum deployment target.

pod install --repo-update --ansi exited with non-zero code: 1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vladimiremi
If you want to use the latest versions of Intercom's React Native plugin, you'll need to make sure that your app specifies iOS 15 as a minimum deployment version.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

```sh
cd ios
pod install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = IntercomReactNativeExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -485,7 +485,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = IntercomReactNativeExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native/scripts/react_native_pods'

platform :ios, '13.0'
platform :ios, '15.0'

target 'IntercomReactNativeExample' do
config = use_native_modules!
Expand All @@ -28,7 +28,7 @@ target 'IntercomReactNativeExample' do
installer.aggregate_targets.each do |aggregate_target|
aggregate_target.user_project.native_targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
end
end
Expand Down
14 changes: 7 additions & 7 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- Intercom (16.5.9)
- intercom-react-native (6.6.0):
- Intercom (~> 16.5.9)
- Intercom (17.0.0)
- intercom-react-native (7.0.0):
- Intercom (~> 17.0.0)
- React-Core
- libevent (2.1.12)
- OpenSSL-Universal (1.1.1100)
Expand Down Expand Up @@ -533,8 +533,8 @@ SPEC CHECKSUMS:
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
Intercom: d9c81b3e45e6ecd9b2db2dc188d0521a40393f56
intercom-react-native: 4f1166b40dd470211521a55893a4957614cccfd5
Intercom: 558a47a197e619a9f16411e133bc2c57a27e6fbb
intercom-react-native: d599994cb9309a146af32910cc3ff1abf968a837
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
Expand Down Expand Up @@ -569,6 +569,6 @@ SPEC CHECKSUMS:
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: a7cafffdaddc0dfe4e20cc0d2b857d47f9bcf58b
PODFILE CHECKSUM: 5b73a3a6016c3b2a7e9c6110204bbbc9a99a9f81

COCOAPODS: 1.12.1
COCOAPODS: 1.15.2
4 changes: 2 additions & 2 deletions intercom-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Pod::Spec.new do |s|
s.license = package["license"]
s.authors = package["author"]

s.platforms = { :ios => "13.0" }
s.platforms = { :ios => "15.0" }
s.source = { :git => "https://github.com/intercom/intercom-react-native.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm}"
s.resource_bundles = { 'IntercomFramework' => ['ios/assets/*'] }

s.dependency "React-Core"
s.dependency "Intercom", '~> 16.5.9'
s.dependency "Intercom", '~> 17.0.0'
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@intercom/intercom-react-native",
"version": "6.8.1",
"version": "7.0.0",
"description": "React Native wrapper to bridge our iOS and Android SDK",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down