Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Migrate :core:designsystem to KMP #2290

Draft
wants to merge 6 commits into
base: kmp-impl
Choose a base branch
from

Conversation

biplab1
Copy link

@biplab1 biplab1 commented Jan 20, 2025

Fixes - Jira-#I334

Didn't create a Jira ticket, click here to create new.

Please Add Screenshots If there are any UI changes.

Before After

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the static analysis check ./gradlew check or ci-prepush.sh to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@biplab1 biplab1 changed the title Directory restructure :core:designsystem to KMP Feat: Migrate :core:designsystem to KMP Jan 21, 2025
@@ -23,6 +21,7 @@ import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.drawscope.Stroke
import androidx.compose.ui.input.pointer.pointerInteropFilter
Copy link
Author

Choose a reason for hiding this comment

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

I couldn't resolve the pointerInteropFilter and android.view.MotionEvent issue.

import com.mifos.core.designsystem.theme.DarkGray
import org.jetbrains.compose.resources.stringResource
import androidclient.core.designsystem.generated.resources.Res
import androidclient.core.designsystem.generated.resources.core_designsystem_ic_error_black_24dp
Copy link
Author

@biplab1 biplab1 Jan 23, 2025

Choose a reason for hiding this comment

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

I am not satisfied with this resolution of adding the string resources, it temporary resolves the issue, however, I don't think it is an optimized approach.

*/
package com.mifos.core.designsystem.theme

import androidclient.core.designsystem.generated.resources.Res
Copy link
Author

Choose a reason for hiding this comment

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

Here I tried using android_client instead of androidclient, however, the generated resources in build folder has package named androidclient and not android_client

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.

2 participants