Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
[submodule "kits/adobemedia-kit"]
path = kits/adobemedia-kit
url = git@github.com:mparticle-integrations/mparticle-android-integration-adobe-media.git
[submodule "kits/apptimize-kit"]
path = kits/apptimize-kit
url = git@github.com:mparticle-integrations/mparticle-android-integration-apptimize.git
[submodule "kits/apteligent-kit"]
path = kits/apteligent-kit
url = git@github.com:mParticle-integrations/mparticle-android-integration-apteligent.git
Expand Down
1 change: 1 addition & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ lint:
- kits/adjust/adjust-5/**
- kits/apptentive/apptentive-6/**
- kits/appsflyer/appsflyer-6/**
- kits/apptimize/apptimize-3/**
- kits/braze/braze-38/**
- kits/clevertap/clevertap-7/**
- kits/ga/ga-23/**
Expand Down
1 change: 0 additions & 1 deletion kits/apptimize-kit
Submodule apptimize-kit deleted from 8de020
32 changes: 32 additions & 0 deletions kits/apptimize/apptimize-3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Apptimize Kit Integration

This repository contains the [Apptimize](https://www.apptimize.com/) integration for the [mParticle Android SDK](https://github.com/mParticle/mparticle-android-sdk).

### Adding the integration

1. The Apptimize Kit requires that you add Apptimize's Maven server to your buildscript:

```groovy
repositories {
maven {
url 'https://maven.apptimize.com/artifactory/repo'
}
}
```
2. Add the kit dependency to your app's build.gradle:

```groovy
dependencies {
implementation 'com.mparticle:android-apptimize-kit:5+'
}
```
3. Follow the mParticle Android SDK [quick-start](https://github.com/mParticle/mparticle-android-sdk), then rebuild and launch your app, and verify that you see `"Apptimize detected"` in the output of `adb logcat`.
4. Reference mParticle's integration docs below to enable the integration.

### Documentation

[Apptimize integration](https://docs.mparticle.com/integrations/apptimize)

### License

[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
66 changes: 66 additions & 0 deletions kits/apptimize/apptimize-3/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
buildscript {
ext.kotlin_version = '2.0.20'
if (!project.hasProperty('version') || project.version.equals('unspecified')) {
project.version = '+'
}

repositories {
google()
mavenLocal()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:8.1.4'
classpath 'com.mparticle:android-kit-plugin:' + project.version
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

plugins {
id "org.sonarqube" version "3.5.0.2730"
id "org.jlleitschuh.gradle.ktlint" version "13.0.0"
}

sonarqube {
properties {
property "sonar.projectKey", "mparticle-android-integration-apptimize"
property "sonar.organization", "mparticle"
property "sonar.host.url", "https://sonarcloud.io"
}
}

apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: 'kotlin-android'
apply plugin: 'com.mparticle.kit'

android {
namespace 'com.mparticle.kits.apptimize'
buildFeatures {
buildConfig = true
}
defaultConfig {
minSdkVersion 17
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
testOptions {
unitTests.all {
jvmArgs += ['--add-opens', 'java.base/java.lang=ALL-UNNAMED']
}
}
}

repositories {
maven { url 'https://maven.apptimize.com/artifactory/repo' }
mavenCentral()
}

dependencies {
api 'com.apptimize:apptimize-android:3.10.18@aar'
}
18 changes: 18 additions & 0 deletions kits/apptimize/apptimize-3/consumer-proguard.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-keep class com.apptimize.** { *; }
-keepclassmembers class * extends com.apptimize.ApptimizeTest {
<methods>;
}

-keep class android.support.v4.view.ViewPager
-keepclassmembers class android.support.v4.view.ViewPager$LayoutParams { *; }
-keep class android.support.v4.app.Fragment { *; }

-keep class com.mixpanel.android.mpmetrics.MixpanelAPI { *; }
-keep class com.google.android.gms.analytics.Tracker { *; }
-keep class com.google.analytics.tracking.android.Tracker { *; }
-keep class com.flurry.android.FlurryAgent { *; }
-keep class com.omniture.AppMeasurementBase { *; }
-keep class com.adobe.adms.measurement.ADMS_Measurement { *; }
-keep class com.adobe.mobile.Analytics { *; }
-keep class com.adobe.mobile.Config { *; }
-keep class com.localytics.android.Localytics { *; }
4 changes: 4 additions & 0 deletions kits/apptimize/apptimize-3/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
android.enableJetifier=true
android.useAndroidX=true
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx2560m
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions kits/apptimize/apptimize-3/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading