Instead of doing your procedure for running the Desktop app, i prefer to create a gradle configuration eg. named "Desktop" and as "Run" parameters put "composeApp:run". So that it stays and you can run it again easily. Also possible if you press the gradle elephant on the right side bar and run it as a gradle task, it also automatically creates the config.
What do I need to write to Google to see exactly what these lines of code are required for the data store? datastore = { module = "androidx.datastore:datastore", version.ref = "datastore" } datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastore" }
If I execute Msi or dmg package and install it, it is NOT WORKING. But launching via Android Studio every thing is fine. I think problem is that app is does not able to create "prefs.preferences_pb" file in storage. Please help
Great video. I just have ome question left. This library was developed from Google fir Kotlin roght? Because Kotlin is originally developed by JetBrains right?
@@meidy3795 great, thanks. I wasn't Sure if I understood it right. I mean IT make sense that Google develops some pwn libraries but I want to be safe ablut facts. Thanks again. 👍
Hi philip, could you show how to make one feature? it showed in 3D the real position of the phone in space, not only rotation, but in full from height to tilt, please, I am subscribed to you
Unresolved reference: NSFileManager , NSFileManager is not getting recognized , i trying importing lines import platform.Foundation.NSDocumentDirectory import platform.Foundation.NSFileManager import platform.Foundation.NSUserDomainMask , still issue , do i need MAC for this one ? in ios side
hi! did u found the solution? I see same problem, my desktop app crashes with java.lang.NoClassDefFoundError: sun/misc/Unsafe when I want enable datastore( It seems that no one uses datastore in production and everyone runs the application only from IDE because I cant find solution for this issue
@@Nick-cx4rs yes this is one of the possible solutions, but bro I found the solution literally a couple of minutes ago)) you need add 'modules("jdk.unsupported")' line in your desktop configuration, for exmaple compose.desktop { application { mainClass = "com.example.app.MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb, TargetFormat.Exe) packageName = "Example Name" packageVersion = "1.0.0" modules("jdk.unsupported") } } } and I don't have any more crashes
Hey Philip how you learn the new technology with superfastly with clear concept what is your approach towards newtechnology with superfastly please explain us
Could you do a video on using Firebase native libraries in KMP : Auth, Storage & Analytics, please upvote if you want to see it too...
Up
Up
up + notifications
Up
yes, please, in android, desktop, wasm kmp
Instead of doing your procedure for running the Desktop app, i prefer to create a gradle configuration eg. named "Desktop" and as "Run" parameters put "composeApp:run". So that it stays and you can run it again easily. Also possible if you press the gradle elephant on the right side bar and run it as a gradle task, it also automatically creates the config.
very good tutorial for those who actually know the subject already!
Q: How we implement Proto DataStore in KMM?
A: I found Medium article named 'Unlocking Proto DataStore Magic in KMM'
Finally, a data store video. This is exactly what I need right now
Great example! Should createDataStore be created using expect fun to replicate it into android native etc?
How about proto datastore? Will you make video how to use it?
There is a Medium article available named 'Unlocking Proto DataStore Magic in KMM'
Please Philip make tutorial about charts for jetpack compose it is so important
check out Vico charts
What do I need to write to Google to see exactly what these lines of code are required for the data store?
datastore = { module = "androidx.datastore:datastore", version.ref = "datastore" }
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastore" }
Hello Phillip, when is the Android July news video coming out?
Too few changes this time, new episode comes in August :)
hello, i have a problem "In version catalog libs, version reference 'datastore' doesn't exist." and did not have solution
If I execute Msi or dmg package and install it, it is NOT WORKING. But launching via Android Studio every thing is fine. I think problem is that app is does not able to create "prefs.preferences_pb" file in storage. Please help
Did you installed copilot cause I see some code proposal when you type?
Great video. I just have ome question left. This library was developed from Google fir Kotlin roght? Because Kotlin is originally developed by JetBrains right?
It is developed by Google because it was intended for Android only API
@@meidy3795 great, thanks. I wasn't Sure if I understood it right. I mean IT make sense that Google develops some pwn libraries but I want to be safe ablut facts. Thanks again. 👍
Hello P. Is there a way to use it with Koin and have it in viewmodel or repo as param? thx
Sure, just create it in your Koin module
@@PhilippLackner my problem is with context
Hi philip, could you show how to make one feature? it showed in 3D the real position of the phone in space, not only rotation, but in full from height to tilt, please, I am subscribed to you
This Way does not clean code or the correct way
Ok sent it in app parameter but I need to path it in all pagination
Unresolved reference: NSFileManager , NSFileManager is not getting recognized , i trying importing lines import platform.Foundation.NSDocumentDirectory
import platform.Foundation.NSFileManager
import platform.Foundation.NSUserDomainMask , still issue , do i need MAC for this one ? in ios side
you need mac
Doesnt work on release .msi file on desktop. Working on debugging on android studio why ?
hi! did u found the solution? I see same problem, my desktop app crashes with java.lang.NoClassDefFoundError: sun/misc/Unsafe when I want enable datastore(
It seems that no one uses datastore in production and everyone runs the application only from IDE because I cant find solution for this issue
@@ИльмирШагабиев dont use datastore. İ made an preferences interface in common. Then implement in desktop module and use java.util.preferences .
@@Nick-cx4rs yes this is one of the possible solutions, but bro I found the solution literally a couple of minutes ago))
you need add 'modules("jdk.unsupported")' line in your desktop configuration, for exmaple
compose.desktop {
application {
mainClass = "com.example.app.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb, TargetFormat.Exe)
packageName = "Example Name"
packageVersion = "1.0.0"
modules("jdk.unsupported")
}
}
}
and I don't have any more crashes
What about web? you forgot about it...
Hey Philip how you learn the new technology with superfastly with clear concept what is your approach towards newtechnology with superfastly please explain us
فيدي جميل. شكرا.
Nice
❤❤❤
Great Video 🔥🔥 I'm curious about how to using koin to inject dataStore. I have tried and get some issues when passing context.
@@pam24 check the previous koin video :)
same here, error when I pass (dataStore: DataStore) in a RepositoryImpl I cannot inject that
❤
❤❤❤❤❤😊
I always sead that i love you more than myself 😂😂