Skip to content

Commit

Permalink
Merge pull request #157 from CleverTap/develop
Browse files Browse the repository at this point in the history
SDK-530: Release v0.5.1
  • Loading branch information
Aditi3 authored May 5, 2021
2 parents 53e627c + 77dedfd commit eb64f1f
Show file tree
Hide file tree
Showing 21 changed files with 1,448 additions and 2,581 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Change Log
==========

Version 0.5.1 *(5th May 2021)*
-------------------------------------------
- Update and Freeze [CleverTap React Native Podspec](/clevertap-react-native.podspec) to a specific version of a CleverTap iOS SDK
- Supports CleverTap iOS SDK v3.9.3
- Supports CleverTap Android SDK v4.1.1
- Removes Product Experiences (Dynamic Variables) related code
- Removed `pushGooglePlusPerson` and `profileSetGraphUser` API

Version 0.5.0 *(15th October 2020)*
-------------------------------------------
- Supports [CleverTap iOS SDK v3.9.1](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/3.9.1)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png" height="158"/>
<img src="https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png" width = "50%"/>
</p>

# CleverTap React Native SDK
Expand Down
537 changes: 236 additions & 301 deletions Starter/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Starter/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def enableHermes = project.ext.react.get("enableHermes", false);
dependencies {
implementation project(':clevertap-react-native')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.clevertap.android:clevertap-android-sdk:4.0.0'
implementation 'com.clevertap.android:clevertap-android-sdk:4.1.1'
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'com.google.android.gms:play-services-base:17.4.0'
implementation 'com.google.firebase:firebase-messaging:20.2.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public ReactNativeHost getReactNativeHost() {

@Override
public void onCreate() {
CleverTapAPI.setUIEditorConnectionEnabled(false);
ActivityLifecycleCallback.register(this);
ActivityLifecycleCallback.register(this);
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
}
Expand Down
4 changes: 1 addition & 3 deletions Starter/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ target 'Starter' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

pod 'CleverTap-iOS-SDK', '3.9.1'


target 'StarterTests' do
inherit! :complete
# Pods for testing
Expand Down
94 changes: 47 additions & 47 deletions Starter/ios/Starter.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

323 changes: 170 additions & 153 deletions Starter/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"clevertap-react-native": "^0.5.0",
"clevertap-react-native": "git+https://github.com/CleverTap/clevertap-react-native.git#develop",
"react": "16.9.0",
"react-native": "^0.63.3"
},
Expand Down
15 changes: 7 additions & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apply plugin: 'com.android.library'
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
Expand All @@ -16,14 +15,14 @@ buildscript {
}

android {
compileSdkVersion 29
buildToolsVersion '29.0.3'
compileSdkVersion 30
buildToolsVersion '30.0.3'

defaultConfig {
minSdkVersion 16
targetSdkVersion 29
versionCode 50
versionName "0.5.0"
targetSdkVersion 30
versionCode 51
versionName "0.5.1"
}
buildTypes {
release {
Expand All @@ -34,13 +33,13 @@ android {

dependencies {
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven { url "https://maven.google.com" }
maven { url "$rootDir/../node_modules/react-native/android" }
}

api 'com.clevertap.android:clevertap-android-sdk:4.0.0'
api 'com.clevertap.android:clevertap-android-sdk:4.1.1'
implementation 'com.android.installreferrer:installreferrer:2.1'
//compile 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.facebook.react:react-native:+'
Expand Down
Loading

0 comments on commit eb64f1f

Please sign in to comment.