Marc Planas
04/02/2024, 6:01 PMJan
04/02/2024, 7:47 PMMarc Planas
04/02/2024, 7:52 PMJan
04/02/2024, 7:52 PMMarc Planas
04/02/2024, 7:53 PMJan
04/02/2024, 7:54 PMMarc Planas
04/03/2024, 3:21 PMJan
04/03/2024, 3:22 PMMarc Planas
04/03/2024, 3:24 PMsupabase.handleDeeplinks(url)
from my Swift code, supabase doesn't existsJan
04/03/2024, 3:27 PMJan
04/03/2024, 3:28 PMJan
04/03/2024, 3:29 PMMarc Planas
04/03/2024, 4:03 PMMarc Planas
04/03/2024, 4:03 PMJan
04/03/2024, 4:07 PMMarc Planas
04/03/2024, 5:18 PMJan
04/03/2024, 5:28 PMso i should do an expect/actual fun to access to this method rightYea thats the idea for Kotlin MP, you have platform specific implementations for some methods. You might some swift code anyways.
Would be good to have this is the docs maybe, I felt a bit lost at some pointYea Kotlin MP can be confusing sometimes, I can only really refer to the Kotlin docs
Marc Planas
04/03/2024, 5:42 PMJan
04/03/2024, 5:45 PMJan
04/03/2024, 5:46 PMMarc Planas
04/03/2024, 5:55 PMJan
04/03/2024, 5:57 PMF
11/06/2024, 3:22 PMJan
11/06/2024, 3:54 PMapplication
function is called, so that you can use the incoming url as the parameter. Apple documentationJosh Bogin
02/05/2025, 10:15 PMSupabaseClient.handleDeeplinks(url)
on iOS.Josh Bogin
02/05/2025, 10:19 PMobject DependencyProvider : KoinComponent {
fun provideSupabaseClient() : SupabaseClient = get()
}
Then, I am tryin got use this to handle the deeplinks. If anyone has any suggestions that would be greatly appreciated (especially @F and @Jan who were talking about it last)!Jan
02/08/2025, 10:02 AMclient.handleDeeplinks()
is an extension function, so something like this would work if calling from Swift directly:
AppleKt.handleDeeplinks(supabaseClient, url, lambdaParam)
Not sure what type the third parameter is because it's an optional lambda parameter in KotlinJosh Bogin
02/17/2025, 8:02 PMCannot find 'AppleKt' in scope
for some reason. I have *import* ComposeApp
at the top already too to provide access to the common codeJosh Bogin
02/17/2025, 8:07 PMContentView
but I also got stuck with this approach bc I'm not sure how to use the updateUIViewController
method to pass the deeplink to the MainViewController