Native iOS Libraries in a Kotlin Multiplatform with Cocoapods!

  Рет қаралды 2,339

Stevdza-San

Stevdza-San

Күн бұрын

Пікірлер: 33
@GoopleDev-o6u
@GoopleDev-o6u 5 күн бұрын
Thank you for this great video. I was able to load the map on iOS but can't seem to move/drag the map, I can zoom though.
@StevdzaSan
@StevdzaSan 5 күн бұрын
That's a good question. You need to add one extra parameter: UIKitView( ... properties = UIKitInteropProperties( interactionMode = UIKitInteropInteractionMode.NonCooperative ) )
@szpitor
@szpitor Ай бұрын
I can't believe this. I was looking for this for days to find out why my Google map sdk does not work on IOS. How convenient this is.
@Anolcera
@Anolcera Ай бұрын
I was literally researching this topic for a week now
@szpitor
@szpitor 29 күн бұрын
Thanks
@StevdzaSan
@StevdzaSan 29 күн бұрын
Thank you for your generous donation 💚
@szpitor
@szpitor 29 күн бұрын
@@StevdzaSan You do not have to .. Thank you for your hard work and sharing.
@idleidle3448
@idleidle3448 14 күн бұрын
oh heck yeah. thank you. any chance you can do a part 2 that adds clustering support? most maps usage requires clusters. also... video on spm as well?
@StevdzaSan
@StevdzaSan 14 күн бұрын
So far I've used only some simple polygons, markers, current location and some basic gesture navigation. I can share you that part if you're interested. It can help you understand how to implement additional stuff as well. Add me on discord (stevdzasan). Thanks for a donation btw! :)
@obeddougan1505
@obeddougan1505 Ай бұрын
wow, please more video like this
@SoftAxesMacmini
@SoftAxesMacmini Ай бұрын
I wish you upload a video for monetization with Admob using Compose Multiplatform. Thank you for creating such an amazing stuff.
@nwosupremenkbest9222
@nwosupremenkbest9222 18 күн бұрын
Running this from android studio on windows gives me following error: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.native.cocoapods', version: '2.0.21', apply: false] was not found in any of the following sources:
@santyas
@santyas Ай бұрын
Awesome! Could there be any problem if swiftklib is also configured in the same project?
@StevdzaSan
@StevdzaSan Ай бұрын
Nope, I've tried both, it works fine for me.
@vardan_7077
@vardan_7077 23 күн бұрын
Im having an issue with trying to get Amplify linrary like that. Have you even seen issues related to swift version not being specified for library?
@AndrewDChristie
@AndrewDChristie Ай бұрын
Thanks!
@redmist5761
@redmist5761 Ай бұрын
Why using cocapods instead of SPM?
@StevdzaSan
@StevdzaSan Ай бұрын
Not sure if it's possible to use SPM without cocoa kotlin native plugin. I haven't tried.
@premkumar-o1h
@premkumar-o1h Ай бұрын
I have a doubt what is the minimum version of MacOS required to develop KMP app ?
@Anolcera
@Anolcera Ай бұрын
using this guide I'm trying to install PusherSwift, with no luck. there are dozens of errors. have anyone tried this? one of the error is that swift version is not specifed for some of the required dependencies
@Anolcera
@Anolcera Ай бұрын
is there a guide how to install cocoapods?
@StevdzaSan
@StevdzaSan Ай бұрын
You can google for the terminal commands, it's easy.
@elelan
@elelan Ай бұрын
Is it ok to define iOS framework base name "ComposeApp" twice using default way and inside cocopods block?
@elelan
@elelan Ай бұрын
I was really looking for this over a month now! Really appreciate this.
@StevdzaSan
@StevdzaSan Ай бұрын
I haven't had any issues so far.
@elelan
@elelan Ай бұрын
@@StevdzaSan Getting an error `ld: framework 'GoogleMaps' not found`
@jimjuma7916
@jimjuma7916 Ай бұрын
@@elelan Did you create your project from the KMP template wizard recently?
@nathanaelheitz6951
@nathanaelheitz6951 23 күн бұрын
Merci !
@DidarSeyidov
@DidarSeyidov Ай бұрын
SPM is better
@foreverrafs
@foreverrafs Ай бұрын
But how do u add libraries in kmm using spm. Doesn't look like it's straightforward
@hc1321
@hc1321 29 күн бұрын
Is only objective c libraries from cocoapod we need to consider or sift libraries also work?
@StevdzaSan
@StevdzaSan 29 күн бұрын
As far as I know both Objective-C and Swift libraries can be used in a Kotlin Multiplatform project via CocoaPods.
@hc1321
@hc1321 28 күн бұрын
@@StevdzaSan So no Swift interop needed right if cocoapod library is swift?
Releasing Faster with Kotlin Multiplatform
32:24
Gradle
Рет қаралды 15 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 20 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Windsurf Editor TUTORIAL // Better than Cursor? (yes)
21:42
codes with ai
Рет қаралды 7 М.
Clean Architecture with ASP.NET Core 9
27:01
dotnet
Рет қаралды 20 М.
Navigation in Kotlin Multiplatform
6:30
Jakub Neukirch - Stonks Mobile Development
Рет қаралды 100
LlamaOCR - Building your Own Private OCR System
17:06
Sam Witteveen
Рет қаралды 25 М.
“use cache” NextJS’s latest take on data caching
17:27
Jack Herrington
Рет қаралды 7 М.
Linux Kernel 6.12 | This is Historic
1:07:22
Maple Circuit
Рет қаралды 58 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 57 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 20 МЛН