Skip to content

fix: added exception handling for when browser doesn't exist #1850

fix: added exception handling for when browser doesn't exist

fix: added exception handling for when browser doesn't exist #1850

Triggered via pull request October 17, 2023 13:31
Status Success
Total duration 7m 8s
Artifacts

lint.yml

on: pull_request
Kotlin Lint
48s
Kotlin Lint
Matrix: android-lint
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
Android Lint (sdk): sdk/src/main/java/io/customer/sdk/CustomerIO.kt#L549
'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#L549
'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#L549
'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#L132
'getApplicationInfo(String, Int): ApplicationInfo' is deprecated. Deprecated in Java
Android Lint (messagingpush): messagingpush/src/main/java/io/customer/messagingpush/CustomerIOPushReceiver.kt#L43
'getParcelable(String?): T?' 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)`).