Skip to content

Commit ceec15f

Browse files
sanyamjain65softvar
authored andcommitted
feat(sdk): add support for pushing custom dimension
1 parent 6556ee0 commit ceec15f

12 files changed

Lines changed: 385 additions & 8 deletions

android/.classpath

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
4+
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
5+
<classpathentry kind="output" path="bin/default"/>
6+
</classpath>

android/.project

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>vwo-react-native</name>
4+
<comment>Project android created by Buildship.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
22+
</natures>
23+
<filteredResources>
24+
<filter>
25+
<id>0</id>
26+
<name></name>
27+
<type>30</type>
28+
<matcher>
29+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
30+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31+
</matcher>
32+
</filter>
33+
</filteredResources>
34+
</projectDescription>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
5+
connection.project.dir=../../Testing/android
6+
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=/Applications/Android Studio.app/Contents/jre/Contents/Home
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=true
12+
show.console.view=true
13+
show.executions.view=true

android/build.gradle

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
buildscript {
22
repositories {
33
jcenter()
4+
maven {
5+
url 'https://maven.google.com/'
6+
name 'Google'
7+
}
48
}
59
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.2.3'
10+
classpath 'com.android.tools.build:gradle:7.0.0'
711

812
// NOTE: Do not place your application dependencies here; they belong
913
// in the individual module build.gradle files
@@ -13,12 +17,12 @@ buildscript {
1317
apply plugin: 'com.android.library'
1418

1519
android {
16-
compileSdkVersion 23
17-
buildToolsVersion "23.0.1"
20+
compileSdkVersion 28
21+
buildToolsVersion "28.0.1"
1822

1923
defaultConfig {
2024
minSdkVersion 16
21-
targetSdkVersion 22
25+
targetSdkVersion 31
2226
versionCode 1
2327
versionName "1.0"
2428
}
@@ -29,17 +33,22 @@ android {
2933

3034
repositories {
3135
mavenCentral()
36+
maven {
37+
url 'https://maven.google.com/'
38+
name 'Google'
39+
}
3240

3341
}
3442

3543
dependencies {
36-
compile 'com.facebook.react:react-native:+'
44+
implementation'com.facebook.react:react-native:0.20.1'
3745

3846
// VWO Dependencies
39-
compile 'com.vwo:hybrid:2.4.2@aar'
40-
compile ('io.socket:socket.io-client:1.0.0') {
47+
implementation 'com.vwo:hybrid:2.6.1@aar'
48+
implementation ('io.socket:socket.io-client:1.0.0') {
4149
// excluding org.json which is provided by Android
4250
exclude group: 'org.json', module: 'json'
4351
}
52+
implementation 'androidx.annotation:annotation:1.2.0'
4453
}
4554

android/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
android.enableJetifier=true
2+
android.useAndroidX=true
57.8 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Aug 31 14:16:09 IST 2021
2+
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
4+
distributionPath=wrapper/dists
5+
zipStorePath=wrapper/dists
6+
zipStoreBase=GRADLE_USER_HOME

android/gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)