Localized Prices not displaying in text field on app
Hello,
I've been trying to figure out why the localized prices for my game's in-app products won't display in the text fields I've assigned them to, even though they work fine in Unity's editor. This problem only happens when I run the open testing build I've uploaded to Google Play.
I have set up my prices in the Google Play store to recognise the prices, and if I try to purchase an in-app product, it will display the local price correctly when the Google product pop-up appears. However, the ...
https://redd.it/1i46ku8
@reddit_androiddev
Quick Guides Catalog
I just found out a new Quick Guides Catalog section in the new documentation. This is great! I just hope Google won't discontinue this experiment....
https://redd.it/1i40gra
@reddit_androiddev
ndk-samples won't build
I am a JNI and NDK noob !!
Official NDK-Samples
System specs:
Android Studio Ladybug Feature Drop | 2024.2.2
Build #AI-242.23726.103.2422.12816248, built on December 17, 2024
Runtime version: 21.0.4+-12422083-b607.1 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.2, M1-Max Chip
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering i...
https://redd.it/1i3qy1h
@reddit_androiddev
Questions about Closed testing on Google Play Console.
Hi,
Like many other new indy devs I have been coding an app for few months and I'm facing that unexpected wall, closed testing requirement.
You must invite 12 testers continously testing your app for 14 days.
I have read the doc but I'm still a bit confused.
About the 14 days:
Is this a global countdown from when you publish your closed testing and if you don't meet the requirement you have to test again your app for 14 days?
Or you don't actually have a limited time for closed testin...
https://redd.it/1i3ox1m
@reddit_androiddev
DNS resolution with API 24
Hi everyone!
(TLDR in last paragraph)
I'm making an Android app and it needs to perform DNS resolution for domain names. The official Android documentation hints at using a class called DnsResolver which, however, is available only in API 29 and later.
I don't want to drop support for older versions, which is why my minimum API is set to 24. However, I also don't want to support versions older than 24 because I know the...
https://redd.it/1i3lb3d
@reddit_androiddev
Google Play Dev from the EU, question about reverse charge invoices and payments.
I'm from The Netherlands trying to do my taxes.
Now I'm checking my payments profile to check the payments I received.
Inbetween all these payments I sometimes get an Invoice from Google saying the following:
Services subject to the reverse charge - VAT to be accounted for by the recipient as per Article 196 of Council Directive 2006/112/EC
GCL Commercial register number: 512080
GCL share capital: EUR 1,000,000
This invoice was generated electronically and automatically, without a cash reg...
https://redd.it/1i3fgns
@reddit_androiddev
Is Jetpack Compose ready for production?
I'm considering using Jetpack Compose in a new project, but I'm not sure if it's mature enough to fully replace the traditional View。...
https://redd.it/1i39xjg
@reddit_androiddev
How can I record a Jetpack Compose screen with a live camera feed and overlayed drawings without using MediaProjection?
I'm working on a Kotlin Jetpack Compose screen that displays a live camera feed using AndroidView and overlays additional drawings via composables. I want to record this entire screen (camera feed + composables) into a single video file. However, I’d prefer not to use MediaProjection.
Does anyone know of a way to achieve this? Any libraries or techniques that could help would be greatly appreciated!...
https://redd.it/1i2p6l9
@reddit_androiddev
(Compose) BasicTextField(2) & AnnotatedString
Hello, community!
I’ve recently started working with the new implementation of BasicTextField (previously known as BasicTextField2 but now renamed to BasicTextField as the base implementation). This updated version uses TextFieldState, and I have to say—it’s a solid improvement. Kudos to the team behind it!
That said, one limitation I’ve noticed is that it currently doesn’t support mixed text styles, such as applying different styles throughout an AnnotatedString. I understand this is high on ...
https://redd.it/1i2npn2
@reddit_androiddev
ffmpeg-kit is being retired. Are there any alternatives without building ffmpeg and bindings yourself?
https://github.com/arthenica/ffmpeg-kit
https://redd.it/1i25lzo
@reddit_androiddev
Function, KFunction, KCallable, and all those other function types in Kotlin
https://youtu.be/-M5c3dPSPxw
https://redd.it/1i20xe2
@reddit_androiddev
Dynatrace and WorkManager Behavior When App Is Killed
Hello everyone!
I’m dealing with a scenario related to Dynatrace and WorkManager.
My question is: If the app is killed, will the WorkManager task still execute successfully? My assumption is that Dynatrace may not be accessible in such a situation. Has anyone faced a similar issue or knows how this would behave? Would appreciate any insights or resources!...
https://redd.it/1i1xq4b
@reddit_androiddev
Integrating Google ML Kit for Barcode Scanning in Jetpack Compose Android Apps
I have recently written an article on how to use google MLkit to scan a barcode or a Qr-code with your android phone in jetpack compose ,for any one interested you can read it at https://medium.com/proandroiddev/integrating-google-ml-kit-for-barcode-scanning-in-jetpack-compose-android-apps-5deda28377c9...
https://redd.it/1i1kent
@reddit_androiddev
How to compensate size after using Modifier.offset()?
Hello
Using Compose, I'm trying to make something that I could do easily using XML
I want to push something up, but i don't want to modify the location of its bottom
Here is my code:
ComposeTestTheme {
Scaffold(modifier = Modifier.fillMaxSize())
{ innerPadding ->
Column(modifier = Modifier.padding(innerPadding).fillMaxSize())
{
Button(onClick = { })
{ Text(text = "Button")}
Box(
...
https://redd.it/1i12n2c
@reddit_androiddev
Aren't we all generating POM files wrong?
Hey all, I've been trying to improve the publication of our Android Libraries (.aar) at my place of work.
And I've found that we essentially need to generate the POM dependencies because, unlike a Java lib, we don't get the dependencies automatically included
So we all probably have something along the lines of this in our publication logic:
```kotlin
pom.withXml {
val dependenciesNode = asNode().appendNode("dependencies")
val configurationNames = arrayOf("i...
https://redd.it/1i1550b
@reddit_androiddev
Networking library recommendations?
Assuming you aren't using something like GraphQL, what networking libraries are people using these days? In the past, I used Volley, Retrofit and OkHttp. Are Retrofit and OkHttp still popular or were they replaced by something else at some point?
Ktor seems to be the latest and greatest. What are some of its advantages over Retrofit, for example?...
https://redd.it/1i42a2d
@reddit_androiddev
'Exactly' when do we call it unit test
I have a viewmodel that takes a form filled from user and after making validations through various validation usecases it sends it to the server. I'm writing unit tests for this viewmodel but i cannot decide to whether or not i should mock or fake these validation use cases which are all pure kotlin code and never depend on anything external - except a resource provider class that helps to get system strings - (i am able to easily create an instance of them). Actually another issue i'm looking ...
https://redd.it/1i3n4bn
@reddit_androiddev
How to keep the scrolled bottom item visible when ime appears?
Hi all
Using Compose, I'm trying to make a column able to keep visible the bottom item when ime gets displayed
I have a text field at bottom of screen, and above is the column, filled with random text to make it scroll.
I tried a bit Modifier.imeNestedScroll()
, but I struggle, I'm not even sure it would do the job
Here is my code currently, but it's kinda buggy...
ComposeTestTheme {
Scaffold(modifier = Modifier.fillMaxSize())
{ innerPadding ->
Column(
...
https://redd.it/1i3p8u6
@reddit_androiddev
Multiple apps in single monorepo
I've seen a few threads about monorepos here but not quite exactly what I am facing. I've inherited a repo which contains multiple different (and very large) Android apps. Countless modules (great,) some of which are shared (also ok,) but most are not. Apps are solidly different and not something that would ever merge. Seems to have more downsides and overhead than any actual benefits.
In your experience, is this normal to stuff a bunch of apps into a single repo like this? Personally I've nev...
https://redd.it/1i3mgaj
@reddit_androiddev
Color Picker Kotlin Multiplatform Library
I have ported an android compose library to kotlin multiplatform library, you can check it out compose-multiplatform-color-picker, your feedback and contributions are more than welcomed
https://preview.redd.it/nwbqikdifjde1.png?width=1000&format=png&auto=webp&s=bb98d03a03898c1781dae5ca432adcb690270080...
https://redd.it/1i3e4nu
@reddit_androiddev
What is a proper way to change the color of an overlay behind a Dialog in Compose?
There is a scrimColor
property in ModalBottomSheet
, which allows to change the color behind a bottom sheet.
>scrimColor
\- Color of the scrim that obscures content when the bottom sheet is open.
At the same time it seems like the only way to change the color behidn a regular Dialog
is to use a fullscreen Box as a root view and adjust its background. Although I can't explain exactly why this method is wrong, something about it doesn't feel right. Is there a better solution?...
https://redd.it/1i3cgmd
@reddit_androiddev
Porting my iOS app to Android - is this how it should look like?
Hi all! I'm a long time iOS user, but learned Swift/SwiftUI a while ago and made an app (side-project). Now I'm trying to make a native Android version of it. I'm starting to get a hang of Kotlin and Jetpack Compose with Material3, but since I just briefly used an Android device 10 years ago I struggle with what the true "native Android look" is.
With SwiftUI things often "automagically" default to a certain look depending on the context. For example (see screenshot) if I put text labels and bu...
https://redd.it/1i2u8d7
@reddit_androiddev
Seeking advice on affordable android tablet for android development app testing + demo
Hi folks!
I have recently gotten into android development and I will need a device to sideload / test my apps on. Should I get and Android 15 tablet, or can I get by with 13 or 14?
I really would prefer not to break the bank on this so I am open to frugal options if possible.
Thank you!...
https://redd.it/1i2pbnz
@reddit_androiddev
Need help.
Trying to program my own app for android. I won’t speak too much but if anyone willing to help me reprogramming an app ...
https://redd.it/1i2aa6e
@reddit_androiddev
How long could it realistically take me to make an app from scratch
i basically want to make an app for my local hospital which involves making an id for all patients with which they can access videos they usually send or talk to the other person on the app only. nothing too private
considering the level of complexity and say i have around 10 hours ish a week will i be able to make this in less than a year?
i have done some coding before but not really any app dev,im planning to use android studio unless theres some better alternative?...
https://redd.it/1i22buy
@reddit_androiddev
Copilot vs Firebender Benchmark in Android Studio
https://redd.it/1i1q6y1
@reddit_androiddev
Android Translations Excel Converter (Convert strings.xml files to single Excel file and back) (+ plurals support)
https://github.com/PhilKes/AndroidExcelConverter
https://redd.it/1i1anf3
@reddit_androiddev
AYA: Android ADB GUI Desktop App
https://github.com/liriliri/aya
https://redd.it/1i15foc
@reddit_androiddev
Reducing Android Build Times on Azure by 80% using a Virtual Machine Scale Set (VMSS) · cekrem.github.io
https://cekrem.github.io/posts/reducing-android-build-times-on-azure-by-80/
https://redd.it/1i11ckc
@reddit_androiddev