97,840 questions
0
votes
1
answer
29
views
CapabilityClient.getCapability returns empty nodes list on Wear OS 6 / Android 16 setup
I have a problem with CapabilityClient visibility. I have both Android and Wear OS apps installed on the phone (Pixel 6 with Android 16) and paired watch (Samsung Galaxy Watch 6 with Wear OS 6). Both ...
1
vote
0
answers
54
views
Jetpack Compose: Why does opening the keyboard leave two keyboards worth of space when using .imePadding()?
I’m building a launcher UI in Jetpack Compose and running into a layout issue.
When the search bar is located at the bottom, opening the keyboard causes a large blank space to appear in the middle of ...
0
votes
0
answers
37
views
Why The singleton in KMP is two different instances in iOS and Kotlin Mutliple Platform
I got an object(singleton) in kotlin Multiple platform(KMP)
Like:
object SqIOSApiRegister {
private var initialized = false
val lock = NSLock()
init {
if (initialized) {
...
2
votes
2
answers
54
views
When clicked and held my Compose Card shows straight squared corners even though the Composable itself has a RoundedCornerShape
Pointy corners appear in this card when clicked and held when the card itself has rounded corners. I know Compose is declarative so I included the RoundedCornerShape before the .clickable property.
...
Advice
0
votes
0
replies
21
views
Is There an Easier Way to Use Swift Code in Kotlin Multiplatform? Step-by-Step with Cocoapods
Is there any new/easy way to call swift function from kotlin directly in kmp project?
or
Can anyone explain the same using cocoapods step by step?
0
votes
0
answers
63
views
App closes immediately on launch after switching launcher icons (Activity class does not exist)
I added multiple launcher icons using activity-alias to dynamically switch the app icon at runtime. But after going to the main activity, the app crashes immediately. I am not able to understand what ...
1
vote
0
answers
71
views
InvalidAlgorithmParameterException: Unsupported IV length: 16 bytes. Only 12 bytes long IV supported
I'm trying to implement data encryption and decryption using Cipher. This is my code:
class CryptographyManagerImpl : CryptographyManager {
private val KEY_SIZE_BITS: Int = 256
private val ...
0
votes
0
answers
14
views
Kotlin Multiplatform KLIB “duplicate kotlin-stdlib-common” error when running jvmTests in Ktor project
I’m working with the Ktor codebase (3.4.0-SNAPSHOT) and trying to run JVM tests locally. On a clean checkout, recommended testing (per CONTRIBUTING.md) fails:
./gradlew jvmTests
The build fails ...
1
vote
0
answers
39
views
Migration files not executed in test
I have test class which, if configured in this way, works
@DataJpaTest
@AutoConfigureEmbeddedDatabase(
refresh = AutoConfigureEmbeddedDatabase.RefreshMode.BEFORE_EACH_TEST_METHOD,
provider = ...
-1
votes
0
answers
51
views
How to know whether a particular phone no exists in device without OTP
For the last few days, I was trying to develop an app to verify a phone no whether it exists or not on the device.
Is there any way or API to know which numbers exist on the device, or whether a ...
0
votes
1
answer
39
views
com.fasterxml.jackson.module.kotlin.jacksonObjectMapper Removed from Latest Jackson 3.x Versions?
We have a very old Kotlin class (v1.4) that we were upgrading to the latest Kotlin and in the process upgrading to the latest jackson JARs too in the process.
I see that the groupId has changed for ...
-1
votes
0
answers
46
views
release apk or internal testing apk lag issue navigations [closed]
App download via debug mode or release apk ,App was lag issue back navigation not run smooth transmison navigation
app lag issue when geuster navigation on real device
app pages navigations issue ...
2
votes
1
answer
58
views
.flowOn(Dispatchers.Main) blocks the main thread
Why does this code block indefinitely?
fun main() = runBlocking {
val myFlow: Flow<String> = flow {
emit("abc")
}.flowOn(Dispatchers.Main)
myFlow.collect {
...
-1
votes
0
answers
75
views
What is right way to implement simple token-based authentication in Spring Security [closed]
I'm developing small monolith Spring-based REST API application with next key points:
authentication will be only by username/password that are provided directly from mobile app.
as sending username/...
Advice
0
votes
0
replies
27
views
How to make Koog AI Agent aware of the previous messages in a Whatsapp API situation
I am creating an AI agent that chats with different customers via Whatsapp API. How am can I make the agent aware of the previous messages with the client?
I already save the messages in a database, ...