https://kotlinlang.org
Join Slack
What's the best way to generate an .aar file from a multiplatform build.gradle file? My iOS targets ...
s

Sylvain Patenaude

over 5 years ago
What's the best way to generate an .aar file from a multiplatform build.gradle file? My iOS targets generate .framework outputs, but I would now like to wrap my android target jar file in an .aar file. Thanks in advance.
s
k
  • 2
  • 33
  • 1193
How to convert a compose `ImageVector` to an Android `Bitmap` ? Note - need to use it for `CustomTab...
m

Mark

over 1 year ago
How to convert a compose
ImageVector
to an Android
Bitmap
? Note - need to use it for
CustomTabsIntent.Builder#setCloseButtonIcon
so not within a composable. https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setCloseButtonIcon(android.graphics.Bitmap)
m
e
  • 2
  • 5
  • 1192
Hello, When I try to make a request on a route that does not exist, instead of receiving a 404 I sy...
j

Jamy

over 2 years ago
Hello, When I try to make a request on a route that does not exist, instead of receiving a 404 I systematically receive a 200 code. Even if I use the StatusPages plugin and I try to modify the behavior of the NotFound status as indicated in the documentation, nothing happens. The 404 code and status are never sent. Do any of you know where this can come from? I confess that I do not see at all where it can come from and I can not isolate the code responsible for this so difficult to send you an example. I specify that the trace marks well that the road is not known:
/, segment:0 -> SUCCESS @ /
    /(method:GET), segment:0 -> FAILURE "Not all segments matched" @ /(method:GET)
    /error, segment:0 -> FAILURE "Selector didn't match" @ /error
Matched routes:
  No results
Route resolve result:
  FAILURE "No matched subtrees found" @ /
j
a
  • 2
  • 15
  • 1190
Hi, I created a simple web app with Kotlin/Wasm using Compose multiplatform. The issue I’m experienc...
j

Jose Garcia

over 1 year ago
Hi, I created a simple web app with Kotlin/Wasm using Compose multiplatform. The issue I’m experiencing comes when running the website on mobile device browsers. AFAIK Kotlin/Wasm doesn’t work on Safari browsers. However, some Android devices can run the web and some other Android devices experience a blank screen. On my iOS device I get a blank screen on both Safari (as expected) and Google Chrome. Is this normal? Do I have to add some configuration so that small screens can run my webapp?
j
s
+3
  • 5
  • 17
  • 1188
What are the differences between HttpClient(CIO) and HttpClient(OkHttp) with regards to ktor-client...
b

Barry Fawthrop

over 3 years ago
What are the differences between HttpClient(CIO) and HttpClient(OkHttp) with regards to ktor-client not server? Thanks
b
c
a
  • 3
  • 4
  • 1188
Hi, new to KMM. Wondering what the recommended approach to navigation is for a Android/iOS app targe...
s

Smorg

about 3 years ago
Hi, new to KMM. Wondering what the recommended approach to navigation is for a Android/iOS app target? Is there some kind of library that can be used to handle navigation on both platforms, or is it better to just handle navigation independently on each platform (since navigation is related to UI, and it's better to write UIs independently)?
s
a
+8
  • 10
  • 15
  • 1187
When kapt complains, that it can't find a `tools.jar` (which is correct, because I'm not using Java ...
h

hho

over 4 years ago
When kapt complains, that it can't find a
tools.jar
(which is correct, because I'm not using Java 8 anymore) – what doesn't work then? Any way to suppress that warning (I'm using Maven)?
h
a
m
  • 3
  • 7
  • 1187
Hi all. How to convert iOS UIImage to Compose ImageBitmap in Compose Multiplatform? Can anyone help ...
j

Javokhir Savriev

over 2 years ago
Hi all. How to convert iOS UIImage to Compose ImageBitmap in Compose Multiplatform? Can anyone help me?
j
d
  • 2
  • 4
  • 1186
I keep having `Module with the Main dispatcher is missing. Add dependency providing the Main dispatc...
r

Raphael TEYSSANDIER

over 2 years ago
I keep having
Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'
on a
jvm
target
r
e
  • 2
  • 9
  • 1184
I don't really understand how to read / write files in okio 3 multiplatform (specifically on ios). A...
m

Michal Klimczak

almost 4 years ago
I don't really understand how to read / write files in okio 3 multiplatform (specifically on ios). All examples show how to do it using
FileSystem.SYSTEM
which is only available on `jvm` . It's like everything is there when you have
FileHandle
or
Sink
, but the first step is vague. Any hints?
m
m
s
  • 3
  • 18
  • 1181
Previous293031Next

kotlinlang

A modern programming language that makes developers happier.

Powered by