From 4851ba264e2779c9fb643fd8b68f92779ddc63f8 Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Fri, 30 Dec 2022 13:30:12 -0600 Subject: [PATCH 01/17] fix yaml front matter block --- doc/ref/Source.md | 9 +++++++-- doc/ref/TikiSdk.md | 9 ++++++--- doc/ref/TikiSdkConsent.md | 9 ++++++--- doc/ref/TikiSdkDataTypeEnum.md | 7 +++++-- doc/ref/TikiSdkDestination.md | 9 ++++++--- 5 files changed, 30 insertions(+), 13 deletions(-) diff --git a/doc/ref/Source.md b/doc/ref/Source.md index 9a80ce2..aedf7f5 100644 --- a/doc/ref/Source.md +++ b/doc/ref/Source.md @@ -1,4 +1,9 @@ --- -title: Source Code category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-source hidden: false -order: 5 type: link link_url: https://github.com/tiki/tiki-sdk-android +title: Source Code +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-source +hidden: false +order: 5 +type: link +link_url: https://github.com/tiki/tiki-sdk-android --- diff --git a/doc/ref/TikiSdk.md b/doc/ref/TikiSdk.md index dd30d1a..31a0507 100644 --- a/doc/ref/TikiSdk.md +++ b/doc/ref/TikiSdk.md @@ -1,7 +1,10 @@ --- -title: TikiSdk excerpt: The primary object for interacting with the TIKI infrastructure. -Use `TikiSdk` to assign ownership, modify, and apply consent. category: 6386a02f5b7bf00510590f34 -slug: tiki-sdk-android-tiki-sdk hidden: false order: 1 +title: TikiSdk +excerpt: The primary object for interacting with the TIKI infrastructure. Use `TikiSdk` to assign ownership, modify, and apply consent. +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-tiki-sdk +hidden: false +order: 1 --- ## Constructors diff --git a/doc/ref/TikiSdkConsent.md b/doc/ref/TikiSdkConsent.md index 4ddaa9a..2aa3261 100644 --- a/doc/ref/TikiSdkConsent.md +++ b/doc/ref/TikiSdkConsent.md @@ -1,7 +1,10 @@ --- -title: TikiSdkConsent excerpt: A Consent Object. Representative of the NFT created on-chain. -Requires a corresponding Data Ownership NFT (see [TikiSdk](tiki-sdk-android-tiki-sdk)). category: -6386a02f5b7bf00510590f34 slug: tiki-sdk-android-tiki-sdk-consent hidden: false order: 3 +title: TikiSdkConsent +excerpt: A Consent Object. Representative of the NFT created on-chain. Requires a corresponding Data Ownership NFT (see [TikiSdk](tiki-sdk-android-tiki-sdk)). +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-tiki-sdk-consent +hidden: false +order: 3 --- ## Constructors diff --git a/doc/ref/TikiSdkDataTypeEnum.md b/doc/ref/TikiSdkDataTypeEnum.md index 6f12d43..466ffb6 100644 --- a/doc/ref/TikiSdkDataTypeEnum.md +++ b/doc/ref/TikiSdkDataTypeEnum.md @@ -1,6 +1,9 @@ --- -title: TikiSdkDataTypeEnum excerpt: An enumeration of the supported data aggregation types. -category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-tiki-sdk-data-type-enum hidden: false +title: TikiSdkDataTypeEnum +excerpt: An enumeration of the supported data aggregation types. +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-tiki-sdk-data-type-enum +hidden: false order: 4 --- diff --git a/doc/ref/TikiSdkDestination.md b/doc/ref/TikiSdkDestination.md index e880838..3b8733b 100644 --- a/doc/ref/TikiSdkDestination.md +++ b/doc/ref/TikiSdkDestination.md @@ -1,7 +1,10 @@ --- -title: TikiSdkDestination excerpt: Defines destinations and use cases (optional) allowed or -disallowed. Serializable for inclusion in transactions. category: 6386a02f5b7bf00510590f34 slug: -tiki-sdk-android-tiki-sdk-destination hidden: false order: 2 +title: TikiSdkDestination +excerpt: Defines destinations and use cases (optional) allowed or disallowed. Serializable for inclusion in transactions. +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-tiki-sdk-destination +hidden: false +order: 2 --- ## Constructors From 9a6d3cdff0cdacd73f76b72823318b15468066bb Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Fri, 30 Dec 2022 16:13:20 -0600 Subject: [PATCH 02/17] updated docs, runner naming, and copyrights fixes #45 --- app/src/main/AndroidManifest.xml | 7 +- .../com/mytiki/tiki_sdk_android/TikiSdk.kt | 5 + .../mytiki/tiki_sdk_android/TikiSdkConsent.kt | 5 + .../tiki_sdk_android/TikiSdkDataTypeEnum.kt | 6 +- .../tiki_sdk_android/TikiSdkDestination.kt | 5 + .../tiki_sdk_android/TikiSdkOwnership.kt | 5 + .../tiki_platform_channel/MethodEnum.kt | 5 + .../TikiPlatformChannel.kt | 1 + .../tiki_platform_channel/req/ReqBuild.kt | 1 + .../req/ReqConsentApply.kt | 1 + .../req/ReqConsentGet.kt | 1 + .../req/ReqConsentModify.kt | 1 + .../req/ReqOwnershipAssign.kt | 1 + .../req/ReqOwnershipGet.kt | 1 + .../tiki_platform_channel/rsp/RspBuild.kt | 1 + .../rsp/RspConsentApply.kt | 1 + .../rsp/RspConsentGet.kt | 1 + .../tiki_platform_channel/rsp/RspError.kt | 1 + .../tiki_platform_channel/rsp/RspOwnership.kt | 1 + .../util/TimeStampToDateAdapter.kt | 5 + .../tiki_sdk_android/TikiSdkConsentTest.kt | 5 + .../TikiSdkDataTypeEnumTest.kt | 5 + .../TikiSdkDestinationTest.kt | 5 + .../tiki_sdk_android/TikiSdkOwnershipTest.kt | 5 + .../tiki_platform_channel/rsp/RspBuildTest.kt | 2 +- doc/guide/GettingStarted.md | 31 +++- doc/ref/KotlinDocs.md | 2 +- doc/ref/Source.md | 2 +- doc/ref/TikiSdk.md | 80 +++++---- doc/ref/TikiSdkConsent.md | 15 +- doc/ref/TikiSdkDataTypeEnum.md | 2 +- doc/ref/TikiSdkDestination.md | 2 +- doc/ref/TikiSdkOwnership.md | 54 ++++++ .../integration_tests/TikiSdkTest.kt | 10 +- .../src/main/AndroidManifest.xml | 8 +- .../integration_tests/MainActivity.kt | 28 --- .../integration_tests/Runner.kt | 16 ++ .../drawable-v24/ic_launcher_foreground.xml | 30 ---- .../res/drawable/ic_launcher_background.xml | 170 ------------------ .../src/main/res/layout/activity_main.xml | 19 -- .../src/main/res/layout/activity_runner.xml | 13 ++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 - .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 - .../src/main/res/mipmap-hdpi/ic_launcher.webp | Bin 1404 -> 0 bytes .../res/mipmap-hdpi/ic_launcher_round.webp | Bin 2898 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.webp | Bin 982 -> 0 bytes .../res/mipmap-mdpi/ic_launcher_round.webp | Bin 1772 -> 0 bytes .../main/res/mipmap-xhdpi/ic_launcher.webp | Bin 1900 -> 0 bytes .../res/mipmap-xhdpi/ic_launcher_round.webp | Bin 3918 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.webp | Bin 2884 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher_round.webp | Bin 5914 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin 3844 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 7778 -> 0 bytes .../src/main/res/values/colors.xml | 5 + .../src/main/res/values/strings.xml | 7 +- .../src/main/res/values/themes.xml | 5 + .../src/main/res/xml/backup_rules.xml | 13 -- .../main/res/xml/data_extraction_rules.xml | 19 -- 58 files changed, 264 insertions(+), 354 deletions(-) create mode 100644 doc/ref/TikiSdkOwnership.md delete mode 100644 integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/MainActivity.kt create mode 100644 integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/Runner.kt delete mode 100644 integration_tests/integration_tests/src/main/res/drawable-v24/ic_launcher_foreground.xml delete mode 100644 integration_tests/integration_tests/src/main/res/drawable/ic_launcher_background.xml delete mode 100644 integration_tests/integration_tests/src/main/res/layout/activity_main.xml create mode 100644 integration_tests/integration_tests/src/main/res/layout/activity_runner.xml delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-anydpi-v26/ic_launcher.xml delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-hdpi/ic_launcher.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-hdpi/ic_launcher_round.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-mdpi/ic_launcher.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-mdpi/ic_launcher_round.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xhdpi/ic_launcher.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xhdpi/ic_launcher_round.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xxhdpi/ic_launcher.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xxxhdpi/ic_launcher.webp delete mode 100644 integration_tests/integration_tests/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp delete mode 100644 integration_tests/integration_tests/src/main/res/xml/backup_rules.xml delete mode 100644 integration_tests/integration_tests/src/main/res/xml/data_extraction_rules.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ba59963..4248388 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,7 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt index bd2ee81..c6837fe 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdk.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import android.content.Context diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkConsent.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkConsent.kt index 434b09d..4ef2d24 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkConsent.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkConsent.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnum.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnum.kt index 2a2442c..1f0f308 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnum.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnum.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonClass @@ -10,5 +15,4 @@ enum class TikiSdkDataTypeEnum { data_point, data_stream, data_pool; - } \ No newline at end of file diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDestination.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDestination.kt index ec3114c..f63e19e 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDestination.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkDestination.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkOwnership.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkOwnership.kt index 6989e7c..da1d416 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkOwnership.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/TikiSdkOwnership.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/MethodEnum.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/MethodEnum.kt index d4309ea..e4c6b92 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/MethodEnum.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/MethodEnum.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel /** diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/TikiPlatformChannel.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/TikiPlatformChannel.kt index 5232ad7..bff49e1 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/TikiPlatformChannel.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/TikiPlatformChannel.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel import android.util.Log diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqBuild.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqBuild.kt index 23b6066..569782b 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqBuild.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqBuild.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentApply.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentApply.kt index 132a9a1..46fc59f 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentApply.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentApply.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.mytiki.tiki_sdk_android.TikiSdkDestination diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentGet.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentGet.kt index c74d4d9..87d00d9 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentGet.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentGet.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentModify.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentModify.kt index 92d3c64..2523075 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentModify.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqConsentModify.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.mytiki.tiki_sdk_android.TikiSdkDestination diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipAssign.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipAssign.kt index 42dc42d..413f751 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipAssign.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipAssign.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.mytiki.tiki_sdk_android.TikiSdkDataTypeEnum diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipGet.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipGet.kt index 1cab451..e5bf1a4 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipGet.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/req/ReqOwnershipGet.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.req import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuild.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuild.kt index 101ccd4..240ad5f 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuild.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuild.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentApply.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentApply.kt index 0efcca8..3ad089b 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentApply.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentApply.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentGet.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentGet.kt index afd2d0f..0a01fda 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentGet.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspConsentGet.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.mytiki.tiki_sdk_android.TikiSdkConsent diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspError.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspError.kt index 78bc182..b4a7193 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspError.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspError.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.squareup.moshi.JsonClass diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspOwnership.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspOwnership.kt index 109f098..e920b35 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspOwnership.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspOwnership.kt @@ -2,6 +2,7 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ + package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.mytiki.tiki_sdk_android.TikiSdkOwnership diff --git a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/util/TimeStampToDateAdapter.kt b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/util/TimeStampToDateAdapter.kt index 105272f..d4724ad 100644 --- a/app/src/main/kotlin/com/mytiki/tiki_sdk_android/util/TimeStampToDateAdapter.kt +++ b/app/src/main/kotlin/com/mytiki/tiki_sdk_android/util/TimeStampToDateAdapter.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android.util import com.squareup.moshi.* diff --git a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkConsentTest.kt b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkConsentTest.kt index 023030a..5e03240 100644 --- a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkConsentTest.kt +++ b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkConsentTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.mytiki.tiki_sdk_android.util.TimeStampToDateAdapter diff --git a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnumTest.kt b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnumTest.kt index d2c28c3..376c2f4 100644 --- a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnumTest.kt +++ b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDataTypeEnumTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonAdapter diff --git a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDestinationTest.kt b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDestinationTest.kt index ca94f8e..aa735ea 100644 --- a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDestinationTest.kt +++ b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkDestinationTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonAdapter diff --git a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkOwnershipTest.kt b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkOwnershipTest.kt index 142b9e0..2736990 100644 --- a/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkOwnershipTest.kt +++ b/app/src/test/java/com/mytiki/tiki_sdk_android/TikiSdkOwnershipTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android import com.squareup.moshi.JsonAdapter diff --git a/app/src/test/java/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuildTest.kt b/app/src/test/java/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuildTest.kt index 036b6c5..62bb319 100644 --- a/app/src/test/java/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuildTest.kt +++ b/app/src/test/java/com/mytiki/tiki_sdk_android/tiki_platform_channel/rsp/RspBuildTest.kt @@ -2,8 +2,8 @@ * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ -package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp +package com.mytiki.tiki_sdk_android.tiki_platform_channel.rsp import com.squareup.moshi.JsonAdapter import com.squareup.moshi.Moshi diff --git a/doc/guide/GettingStarted.md b/doc/guide/GettingStarted.md index 22f9e61..e179614 100644 --- a/doc/guide/GettingStarted.md +++ b/doc/guide/GettingStarted.md @@ -26,14 +26,16 @@ repositories { Add the dependency in your App's `build.gradle` file (`PROJECT_ROOT/app/build.gradle`) ``` -implementation("com.mytiki:tiki-sdk-android:0.0.5") +implementation("com.mytiki:tiki-sdk-android:1.0.0") ``` ### Usage #### 1. [Sign up](https://console.mytiki.com) (free) for a TIKI developer account to get an API ID. -#### 2. Construct the [TIKI SDK](tiki-sdk-android-tiki-sdk) +#### 2. Initialize the [TIKI SDK](tiki-sdk-android-tiki-sdk) + +_Note: Must be called from the main UI thread_ Configuration parameters: @@ -56,7 +58,9 @@ Configuration parameters: Example: ``` -val tiki = TikiSdk().init("565b3268-cdc0-4e5c-94c8-5d8f53d4577c", "com.mycompany.myproduct", context) +MainScope().launch { + val tiki = TikiSdk().init("565b3268-cdc0-4e5c-94c8-5d8f53d4577c", "com.mycompany.myproduct", applicationContext).await() +} ``` #### 3. Assign ownership @@ -91,7 +95,10 @@ Returns: Example: ``` -val oid = tiki.assignOwnership("12345", TikiSdkDataTypeEnum.data_point, listOf("email_address")) +MainScope().launch { + ... + val oid = tiki.assignOwnership("12345", TikiSdkDataTypeEnum.data_point, listOf("email_address")).await() +} ``` #### 4. Modify consent @@ -114,7 +121,7 @@ Parameters: An optional definition of a reward promised to the user in exchange for consent. -- **expiry → [LocalDateTime](https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/-local-date-time/-local-date-time.html)? = null** +- **expiry → Date? = null** The date upon which the consent is no longer valid. If not set, consent is perpetual. Returns: @@ -124,7 +131,10 @@ Returns: Example: ``` -val consent = tiki.modifyConsent(oid, TikiSdkDestination(listOf("*"), listOf("*"))) +MainScope().launch { + ... + val consent = tiki.modifyConsent(oid, TikiSdkDestination(listOf("*"), listOf("*"))) +} ``` #### 5. Apply consent @@ -154,7 +164,10 @@ Parameters: Example: ``` -applyConsent("12345", TikiSdkDestination(listOf("*"), listOf("*")), { - print("Consent Approved. Send data to backend.") -}); +MainScope().launch { + ... + tiki.applyConsent("12345", TikiSdkDestination(listOf("*"), listOf("*")), { + print("Consent Approved. Send data to backend.") + }); +} ``` \ No newline at end of file diff --git a/doc/ref/KotlinDocs.md b/doc/ref/KotlinDocs.md index 7c98789..f9d0fec 100644 --- a/doc/ref/KotlinDocs.md +++ b/doc/ref/KotlinDocs.md @@ -3,7 +3,7 @@ title: Kotlin Docs category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-docs hidden: false -order: 6 +order: 7 type: link link_url: https://tiki-sdk-android.docs.mytiki.com/ --- \ No newline at end of file diff --git a/doc/ref/Source.md b/doc/ref/Source.md index aedf7f5..6528c2f 100644 --- a/doc/ref/Source.md +++ b/doc/ref/Source.md @@ -3,7 +3,7 @@ title: Source Code category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-source hidden: false -order: 5 +order: 6 type: link link_url: https://github.com/tiki/tiki-sdk-android --- diff --git a/doc/ref/TikiSdk.md b/doc/ref/TikiSdk.md index 31a0507..f0f378b 100644 --- a/doc/ref/TikiSdk.md +++ b/doc/ref/TikiSdk.md @@ -9,44 +9,47 @@ order: 1 ## Constructors -##### TikiSdk (...) +##### TikiSdk () -Creates an empty TikiSdk. +Construct the TikiSdk object. `init(...)` must be called before use. ## Methods -##### init(...) → String +##### init(...) → Deferred<TikiSdk> -Initializes the TIKI SDK. It should be called before any other method. It sets up Flutter Engine and -Platform Channel and builds the core of the TIKI SDK, calling TIKI SDK Dart through the Flutter -Platform Channel. +Initializes the TIKI SDK. It should be called before any other method. It sets up Flutter Engine and Platform Channel and builds the core of the TIKI SDK, calling TIKI SDK Dart through the Flutter Platform Channel. **Must be called from the main UI thread.** Read about [coroutines](https://kotlinlang.org/docs/coroutines-overview.html) for Android [here](https://developer.android.com/topic/libraries/architecture/coroutines). Parameters: - **apiId → String** - A unique identifier for your account. Create, revoke, and cycle Ids (not a secret but try and - treat it with care) at [console.mytiki.com](https://console.mytiki.com). + A unique identifier for your account. Create, revoke, and cycle Ids (not a secret but try and treat it with care) at [console.mytiki.com](https://console.mytiki.com). - **origin → String** - Included in the on-chain transaction to denote the application of origination (can be overridden - in individual requests). It should follow a reversed FQDN syntax. i.e. com.mycompany.myproduct + Included in the on-chain transaction to denote the application of origination (can be overridden in individual requests). It should follow a reversed FQDN syntax. i.e. com.mycompany.myproduct - **context → [Context](https://developer.android.com/reference/android/content/Context)** - Set the application context. Required for - the [MethodChannel](https://api.flutter.dev/flutter/services/MethodChannel-class.html) which - communicates with the [Dart SDK](https://github.com/tiki/tiki-sdk-dart) binaries + Set the application context. Required for the [MethodChannel](https://api.flutter.dev/flutter/services/MethodChannel-class.html) which communicates with the [Dart SDK](https://github.com/tiki/tiki-sdk-dart) binaries - **address → String? = null** - Set the user address (primarily for restoring the state on launch). If not set, a new key pair and - address will be generated for the user. + Set the user address (primarily for restoring the state on launch). If not set, a new key pair and address will be generated for the user. + +Example: + +``` +MainScope().launch { + val tiki = TikiSdk().init("YOUR_API_ID", "com.mycompany.myproduct", applicationContext).await() +} +``` ##### assignOwnership(...) → String -Data ownership can be assigned to any data point, pool, or stream, creating an immutable, on-chain -record. +Data ownership can be assigned to any data point, pool, or stream, creating an immutable, on-chain record. + +**suspend function** +_must be called from within a coroutine_ Parameters: @@ -79,15 +82,17 @@ Returns: Example: ``` -val tid = tiki.assignOwnership("12345", TikiSdkDataTypeEnum.data_point, listOf("email_address")) +val tid = tiki.assignOwnership("12345", TikiSdkDataTypeEnum.data_point, listOf("email_address")).await() ```   ##### modifyConsent(...) → [TikiSdkConsent](tiki-sdk-android-tiki-sdk-consent) -Consent is given (or revoked) for data ownership records. Consent defines "who" the data owner has -given utilization rights. +Consent is given (or revoked) for data ownership records. Consent defines "who" the data owner has given utilization rights. + +**suspend function** +_must be called from within a coroutine_ Parameters: @@ -100,17 +105,14 @@ Parameters: - **about → String? = null** - An optional description to provide additional context to the transaction. Most typically as - human-readable text. + An optional description to provide additional context to the transaction. Most typically as human-readable text. - **reward → String? = null** An optional definition of a reward promised to the user in exchange for consent. -- **expiry - → [LocalDateTime](https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/-local-date-time/-local-date-time.html) - ? = null** +- **expiry → Date ? = null** The date upon which the consent is no longer valid. If not set, consent is perpetual. Returns: @@ -121,15 +123,17 @@ Returns: Example: ``` -val consent = tiki.modifyConsent(oid, TikiSdkDestination(listOf("*"), listOf("*"))) +val consent = tiki.modifyConsent(oid, TikiSdkDestination(listOf("*"), listOf("*"))).await() ```   -##### getOwnership(source: String, origin: String?) → [TikiSdkOwnership](tiki-sdk-android-tiki-sdk-ownership)? +##### getOwnership(source: String, origin: String? = null) → [TikiSdkOwnership](tiki-sdk-android-tiki-sdk-ownership)? -Get the `TikiSdkOwnership` for a `source` and `origin`. If `origin` is unset, the default set during -construction is used. +Get the `TikiSdkOwnership` for a `source` and `origin`. If `origin` is unset, the default set during construction is used. + +**suspend function** +_must be called from within a coroutine_ Parameters: @@ -148,15 +152,17 @@ Returns: Example: ``` -val ownership = tiki.getOwnership("12345") +val ownership = tiki.getOwnership("12345").await() ```   ##### getConsent(source: String, origin: String?) → [TikiSdkConsent](tiki-sdk-android-tiki-sdk-consent)? -Get the latest `TikiSdkConsent` for a `source` and `origin`. If `origin` is unset, the default set -during construction is used. +Get the latest `TikiSdkConsent` for a `source` and `origin`. If `origin` is unset, the default set during construction is used. + +**suspend function** +_must be called from within a coroutine_ Parameters: @@ -175,15 +181,17 @@ Returns: Example: ``` -val consent = tiki.getConsent("12345") +val consent = tiki.getConsent("12345").await() ```   ##### applyConsent(...) -Apply consent to a data transaction. If consent is granted for the `source` and `destination` and -has not expired, the request is executed. +Apply consent to a data transaction. If consent is granted for the `source` and `destination` and has not expired, the request is executed. + +**suspend function** +_must be called from within a coroutine_ Parameters: @@ -210,7 +218,7 @@ Parameters: Example: ``` -applyConsent("12345", TikiSdkDestination(listOf("*"), listOf("*")), { +tiki.applyConsent("12345", TikiSdkDestination(listOf("*"), listOf("*")), { print("Consent Approved. Send data to backend.") }) ``` \ No newline at end of file diff --git a/doc/ref/TikiSdkConsent.md b/doc/ref/TikiSdkConsent.md index 2aa3261..ed186fb 100644 --- a/doc/ref/TikiSdkConsent.md +++ b/doc/ref/TikiSdkConsent.md @@ -1,17 +1,24 @@ --- title: TikiSdkConsent -excerpt: A Consent Object. Representative of the NFT created on-chain. Requires a corresponding Data Ownership NFT (see [TikiSdk](tiki-sdk-android-tiki-sdk)). +excerpt: A Consent Object. Representative of the NFT created on-chain. Requires a corresponding Data Ownership NFT (see [TikiSdkOwnership](tiki-sdk-android-tiki-sdk-ownership)). category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-tiki-sdk-consent hidden: false -order: 3 +order: 5 --- ## Constructors -##### TikiSdkConsent(ownershipId: String, destination: [TikiSdkDestination](tiki-sdk-android-tiki-sdk-destination), about: String, reward: String, transactionId: String, expiry: [Calendar](https://developer.android.com/reference/kotlin/java/util/Calendar.html)}) +##### TikiSdkConsent(...) -Builds a TikiSdkConsent for the data identified by `ownershipId`. +Parameters: + +- **ownershipId → String** +- **destination → [TikiSdkDestination](tiki-sdk-android-tiki-sdk-destination)** +- **transactionId → String** +- **about → String? = null** +- **reward → String? = null** +- **expiry → Int? = null** ## Properties diff --git a/doc/ref/TikiSdkDataTypeEnum.md b/doc/ref/TikiSdkDataTypeEnum.md index 466ffb6..79b19a1 100644 --- a/doc/ref/TikiSdkDataTypeEnum.md +++ b/doc/ref/TikiSdkDataTypeEnum.md @@ -4,7 +4,7 @@ excerpt: An enumeration of the supported data aggregation types. category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-tiki-sdk-data-type-enum hidden: false -order: 4 +order: 2 --- ## Entries diff --git a/doc/ref/TikiSdkDestination.md b/doc/ref/TikiSdkDestination.md index 3b8733b..19077cb 100644 --- a/doc/ref/TikiSdkDestination.md +++ b/doc/ref/TikiSdkDestination.md @@ -4,7 +4,7 @@ excerpt: Defines destinations and use cases (optional) allowed or disallowed. Se category: 6386a02f5b7bf00510590f34 slug: tiki-sdk-android-tiki-sdk-destination hidden: false -order: 2 +order: 3 --- ## Constructors diff --git a/doc/ref/TikiSdkOwnership.md b/doc/ref/TikiSdkOwnership.md new file mode 100644 index 0000000..4334ff4 --- /dev/null +++ b/doc/ref/TikiSdkOwnership.md @@ -0,0 +1,54 @@ +--- +title: TikiSdkOwnership +excerpt: A Ownership Object. Representative of the NFT created on-chain. +category: 6386a02f5b7bf00510590f34 +slug: tiki-sdk-android-tiki-sdk-ownership +hidden: false +order: 4 +--- + +## Constructors + +##### TikiSdkOwnership(...) + +Parameters: + +- **source → String** +- **type → [TikiSdkDataTypeEnum](tiki-sdk-android-tiki-sdk-data-type-enum)** +- **origin → String** +- **transactionId → String** +- **contains → List<String> = listOf()** +- **about → String? = null** + +## Properties + +##### source ↔ String + +An identifier in your system corresponding to the raw data. +_i.e. a user_id_ +_read / write_ + +##### type ↔ [TikiSdkDataTypeEnum](tiki-sdk-android-tiki-sdk-data-type-enum) + +`data_point`, `data_pool`, or `data_stream` +_read / write_ + +##### origin ↔ String + +The origin from which the data was generated. +_read / write_ + +##### transactionId ↔ String + +The transaction id for `this` +_read / write_ + +##### contains ↔ List<String> = listOf() + +A list of metadata tags describing the represented data. +_read / write_ + +##### about ↔ String? = null + +An optional description to provide additional context to the transaction, typically as human-readable text. +_read / write_ \ No newline at end of file diff --git a/integration_tests/integration_tests/src/androidTest/java/com/mytiki/tiki_sdk_android/integration_tests/TikiSdkTest.kt b/integration_tests/integration_tests/src/androidTest/java/com/mytiki/tiki_sdk_android/integration_tests/TikiSdkTest.kt index cd6db53..70a2f98 100644 --- a/integration_tests/integration_tests/src/androidTest/java/com/mytiki/tiki_sdk_android/integration_tests/TikiSdkTest.kt +++ b/integration_tests/integration_tests/src/androidTest/java/com/mytiki/tiki_sdk_android/integration_tests/TikiSdkTest.kt @@ -1,15 +1,16 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + package com.mytiki.tiki_sdk_android.integration_tests -import android.os.Handler -import android.util.Log import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import com.mytiki.tiki_sdk_android.TikiSdk import com.mytiki.tiki_sdk_android.TikiSdkDataTypeEnum import com.mytiki.tiki_sdk_android.TikiSdkDestination import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.async -import kotlinx.coroutines.launch import kotlinx.coroutines.test.runTest import kotlinx.coroutines.withContext import org.junit.Assert @@ -23,7 +24,6 @@ class TikiSdkTest { private val apiId: String = "2b8de004-cbe0-4bd5-bda6-b266d54f5c90" private val origin: String = "com.mytiki.tiki_sdk_android.test" - @Test fun init_tiki_sdk() { val context = InstrumentationRegistry.getInstrumentation().targetContext diff --git a/integration_tests/integration_tests/src/main/AndroidManifest.xml b/integration_tests/integration_tests/src/main/AndroidManifest.xml index eb135e7..b8204ee 100644 --- a/integration_tests/integration_tests/src/main/AndroidManifest.xml +++ b/integration_tests/integration_tests/src/main/AndroidManifest.xml @@ -1,8 +1,12 @@ + + - diff --git a/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/MainActivity.kt b/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/MainActivity.kt deleted file mode 100644 index a9a0998..0000000 --- a/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/MainActivity.kt +++ /dev/null @@ -1,28 +0,0 @@ -package com.mytiki.tiki_sdk_android.integration_tests - -import android.os.Bundle -import android.util.Log -import androidx.appcompat.app.AppCompatActivity -import com.mytiki.tiki_sdk_android.TikiSdk -import kotlinx.android.synthetic.main.activity_main.* -import kotlinx.coroutines.* -import java.lang.Exception - -class MainActivity : AppCompatActivity() { - var tikiSdk: TikiSdk? = null - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - setContentView(R.layout.activity_main) - val scope = MainScope() - button.setOnClickListener { - scope.launch { - tikiSdk = TikiSdk().init( - "b213d6bd-ccff-45c2-805e-4f0062d4ad5e", - "com.mytiki.tiki_sdk_android.integration_tests", - applicationContext - ).await() - Log.e("TEST", "addr: " + tikiSdk?.address) - } - } - } -} \ No newline at end of file diff --git a/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/Runner.kt b/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/Runner.kt new file mode 100644 index 0000000..17f39f5 --- /dev/null +++ b/integration_tests/integration_tests/src/main/java/com/mytiki/tiki_sdk_android/integration_tests/Runner.kt @@ -0,0 +1,16 @@ +/* + * Copyright (c) TIKI Inc. + * MIT license. See LICENSE file in root directory. + */ + +package com.mytiki.tiki_sdk_android.integration_tests + +import android.os.Bundle +import androidx.appcompat.app.AppCompatActivity + +class Runner : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_runner) + } +} \ No newline at end of file diff --git a/integration_tests/integration_tests/src/main/res/drawable-v24/ic_launcher_foreground.xml b/integration_tests/integration_tests/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/integration_tests/integration_tests/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/integration_tests/integration_tests/src/main/res/drawable/ic_launcher_background.xml b/integration_tests/integration_tests/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/integration_tests/integration_tests/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration_tests/integration_tests/src/main/res/layout/activity_main.xml b/integration_tests/integration_tests/src/main/res/layout/activity_main.xml deleted file mode 100644 index 35f6ea8..0000000 --- a/integration_tests/integration_tests/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - -