Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clevertap-cordova

Package Overview
Dependencies
Maintainers
7
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clevertap-cordova - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

.idea/.name

9

CHANGELOG.md
Change Log
==========
Version 2.5.0 *(May 18, 2022)*
Version 2.5.1 *(June 7, 2022)*
-------------------------------------------
- Fixes a bug where push notifications were not being rendered in the foreground and notification clicked events were fired automatically.
- Supports [CleverTap iOS SDK v4.0.1](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/4.0.1)
- Supports [CleverTap Android SDK v4.4.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/core-v4.4.0) .
- Support for Android 12.
- Support for [Android Push Templates](https://github.com/CleverTap/clevertap-cordova/blob/master/docs/Troubleshooting-Guide.md#supporting-clevertap-push-templates) .
- Fixes an iOS bug where push notifications were not being rendered in the foreground and notification clicked events were fired automatically.
- Supports [CleverTap iOS SDK v4.0.1](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/4.0.1).

@@ -9,0 +12,0 @@ Version 2.4.0 *(January 31, 2022)*

@@ -52,12 +52,12 @@ # 👩‍💻 Android Integration

implementation "com.google.firebase:firebase-core:+"
implementation "com.google.firebase:firebase-messaging:20.2.4"
implementation "com.google.firebase:firebase-messaging:22.0.0"
implementation 'androidx.core:core:1.3.0'
implementation 'androidx.fragment:fragment:1.1.0'
implementation "com.android.installreferrer:installreferrer:2.1" //Mandatory for v2.1.8 and above
implementation 'androidx.fragment:fragment:1.3.6'
implementation "com.android.installreferrer:installreferrer:2.2" //Mandatory for v2.1.8 and above
//MANDATORY for App Inbox
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.viewpager:viewpager:1.0.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'
//Optional ExoPlayer Libraries for Audio/Video Inbox Messages. Audio/Video messages will be dropped without these dependencies

@@ -78,2 +78,10 @@ implementation 'com.google.android.exoplayer:exoplayer:2.11.5'

+ **Supporting push notifications from FCM:**
+ Add the following Preference in `config.xml` file : `<preference name="GradlePluginGoogleServicesEnabled" value="true" />`
+ Register your app with a firebase project and put `google-services.json` inside `platforms/android/app` folder
Also ensure that your app supports `cordova-android@9.0.0`

@@ -80,0 +88,0 @@

@@ -29,2 +29,13 @@ ## Troubleshooting Guide for common integration issues in Codova plugin

## Supporting [Clevertap Push Templates](https://developer.clevertap.com/docs/push-templates-android)
To support push templates for corodova android app:
1. add support for normal push notifications by [adding CleverTap SDK as well as google services plugin](Integrate-Android.md)
2. in `platforms/android/project.properties` file , add : `cordova.system.library.11=com.clevertap.android:push-templates:1.0.2` ( the number in `library.<number>` should be in sequence with other libraries)
3. rerun project (`cordova run android`)
4. ensure that push template dependency (`implementation "com.clevertap.android:push-templates:1.0.2"`) is getting added in your app's `build.gradle` file.
{
"name": "clevertap-cordova",
"version": "2.5.0",
"version": "2.5.1",
"description": "CleverTap Plugin for Cordova/PhoneGap",

@@ -5,0 +5,0 @@ "cordova": {

@@ -22,3 +22,3 @@ <p align="center">

- [CleverTap Android SDK version 4.2.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/core-v4.2.0)
- [CleverTap Android SDK version 4.4.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/core-v4.4.0)
- [CleverTap iOS SDK version 3.10.0](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/3.10.0)

@@ -25,0 +25,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc