MarcinMoskala / KtAcademyPortal

Multiplatform Kotlin application of KotlinAcademy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Some Files while Downloading

pratikbutani opened this issue · comments

I didn't found presenter package in this mobile package

I did't found following in FirebaseIdService.kt:

import org.kotlinacademy.data.FirebaseTokenType.Android
import org.kotlinacademy.presentation.notifications.RegisterNotificationTokenPresenter
import org.kotlinacademy.presentation.notifications.RegisterNotificationTokenView

Is there any solution?

These files are in common-client:

https://github.com/MarcinMoskala/KotlinAcademyApp/blob/master/common-client/src/main/kotlin/org/kotlinacademy/presentation/notifications/RegisterNotificationTokenView.kt

I think that the reason why you have this error is that you don't use Kotlin version that supports multiplatform development (1.2). Here are steps how to set it:

selection_239

configure kotlin plugin updates_241

Check for updates and click ok. Then restart AS and it should work fine. Please, tell me if it helped.