From a0e42986b4bce11d4ba6949a0b1cdbd372a72c7b Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Tue, 13 Dec 2022 09:04:57 -0800 Subject: [PATCH] add segment analytics to android --- android/Omnivore/app/build.gradle | 2 ++ .../Omnivore/app/src/main/AndroidManifest.xml | 1 + .../main/java/app/omnivore/omnivore/AppModule.kt | 16 ++++++++++++++++ .../omnivore/omnivore/ui/home/HomeViewModel.kt | 5 ++++- android/Omnivore/secrets.xml | 1 + 5 files changed, 24 insertions(+), 1 deletion(-) diff --git a/android/Omnivore/app/build.gradle b/android/Omnivore/app/build.gradle index e4c881079..01fbb4b69 100644 --- a/android/Omnivore/app/build.gradle +++ b/android/Omnivore/app/build.gradle @@ -140,6 +140,8 @@ dependencies { implementation 'com.google.code.gson:gson:2.8.9' implementation 'com.pspdfkit:pspdfkit:8.4.1' + + implementation 'com.segment.analytics.kotlin:android:1.10.0' } apollo { diff --git a/android/Omnivore/app/src/main/AndroidManifest.xml b/android/Omnivore/app/src/main/AndroidManifest.xml index 0bbedccff..a39d804d3 100644 --- a/android/Omnivore/app/src/main/AndroidManifest.xml +++ b/android/Omnivore/app/src/main/AndroidManifest.xml @@ -4,6 +4,7 @@ package="app.omnivore.omnivore"> + = listOf() diff --git a/android/Omnivore/secrets.xml b/android/Omnivore/secrets.xml index 89a05bdea..a4729835e 100644 --- a/android/Omnivore/secrets.xml +++ b/android/Omnivore/secrets.xml @@ -1,4 +1,5 @@ unset + unset \ No newline at end of file