diff --git a/CHANGELOG.md b/CHANGELOG.md index 795a8f7..1365298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ This document lets you know what has changed in the React Native module. For cha - [Android Changelog](https://github.com/apptentive/apptentive-android/blob/master/CHANGELOG.md) - [iOS Changelog](https://github.com/apptentive/apptentive-ios/blob/master/CHANGELOG.md) +# 2018-07-24 - v5.1.1 + +- Add podspec for projects integrating React via (deprecated) CocoaPod +- Apptentive Android SDK: 5.1.5 +- Apptentive iOS SDK: 5.1.2 + # 2018-05-14 - v5.1.0 - Apptentive Android SDK: 5.1.0 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..4af3ee3 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,24 @@ +Copyright (c) 2011-2014, Apptentive, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the Apptentive, Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL Apptentive, Inc. BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/android/build.gradle b/android/build.gradle index 3512d17..b831211 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -32,6 +32,6 @@ repositories { dependencies { compile 'com.facebook.react:react-native:+' - compile 'com.apptentive:apptentive-android:5.1.1' + compile 'com.apptentive:apptentive-android:5.1.5' } \ No newline at end of file diff --git a/android/src/main/res/values/strings.xml b/android/src/main/res/values/strings.xml index f7c4e09..07f9196 100644 --- a/android/src/main/res/values/strings.xml +++ b/android/src/main/res/values/strings.xml @@ -1,5 +1,5 @@ React Native - 5.1.0 + 5.1.1 diff --git a/apptentive-react-native.podspec b/apptentive-react-native.podspec new file mode 100644 index 0000000..9073310 --- /dev/null +++ b/apptentive-react-native.podspec @@ -0,0 +1,19 @@ +Pod::Spec.new do |s| + s.name = "apptentive-react-native" + s.version = "5.1.1" + s.summary = "Apptentive SDK module for React Native" + + s.description = <<-DESC + React Native module for the Apptentive iOS SDK. + DESC + + s.homepage = "https://github.com/apptentive/apptentive-react-native" + s.license = "BSD" + s.author = { "Apptentive, Inc." => "info@apptentive.com" } + s.platform = :ios + s.platform = :ios, "9.0" + s.source = { :git => "https://github.com/apptentive/apptentive-react-native.git", :tag => "v#{s.version}" } + s.source_files = "ios/*.{h,m}" + s.public_header_files = "ios/*.h" + s.dependency "React" +end diff --git a/ios/RNApptentiveModule.m b/ios/RNApptentiveModule.m index b38475d..0dd8a90 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.1.0"; + configuration.distributionVersion = @"5.1.1"; [Apptentive registerWithConfiguration:configuration]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(messageCenterUnreadCountChangedNotification:) name:ApptentiveMessageCenterUnreadCountChangedNotification object:nil]; diff --git a/package.json b/package.json index f317c10..b93482a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "apptentive-react-native", - "version": "5.1.0", + "version": "5.1.1", "description": "React Native Module for Apptentive SDK", "main": "js/index.js", "scripts": { diff --git a/sample/ios/Podfile b/sample/ios/Podfile index 5691795..d18ffa4 100644 --- a/sample/ios/Podfile +++ b/sample/ios/Podfile @@ -6,7 +6,7 @@ target 'sample' do use_frameworks! # Pods for sample - pod 'apptentive-ios', '5.1.0' + pod 'apptentive-ios', '5.1.2' target 'sampleTests' do inherit! :search_paths diff --git a/sample/ios/Podfile.lock b/sample/ios/Podfile.lock index f6e71fa..0b9389f 100644 --- a/sample/ios/Podfile.lock +++ b/sample/ios/Podfile.lock @@ -1,12 +1,12 @@ PODS: - - apptentive-ios (5.1.0) + - apptentive-ios (5.1.2) DEPENDENCIES: - - apptentive-ios (= 5.1.0) + - apptentive-ios (= 5.1.2) SPEC CHECKSUMS: - apptentive-ios: 8076dff6e16b3f223fea858663806ac2bc63d004 + apptentive-ios: b8f7f93cdec61e834f18f733fbb742094369445f -PODFILE CHECKSUM: 3b881b3c9fae5fa80174617896eaa194c8b580ac +PODFILE CHECKSUM: 027aa9c1233cd24527d576c0cafa829c237843c0 COCOAPODS: 1.4.0