Skip to content

divyekant/Sample-Cordova-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample-Cordova-Project

This has Cordova Version - 8.0.0 Android Cordova SDK version - 8.0.0

CT - Android Cordova SDK - https://github.com/CleverTap/clevertap-cordova

Force use following dependencies:

configurations.all { resolutionStrategy { force 'com.google.firebase:firebase-messaging:15.0.2' force 'com.google.android.gms:play-services-base:16.1.0' } }

To use the above in build.gradle [Module:App], update Gradle SDK to a minimum of 5.1.1.

Following steps to update Gradle SDK:

  1. In /android/app/build.gradle find this part of the code.

task wrapper(type: Wrapper) { gradleVersion = '5.1.1' }

  1. In GradleBuilder.js find this part of the code. var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'https\://services.gradle.org/distributions/gradle-5.1.1-all.zip';

  2. In StudioBuilder.js find this part of the code.

var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'https\://services.gradle.org/distributions/gradle-5.1.1-all.zip';

If GradleBuilder.js/StudioBuilder.js not available change the same in /platforms/android/cordova/lib/builders/ProjectBuilder.js

Then build via CLI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •