reddit_androiddev | Unsorted

Telegram-канал reddit_androiddev - AndroidDev - Reddit

-

Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels

Subscribe to a channel

AndroidDev - Reddit

My app got rejected because of Sign in google

Hi everybody!

I hope you’re doing great today. I have a question—my app has been rejected twice now, and I want to understand why.

First, my application requires logging in with a Google account. The first rejection was due to the tester encountering a “Developer error” after clicking the Google Sign-In button. I worked on fixing the issue and submitted a new version.

Now, they have rejected it again, stating: “Missing demo or guest account details.”

I’ve tested my app in both production...

https://redd.it/1j3xzkx
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Samsung not loading maps - Android Maps SDK

Greetings r/ad

We having a heck of a time with Google Maps API specific to Samsung phones. Read on it gets strange!

Our app utilizing Maps SDK for Android. Within our app, the map immediately in Google Pixel phone, but in Samsung devices, it takes 2-3 mins to load map. Initially we believed an issue with our app AGP(Android Gradle Plugin) version and Google maps SDK version. So in our app, Google Maps SDK version was 19.0.0 and AGP version was 7.4.2. Though AGP v7.4.2 is compatible with Goo...

https://redd.it/1j3oftq
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Which is better, empty Composable block, or null?

Given a Composable function with a Composable content parameter with a provided default, which would have a better impact in terms of performance, or is there any performance gains either way?


What are some other "gotchas" to be aware of for either scenario?

Option A (Empty block default):

@Composable
fun SomeComponent(optionalContent: @Composable () -> Unit = {}) {
optionalContent()
...
}

Option B (Null default):

