Skip to content

Fix build failures across all KMP targets (JVM, JS, WASM, iOS)#2608

Open
Arinyadav1 wants to merge 8 commits intoopenMF:developmentfrom
Arinyadav1:Fix-build-failures
Open

Fix build failures across all KMP targets (JVM, JS, WASM, iOS)#2608
Arinyadav1 wants to merge 8 commits intoopenMF:developmentfrom
Arinyadav1:Fix-build-failures

Conversation

@Arinyadav1
Copy link
Contributor

Fixes - Jira-#644

image image image

@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Too many files!

This PR contains 226 files, which is 76 over the limit of 150.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

val appPrivateInternalStorage = FileKit.filesDir
val appInternalStorage = FileKit.databasesDir
// TODO(KMP): cacheDir is supported on Android, iOS, Desktop
// ❌ NOT supported on Web/WASM targets
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please remove the cross emoji from the comments?

companion object {
const val VERSION = 2

val MIGRATION_1_2 = object : Migration(1, 2) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please tell us the reason for removing this migration?

}

@TypeConverter
fun toCurrencyToCurrency(json: String?): Currency? {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
fun toCurrencyToCurrency(json: String?): Currency? {
fun toCurrency(json: String?): Currency? {

companion object {
const val VERSION = 2

val MIGRATION_1_2 = object : Migration(1, 2) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as previously pointed out regarding migration, please review.


companion object {
const val VERSION = 2

Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, please review.

val resourceId: String,
) : Parcelable {

@IgnoredOnParcel
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you tell us the reason for adding @IgnoreOnParcel on primitive type?

var officeId: Int? = null,

@IgnoredOnParcel
@param:IgnoredOnParcel
Copy link
Contributor

Choose a reason for hiding this comment

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

Some places use the @param, while others do not. Please review and ensure consistency across updated files.

selectedItems: SelectedItemsState,
onRefresh: () -> Unit,
onCenterSelect: (Int) -> Unit,
modifier: androidx.compose.ui.Modifier,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move the relevant part to the import section.

selectedItems: SelectedItemsState,
onRefresh: () -> Unit,
onCenterSelect: (Int) -> Unit,
modifier: androidx.compose.ui.Modifier,
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, please review.


@Composable
internal actual fun GroupsListRoute(
paddingValues: androidx.compose.foundation.layout.PaddingValues,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move this to import section.


@Composable
internal actual fun GroupsListRoute(
paddingValues: androidx.compose.foundation.layout.PaddingValues,
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, please review.

@biplab1
Copy link
Contributor

biplab1 commented Feb 17, 2026

@Arinyadav1 I hope you have figured out the FileKit part, since it will break several screens as those parts have been commented out. Please make sure that it is resolved in the next PR. Also, ensure that the image cropping issue is taken care of in another PR immediately after that.

@Arinyadav1
Copy link
Contributor Author

@biplab1 Yeah sure after merge this PR I will fix that issue also

@sonarqubecloud
Copy link

@Arinyadav1
Copy link
Contributor Author

@biplab1 please review it again

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