Hi, is there any example using Realm database with...
# multiplatform
n
Hi, is there any example using Realm database with KMM as there sample app is not running https://github.com/realm/realm-kotlin/tree/master/examples/kmm-sample
j
I've been trying it out in following branch https://github.com/joreilly/FantasyPremierLeague/tree/realm
p
j
🙂
p
Oh wow, few seconds late..
j
Waiting on JVM support before merging to
main
branch of that repo
👍 1
n
Thank @John O'Reilly i am going through it Do you have any idea after taking pull from realm-kotlin sample app, am not able to run it, i mean androidApp Configuration it self is not showing
sharing screenshot also
@John O'Reilly @Philipp Mayer same issue i am getting for below example also https://github.com/joreilly/FantasyPremierLeague/tree/realm
i am using Ubuntu and android 4.2.1
sharing screenshot also
j
I'll do fresh clone later on and check if it's ok here.....using macOS and AS 4.2 here
n
i let me check in mac
j
are you getting that btw for main branch or when you switch to
realm
one?
n
i downloaded as zip from realm branch
@Philipp Mayer @John O'Reilly app is crashing on mac running android app below is the issue Process: dev.johnoreilly.fantasypremierleague, PID: 9976   javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
p
Sorry, I can't help you with that, I only knew John wrote about it :)
j
hmm, not sure, just cloned that repo and running here and it seems to be ok....what device are you running it on?
n
Emulator Pixel 2 API 30
j
can you try on physical device as well as a test.....pretty sure I've run this on emulator as well but will try that in a while
n
okay will check on physical device can you please check on Ubuntu why app is not building as i am not able to see androidApp but in MAC i am able to build
j
Are you seeing similar apps building ok on Ubuntu?
n
same app on Ubuntu it's not building but on MAC its building
j
What I meant was are you able to build other KMM etc projects ok on Ubuntu there?
n
Yes i can build other project fine
j
KMM projects?
n
Yes KMM Project
j
I don't have Ubuntu setup here but following might have some useful info.....if you find solution then, as always, PRs are warmly welcomed 🙂 https://github.com/joreilly/PeopleInSpace/issues/8
n
Thanks
j
Perhaps try with this project (PeopleInSpace) and if it's ok then there's something specific to the FantasyPremierLeague one
n
Sure will check
c
I'm sure I've seen that exception before. Maybe try a newer emulator.
n
@John O'Reilly I was running App With Emulator x86 CPU Realm support only x86_64 CPU
j
Ah, interesting
😀 1
Worth reporting to realm folks