@Composable
fun SomeComponent(optional...

https://redd.it/1j3oxeu
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

JetPack compose or XML?

I am a student learning android dev and I have this project where I have short time (a little over 2 weeks) left. Up until now I have only been using XML, I am still not good at it at all but I am gettting the hang of it a little bit. I am free to pick any of them so I was wondering which one you recommend in terms of jobs and time. Is it easy to learn or do you recommend I should stick to XML and get more practise.


I really appreciate the answer!...

https://redd.it/1j3p5i5
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

ADB Ep. 213: Compose runtime and performance
https://adbackstage.libsyn.com/episode-213-compose-runtime-and-performance

https://redd.it/1j3mpkb
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

🚀 Tired of digging through endless app reviews? Meet Insightly.top – AI-powered feedback analysis!

Hey product folks, developers, and support teams – drowning in App Store and Google Play reviews? 😵‍💫 Trying to find actionable insights but getting lost in the noise?

Well, **Insightly.top** is here to save the day! 🎉 Powered by cutting-edge AI, it analyzes and organizes user feedback automatically, helping you make data-driven product decisions with ease.

# 🔥 Game-Changing Features:

✅ Instant Review Summaries – No more reading hundreds of comments; get th...

https://redd.it/1j3i6lk
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Devs, how do you handle meal planning without breaking flow?

I’m always looking for ways to optimize my time, and meal planning is one area I haven’t quite mastered. Do you have a system for making sure you eat well without disrupting deep work? Do you batch cook, use meal delivery, or just wing it? Any go-to meals that are quick, healthy, and dev-friendly? Any hacks that minimize decision fatigue!

...

https://redd.it/1j38eg2
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

migrate fragments transaction to compose navigation

Is it possible even to do that in a large code base written with fragments transaction?...

https://redd.it/1j38edm
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Future of AndroidDev with Vinay Gaba · Fragmented #257
https://fragmentedpodcast.com/episodes/257

https://redd.it/1j34lw0
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

New Open Source Library for managing Permissions in Jetpack Compose

Have you ever been stuck writing endless Android permission code and feeling like you’re drowning in boilerplate?

I felt that pain too, so I built an Open Source Jetpack Compose library that handles permissions for you 😊

**This library:**

* Checks your manifest automatically and offers custom UI for permission prompts.
* Handles lifecycle events seamlessly and even automates release management with GitHub Actions 🚀
* Configure custom rationale and settings dialogs to match your app’s sty...

https://redd.it/1j2oydv
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How is the IP subnet for Wi-Fi hotspot chosen on Android?

I am using the Wi-Fi hotspot on my (quite new) mobile phone and I am observing, that the IP subnet for the hotspot is 192.168.x.0/24 with x randomly chosen, but constant - the value of x is the same every time I start the hotspot (at least up to now).

Last time I tried this on another phone, x was NOT constant, changed every time when I started the hotspot.

Does this depend on the Android version or some configuration or whatever? I am using Android 14 on my phone.

I tried to look up the code...

https://redd.it/1j2b0n8
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Fleet vs Android Studio with KMP

Does anyone use Jetbrains Fleet to create projects in Kotlin Multiplatform? What does it look like now and what is the difference between Fleet and Android Studio. Does it take less computer resources, anything else missing?...

https://redd.it/1j202pj
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Decompile Hotstar

Hi,


Will decompiling hotstar app provide me the list of domain or IP used by this app? I am trying to find the domains to create a routing rule?...

https://redd.it/1j1qqxz
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Method to implement serverless IAP?

The logic behind a server is security (harder to spoof) and transferrability (user can redownload a paid for item if they uninstall/reinstall the app eg. one time purchase in which a user removes ad from the app).

1. If I was willing to forgo security and transferrability (so long as users were clear the item only exists for that copy of the app), is IAP possible? The billing guide from google does not make it clear it can be skipped because I would still need to receive the real time notifica...

https://redd.it/1j1e64m
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Is there any need for constraint layout in Compose?

Are there any problems it solves which can not be solved by Compose components such as Rows and Columns, etc? Are people really using Constraint layout in Compose?

Asking as new Compose learner....

https://redd.it/1j0xrqx
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Galaxy S25 Ultra Misreporting Refresh Rate in Android API

I'm doing some experimentation with a cross-platform framework on my Galaxy S25 Ultra.

I noticed some of the animations were playing out quite rapidly, only on this phone. So i did some digging.

I ran the following code on several phones in the Main Activity.

import android.view.*;

Display display = ((WindowManager)getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
float refreshRating = display.getRefreshRate();
System.out.println("Refresh Rate: " + refreshRat...

https://redd.it/1j3nycn
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Testing: Instrumentation vs Integration vs Unit vs UI

I know this has been asked a few times but one key question I never saw answered is, specifically, what the heck is the difference between instrumentation and integration testing? People often even use them interchangeably... what a mess.

This is how I understand things so far and I'd like feedback (**do not take these as facts**):

**Instrumentation:**

* Runs on an actual device/emulator
* Is used to test Android framework components (ViewModels, Fragments, Room Database, etc.)
* Lives in `/a...

https://redd.it/1j3sirh
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Romain Guy is leaving google

The end of an era:

https://bsky.app/profile/romainguy.dev/post/3ljlgme7pls2g...

https://redd.it/1j3qgar
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What's your thoughts on interview questions like these ?

Just gauging general perception-trends.

Company-1

Given, an Unreliable back-end api associated with a Auto-Dealertship Parking-lot or something similar, as in, any HTTP invocation could get you a decent response or fail with some erroenous-response, something like that, and considering all necessary practices such as Dependency Management, and Retrofit instance, and OkHttpClient instance are all properly setup in the code-base, what would you do to "manage" such an unreliable API ?

in...

https://redd.it/1j3n0wr
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Want to discuss App Startup Challenges

Okay so I'm a \~150k ARR App Startup Founder(can't name startup, would be considered promotion). The revenue is flat-lining. And we've tried throwing pretty much everything at the wall. I want to overcome this ditch. And I feel like I should talk to some people who've made it work on Google Play with their Apps/Games. About challenges you've overcome.

Can we like chat for 15 mins? Won't ask anything confidential ofcourse 😇. If you're interested please comment/dm your App name and MAU.

In retur...

https://redd.it/1j3iobp
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Issues using weight modifier

So I am learning Android development using Jetpack Compose, and for some reason, I can't get the weight modifier to work. Let me explain

For some reason, the `weight` implementation is internal, so I can't use it(I guess?)

https://preview.redd.it/jfrcnudo0ome1.png?width=760&format=png&auto=webp&s=4fbc0f30cffe35615241055330c5b71960c236fa

https://preview.redd.it/n3yfmcns0ome1.png?width=411&format=png&auto=webp&s=936f06598bfade9cac8e862d15e1ecd5198f3b94

This has only happened to the `weight\...

https://redd.it/1j39m0p
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Taking notes

Noob here 👋 my question might be funny but Should I take notes while learning android development? If "no" then what do you do to have a strong grip on things you learn.
Or if "yes" then how do you take notes so that it doesn't take much time.

Currently I'm taking digital note with simple code and wedding down syntax along with what it does and why we use it specifically. This process cost me too much time and energy :(...

https://redd.it/1j38j0n
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Play Console Termination

Hi,

5 - 10 years ago I created and published some apps on the Play Store which resulted in getting developer account terminated. The appeal did not go through, and since then I was unable to access the console. As far as I remember, I used some builder to make a quiz app and apperantly it was too similar to some other apps or smth like that.


Anyhow, a few friends have startup and they want me to work with them, however, if they add me as a developer on the console (either Admin or User), co...

https://redd.it/1j38cx6
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

InfiniteTransitions and memory pressure

I have a kiosk app that has an infiniteTransition that translates continuously back and forth

u/Composable
fun WelcomeText() {

val infiniteTransition = rememberInfiniteTransition(label = "Engagement Text Infinite Transition")

val translateY by infiniteTransition.animateFloat(
initialValue = -20f,
targetValue = 20f,
animationSpec = infiniteRepeatable(
animation = tween(durationMillis = 1000),
re...

https://redd.it/1j2pdal
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

I made a gradle task but it has a bug

I've been working on a small Gradle task (GitHub link) that organizes APKs after they're built. By default, Android Studio generates APKs inside the build directory, so I wrote a script that copies the generated APK to a different folder and renames it to include details like:

Package name

Version name & version code

Git branch name

Timestamp


This makes it easier to manage builds. The script works fine, but there's one annoying i...

https://redd.it/1j2jyus
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Background location not working for Samsung Devices running Android 14

I just wanted to share the issue that I am observing in case someone knows what is going on: I work on an app that is used to ensure the welfare of filed workers when they are performing certain tasks. As such, it makes use of background location tracking in case a user is unresponsive and needs to be located, for example.

We went through all the formalities to get Google to approve our use of background location and we are quite familiar with all the factors that can prevent our app from gett...

https://redd.it/1j23y1o
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Android studio process uses 15 gb on Macbook M2

I've never had any issues with memory on 16GB macbooks until I switched to compose this week. The memory consumption is through the roof. Emulator is using extra 3-8 GB of RAM.


I've never had lags even when running 2 emulators, but with compose the lag is constant.


Does anyone know how to fix this?...

https://redd.it/1j216pu
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Google Play Console is a joke

Last march me and few of my friends have taken part at a hackaton with the topic of creating a solution for elderly people. And we won the first place, so we had to develop an app and we'll get some money as funding for our project. The project/product management part was easy, the development part was ok (we were very unskilled at that time, made lots of mistakes which we fixed now) and now it came to the time to make the app available to the public.

1. Creating a google account - took me A MO...

https://redd.it/1j1nu2z
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How to share a Closed Testing build?

This is my first Android app, having trouble getting it through the Play Store.

I did Private Testing with \~15 folks, went fine.

I moved to Closed Testing, but no-one (on the same testers list as the private tests) can get to the app. The "sharable link" gives a 404. How can I tell my testers to get the closed test build?...

https://redd.it/1j1562s
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Root protection advice

At work we got a pen test complaining about not having root protection and that can compromise our data base. Currently we use proguard/R8.
The pen test company suggested to use root beer, appdome or similar.
Our company discarded the paid ones. I think they are the most secure but the signing process is a pain.
I found the Google integrity library but I think this would require some back end work and company is short on BE.
In the past I have used some 3rd party signatures and they made the ...

https://redd.it/1j10ymf
@reddit_androiddev

Читать полностью…
Subscribe to a channel