Adam Brown
10/18/2022, 2:49 AMMarkRS
10/18/2022, 10:57 AMVasileios Chroniadis
10/18/2022, 11:41 AMMake sure that you have JDK installed. You can get it from its <https://www.oracle.com/java/technologies/javase-downloads.html|official website>.
Can I use e.g. openjdk11 or do I have to use the oracle one?Umesh Gupta
10/18/2022, 12:43 PMStanislav Radchenko
10/18/2022, 5:23 PMKieren Searle
10/18/2022, 6:22 PMFrancois Desrosiers
10/19/2022, 1:32 AMAleksey Tomin
10/19/2022, 9:17 AMRegex(regexString).matches(valueString)
And someone has sent string with escaped :
On JVM it works but on JS it leads the error Invalid escape
: https://stackoverflow.com/questions/63006601/why-does-u-throw-an-invalid-escape-error
I think that common code (for an any parameter) must works or doesn’t work in both platforms. It mustn’t be work on JVM and doesn’t work on JS.
What should I do?Claude Brisson
10/19/2022, 3:03 PMinterface SomeInterface {
@get:Throws(SomeException::class)
val something: Something
}
On jvm it compiles well, but the native compiler gives me the error:
This annotation is not applicable to target 'member property without backing field or delegate' and use site target '@get'
How to overcome this limitation? Is there a corresponding YouTrack issue?
Thanks.Trey
10/19/2022, 8:11 PMeygraber
10/19/2022, 10:11 PMAdemir Queiroga
10/20/2022, 3:03 AMlilypuchi
10/20/2022, 2:53 PMpublishToMaven
? Create a separate task to copy the generated xml into android folder? Any help will be appreciated 🙇Ilya Kalibrov [JB]
10/21/2022, 1:31 PMelect
10/21/2022, 4:16 PMkotlin.math.MathH
I can see Double.ulp
but no Float
counterpart..shahroz
10/21/2022, 10:35 PMelect
10/22/2022, 7:58 AMcommonMain
to extend specific interface for jvm only.
But I'm afraid that's not possible, right?
What are the main strategies for this case, other than leaving the interface empty/dummy on the other platform?Vitaliy Zarubin
10/22/2022, 10:01 AMAntonis Radz
10/22/2022, 11:08 AMdata class TestViewState(
val list: List<Test> = emptyList(),
val stateText: String = ""
)
so on XCode it would have default empty constructor?
like
@State private var viewState: TestViewState = TestViewState()
Currently it is not working because of XCode error : 'init()' is unavailable
It does work as long as it is initialised with values
Sorry I am Android dev, not iOS 🙂 (edited)
Also made it happen with adding getter to companion object, but this is a hack not a solutionJimmy
10/23/2022, 1:07 AMrealm-kotlin
to a tiny test project, and I keep getting this error when I try to reference Realm in my android project.:
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class com.radreichley.kmmrepro.Story, unresolved supertypes: io.realm.kotlin.types.RealmObject
I get it in my main project, and this barebones repro project. I’ve copied the build.gradle from their example project (<https://github.com/realm/realm-kotlin-samples/tree/main/MultiplatformDemo/>
), and verified that their project builds fine locally….Jimmy
10/23/2022, 1:07 AMJimmy
10/23/2022, 1:25 AMcompileOnly("io.realm.kotlin:library-base:$version")
rather than
compileOnly("io.realm.kotlin:library:$version")
Jan
10/23/2022, 9:08 PMJozef Matus
10/24/2022, 12:30 PMUmberto Pompei
10/24/2022, 2:12 PModay
10/24/2022, 2:25 PMeygraber
10/24/2022, 5:00 PMczuckie
10/24/2022, 5:49 PMczuckie
10/24/2022, 11:54 PMxiaobailong24
10/25/2022, 5:30 AM@protocol
param in kotlin side? Thanks.
https://youtrack.jetbrains.com/issue/KT-54661/KMMObjective-C-function-interop-with-protocol-paramxiaobailong24
10/25/2022, 5:30 AM@protocol
param in kotlin side? Thanks.
https://youtrack.jetbrains.com/issue/KT-54661/KMMObjective-C-function-interop-with-protocol-paramAndrei Salavei
10/25/2022, 10:09 AMOBJC_EXPORT Protocol * _Nullable
objc_getProtocol(const char * _Nonnull name)
OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);
xiaobailong24
10/25/2022, 12:35 PM