Skip to content

Merge branch 'main' into rehan/push-click-behavior #1801

Merge branch 'main' into rehan/push-click-behavior

Merge branch 'main' into rehan/push-click-behavior #1801

Triggered via push September 26, 2023 06:37
Status Success
Total duration 2m 13s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: push
Kotlin Lint
46s
Kotlin Lint
Matrix: android-lint
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
Android Lint (sdk): sdk/src/main/java/io/customer/sdk/CustomerIO.kt#L554
'getActivityInfo(ComponentName, Int): ActivityInfo' is deprecated. Deprecated in Java
Android Lint (sdk): sdk/src/main/java/io/customer/sdk/data/store/ApplicationStore.kt#L24
'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
Android Lint (sdk): sdk/src/main/java/io/customer/sdk/repository/ProfileRepository.kt#L39
Name shadowed: currentlyIdentifiedProfileIdentifier
Android Lint (sdk): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L7
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (sdk): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L24
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (sdk): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L28
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (sdk): sdk/src/main/java/io/customer/sdk/data/moshi/adapter/CustomAttributesAdapter.kt#L74
Ignoring results: The result of `toJson` is not used
Android Lint (sdk): sdk/src/debug/AndroidManifest.xml#L7
Attribute unused on older versions: Attribute `networkSecurityConfig` is only used in API level 24 and higher (current min is 21)
Android Lint (messaginginapp): messaginginapp/src/main/res/values-v21#L1
Obsolete SDK_INT Version Check: This folder configuration (`v21`) is unnecessary; `minSdkVersion` is 21. Merge all the resources in this folder into `values`.
Android Lint (messaginginapp): sdk/src/main/java/io/customer/sdk/CustomerIO.kt#L554
'getActivityInfo(ComponentName, Int): ActivityInfo' is deprecated. Deprecated in Java
Android Lint (messaginginapp): sdk/src/main/java/io/customer/sdk/data/store/ApplicationStore.kt#L24
'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
Android Lint (messaginginapp): sdk/src/main/java/io/customer/sdk/repository/ProfileRepository.kt#L39
Name shadowed: currentlyIdentifiedProfileIdentifier
Android Lint (messaginginapp): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L7
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messaginginapp): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L24
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messaginginapp): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L28
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messaginginapp): messaginginapp/src/main/java/io/customer/messaginginapp/gist/data/listeners/Queue.kt#L71
This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
Android Lint (messagingpush): sdk/src/main/java/io/customer/sdk/CustomerIO.kt#L554
'getActivityInfo(ComponentName, Int): ActivityInfo' is deprecated. Deprecated in Java
Android Lint (messagingpush): sdk/src/main/java/io/customer/sdk/data/store/ApplicationStore.kt#L24
'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
Android Lint (messagingpush): sdk/src/main/java/io/customer/sdk/repository/ProfileRepository.kt#L39
Name shadowed: currentlyIdentifiedProfileIdentifier
Android Lint (messagingpush): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L7
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messagingpush): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L24
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messagingpush): common-test/src/main/java/io/customer/commontest/util/DispatchersProviderStub.kt#L28
'TestCoroutineDispatcher' is deprecated. The execution order of `TestCoroutineDispatcher` can be confusing, and the mechanism of pausing is typically misunderstood. Please use `StandardTestDispatcher` or `UnconfinedTestDispatcher` instead.
Android Lint (messagingpush): messagingpush/src/main/java/io/customer/messagingpush/CustomerIOPushNotificationHandler.kt#L127
'getApplicationInfo(String, Int): ApplicationInfo' is deprecated. Deprecated in Java
Android Lint (messagingpush): messagingpush/src/main/java/io/customer/messagingpush/extensions/ContextExtensions.kt#L18
Using discouraged APIs: Use of this function is discouraged because resource reflection makes it harder to perform build optimizations and compile-time verification of code. It is much more efficient to retrieve resources by identifier (e.g. `R.foo.bar`) than by name (e.g. `getIdentifier("bar", "foo", null)`).