From b4acc7c6a0877135bb3b02b7f9fc1393cc2dc2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Kovac?= Date: Fri, 15 Jan 2021 17:58:05 +0100 Subject: [PATCH 1/2] Switch from deprecated `login` function to `identify` --- ios/HelpscoutBeacon.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/HelpscoutBeacon.m b/ios/HelpscoutBeacon.m index 4cd9381..acc10ff 100644 --- a/ios/HelpscoutBeacon.m +++ b/ios/HelpscoutBeacon.m @@ -49,7 +49,7 @@ - (dispatch_queue_t)methodQueue // Store beaconUser locally beaconUser = user; - [HSBeacon login:user]; + [HSBeacon identify:user]; } RCT_EXPORT_METHOD(addAttributeWithKey:(NSString *)key valueParameter:(NSString *)value) From 8fcba131d631d38aafaade79351ff02917a530b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Kovac?= Date: Fri, 15 Jan 2021 17:59:45 +0100 Subject: [PATCH 2/2] Fix two podspec validation errors --- react-native-helpscout-beacon.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-native-helpscout-beacon.podspec b/react-native-helpscout-beacon.podspec index 7453d9a..797e48a 100644 --- a/react-native-helpscout-beacon.podspec +++ b/react-native-helpscout-beacon.podspec @@ -7,14 +7,14 @@ Pod::Spec.new do |s| s.version = package["version"] s.summary = package["description"] s.description = <<-DESC - react-native-helpscout-beacon + React Native module for the Help Scout Beacon SDK DESC s.homepage = "https://github.com/Driversnote-Dev/react-native-helpscout-beacon" s.license = "MIT" # s.license = { :type => "MIT", :file => "FILE_LICENSE" } s.authors = { "Driversnote.com" => "ja@driversnote.com" } s.platforms = { :ios => "9.0" } - s.source = { :git => "https://github.com/Driversnote-Dev/react-native-helpscout-beacon.git", :tag => "master" } + s.source = { :git => "https://github.com/Driversnote-Dev/react-native-helpscout-beacon.git", :tag => package["version"] } s.source_files = "ios/**/*.{h,m,swift}" s.requires_arc = true