Skip to content

Refine mobile app credentials and iOS project configuration#77

Merged
ohmzi merged 26 commits into
masterfrom
develop
May 23, 2026
Merged

Refine mobile app credentials and iOS project configuration#77
ohmzi merged 26 commits into
masterfrom
develop

Conversation

@ohmzi
Copy link
Copy Markdown
Owner

@ohmzi ohmzi commented May 23, 2026

No description provided.

ohmzi and others added 26 commits May 22, 2026 14:09
… project.

This update explicitly configures the development team ID for the primary build targets and performs a non-functional cleanup of the project file by reordering various source and resource references to maintain alphabetical consistency.

- **Project Configuration**:
    - Set `DEVELOPMENT_TEAM` to `JUFACN2FS3` for both Debug and Release configurations.

- **Build System Clean-up**:
    - Alphabetized entries in `PBXBuildFile`, `PBXFileReference`, and `PBXGroup` sections to resolve minor ordering inconsistencies.
    - Specifically reordered references for `NotificationDeepLinkRouter.swift`, `TodayTasksWidgetSnapshotStoreTests.swift`, `CalendarPagingScrollView.swift`, and other internal source files.

Signed-off-by: ohmzi <6551272+ohmzi@users.noreply.github.com>
… project.

This update explicitly configures the development team ID for the primary build targets and performs a non-functional cleanup of the project file by reordering various source and resource references to maintain alphabetical consistency.

- **Project Configuration**:
    - Set `DEVELOPMENT_TEAM` to `JUFACN2FS3` for both Debug and Release configurations.

- **Build System Clean-up**:
    - Alphabetized entries in `PBXBuildFile`, `PBXFileReference`, and `PBXGroup` sections to resolve minor ordering inconsistencies.
    - Specifically reordered references for `NotificationDeepLinkRouter.swift`, `TodayTasksWidgetSnapshotStoreTests.swift`, `CalendarPagingScrollView.swift`, and other internal source files.

Signed-off-by: ohmzi <6551272+ohmzi@users.noreply.github.com>
This update modifies the `DEVELOPMENT_TEAM` identifier within the project's build configurations to ensure proper code signing and provisioning.

- **Build Settings**:
    - Updated the `DEVELOPMENT_TEAM` value from `JUFACN2FS3` to `THT5Z8K3TF` across project configurations.

Signed-off-by: ohmzi <6551272+ohmzi@users.noreply.github.com>
…cate used for the app so webcredentials AASA can match the signed bundle identifier.
@deepsource-io
Copy link
Copy Markdown

deepsource-io Bot commented May 23, 2026

DeepSource Code Review

We reviewed changes in 383ee75...3ba340b on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript May 23, 2026 6:00a.m. Review ↗
Kotlin May 23, 2026 6:00a.m. Review ↗
Secrets May 23, 2026 6:00a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Comment on lines +190 to +197
} catch (error: CreateCredentialException) {
Log.w(
LOG_TAG,
"Android Password Manager could not save server URL: ${error.type}",
error
)
SystemCredentialSaveResult.FAILED
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This catch block is unreachable.


Unreachable catch blocks should be removed, because they serve no useful purpose and can lead to confusing and potentially incorrect behavior in exception handling.


@OptIn(ExperimentalMaterial3Api::class, ExperimentalFoundationApi::class)
@Composable
fun CalendarScreen(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`CalendarScreen` has a cyclomatic complexity of 33 with "Very High" risk


Cyclomatic complexity is a software metric that measures the number of
independent paths through a function. A function with high cyclomatic
complexity can be hard to understand and maintain. A higher cyclomatic
complexity indicates that the function has more decision points and is more complex.

fun `login credential accepts normal password records`() {
val credential = SystemCredentialRecords.loginCredential(
id = " User@Example.com ",
password = "Password!1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple occurrences of the same string literal within a single file detected. Prefer extracting the string literal into a property or constant.


Avoiding repeated string literals in the same scope is considered good practice in Kotlin. By using shared constants/variables, one improves code maintainability, readability, consistency, and support for localization efforts. Repeated string literals can make code harder to understand, update, and translate. Using shared constants or variables promotes code consistency and potential performance optimizations.

Comment thread build.gradle.kts
id("com.android.application") version "9.2.1" apply false
id("com.android.library") version "9.2.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.10" apply false
id("org.jetbrains.kotlin.jvm") version "2.1.0" apply false
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple occurrences of the same string literal within a single file detected. Prefer extracting the string literal into a property or constant.


Avoiding repeated string literals in the same scope is considered good practice in Kotlin. By using shared constants/variables, one improves code maintainability, readability, consistency, and support for localization efforts. Repeated string literals can make code harder to understand, update, and translate. Using shared constants or variables promotes code consistency and potential performance optimizations.

@ohmzi ohmzi merged commit 95017cc into master May 23, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant