diff --git a/android/src/main/res/values/strings.xml b/android/src/main/res/values/strings.xml index 0eafe6f..99059e9 100644 --- a/android/src/main/res/values/strings.xml +++ b/android/src/main/res/values/strings.xml @@ -1,5 +1,5 @@ React Native - 5.5.1 + 5.5.2 diff --git a/apptentive-react-native.podspec b/apptentive-react-native.podspec index 21cb9eb..a955a28 100644 --- a/apptentive-react-native.podspec +++ b/apptentive-react-native.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "apptentive-react-native" - s.version = "5.5.1" + s.version = "5.5.2" s.summary = "Apptentive SDK module for React Native" s.description = <<-DESC diff --git a/ios/RNApptentiveModule.m b/ios/RNApptentiveModule.m index 46ecdc2..9bed76b 100644 --- a/ios/RNApptentiveModule.m +++ b/ios/RNApptentiveModule.m @@ -52,7 +52,7 @@ - (dispatch_queue_t)methodQueue if (configuration) { configuration.appID = configurationDictionary[@"appleID"]; configuration.distributionName = @"React Native"; - configuration.distributionVersion = @"5.5.1"; + configuration.distributionVersion = @"5.5.2"; [Apptentive registerWithConfiguration:configuration]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(messageCenterUnreadCountChangedNotification:) name:ApptentiveMessageCenterUnreadCountChangedNotification object:nil]; @@ -156,6 +156,8 @@ - (dispatch_queue_t)methodQueue } Apptentive.shared.personName = personName; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -186,6 +188,8 @@ - (dispatch_queue_t)methodQueue } Apptentive.shared.personEmailAddress = personEmail; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -210,6 +214,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomPersonDataString:value withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -234,6 +240,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomPersonDataNumber:value withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -258,6 +266,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomPersonDataBool:value.boolValue withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -276,6 +286,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared removeCustomPersonDataWithKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -300,6 +312,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomDeviceDataString:value withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -324,6 +338,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomDeviceDataNumber:value withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -348,6 +364,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared addCustomDeviceDataBool:value.boolValue withKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD( @@ -366,6 +384,8 @@ - (dispatch_queue_t)methodQueue } [Apptentive.shared removeCustomDeviceDataWithKey:key]; + + resolver(nil); } RCT_EXPORT_METHOD(