Skip to content

Commit

Permalink
refactor: 6.0 mparticle support (#62)
Browse files Browse the repository at this point in the history
* saving kit changes

* Replaced Deprecated code

* cleanup

* enableTypeDetection false bydefault

* use VERSION_NAME

* PR updates

* remove temporary code, fix for loglevel

* Cleanup & logtags

* Added default values for configuration

* Replaced Apptentive logger with mParticle logger to support tests

* cleanup

* reorder loglevel

* make registerApptentiveActivityContext as static for Java interoperable

* Updated Readme

* Update README.md

Reverting back to 5+ as it indicates the mParticle kit dependency not the native SDK dependency.

* Added null check to key

* added back mavenLocal to build.gradle

---------

Co-authored-by: Poornima Nagarajan <poornimanagarajan@pnaraj541.local>
  • Loading branch information
PoornimaApptentive and Poornima Nagarajan authored Apr 27, 2023
1 parent db61d10 commit f13484a
Show file tree
Hide file tree
Showing 7 changed files with 402 additions and 242 deletions.
14 changes: 10 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ apply plugin: 'kotlin-android'
android {
namespace 'com.mparticle.kits.apptentive'
defaultConfig {
minSdkVersion 16
resValue "string", "apptentive_distribution", "mParticle"
resValue "string", "apptentive_distribution_version", project.version
minSdkVersion 21
}
}

allprojects {
repositories {
google()
mavenCentral()
}
}

dependencies {
api 'com.apptentive:apptentive-android:5.8.4'
implementation 'com.apptentive:apptentive-kit-android:6.0.3'
testImplementation 'io.mockk:mockk:1.13.3'
}
Loading

0 comments on commit f13484a

Please sign in to comment.