• Breaking News

    Saturday, January 23, 2021

    Android Dev - App Feedback Thread - January 23, 2021

    Android Dev - App Feedback Thread - January 23, 2021


    App Feedback Thread - January 23, 2021

    Posted: 23 Jan 2021 06:00 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make a top level comment
    • must make an effort to respond to questions and feedback from commenters
    • app may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

    submitted by /u/AutoModerator
    [link] [comments]

    My first OSS library: Use Compose UI to create native looking apps for Mac

    Posted: 22 Jan 2021 09:14 PM PST

    FirebaseAuthFallbackService leak

    Posted: 23 Jan 2021 03:43 AM PST

    Its leak that going a lot but i use FirebaseAuth.getInstance only in repository Have no idea what is the problem Also have Google and FB sign in implemented

    ┬─── │ GC Root: Global variable in native code │ ├─ com.google.firebase.auth.api.fallback.service.zza instance │ Leaking: UNKNOWN │ Retaining 1.7 kB in 10 objects │ zza instance of com.google.firebase.auth.api.fallback.service. │ FirebaseAuthFallbackService │ ↓ zza.zza │ ~~~ ╰→ com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService ​ instance ​ Leaking: YES (ObjectWatcher was watching this because com.google.firebase. ​ auth.api.fallback.service.FirebaseAuthFallbackService received ​ Service#onDestroy() callback) ​ Retaining 1.2 kB in 9 objects ​ key = d411935b-9bcd-4a8d-8362-a6c8687aec0e ​ watchDurationMillis = 5285 ​ retainedDurationMillis = 281 ​ mApplication instance of com.upgrades.venue.pro.MainApplication ​ mBase instance of android.app.ContextImpl

    METADATA

    Build.VERSION.SDK_INT: 29 Build.MANUFACTURER: HUAWEI LeakCanary version: 2.6 App process name: com.upgrades.venue.pro Stats: LruCache[maxSize=3000,hits=3024,misses=76925,hitRate=3%] RandomAccess[bytes=3833319,reads=76925,travel=35078947902,range=24297490,size=30 119832] Heap dump reason: 1 retained objects, app is not visible Analysis duration: 38108 ms

    submitted by /u/dimiitpk
    [link] [comments]

    Java Mobile App: How to Display on Mobile?

    Posted: 23 Jan 2021 08:15 AM PST

    I'm building a mobile app for Android and iOS in Java. It's a game, and I'm designing the structure of the backend first while I figure out how I should display it and receive touch input. Any suggestions?

    submitted by /u/Drag0nDr0p
    [link] [comments]

    Android Library to manage Google Play Billing, In App Purchases and Subscriptions with just a few lines of code.

    Posted: 22 Jan 2021 08:57 PM PST

    Android Library to manage Google Play Billing, In App Purchases and Subscriptions with just a few lines of code.

    IAP is an Android library to handle In-App purchases with minimal code.

    • Written in Kotlin
    • No boilerplate code
    • Easy initialisation
    • Supports InApp & Subscription products
    • Simple configuration for consumable products

    https://github.com/akshaaatt/Google-IAP

    Make sure to star the project if you liked my contribution :)

    I've added a cool sample app which helps better understand the usage with integration to the Play Games Library.

    Hope it helps you out!

    Sample App

    submitted by /u/akshaaatt
    [link] [comments]

    Automated Testing with MSAL Login

    Posted: 23 Jan 2021 08:10 AM PST

    Hello everyone! I am working on developing a automated ui testing suit. One of our apps requires the user to log in using the MSAL library; the app is useless without a successful authentication. The goal of the test suit is to log in to our server development environment, and run through our core functionality in ui. This issue is that when the user is asked to accept permissions, MSAL throws a "No interactive call in progress" error message. This is a major road block, as it is preventing the testing suit from logging into the app. The "No interactive call in progress" error only occurs under the testing scenario. Does anyone have any experience with writing automated test using espresso with the MSAL library/has experienced this problem? Thanks!

    submitted by /u/ppsmith123
    [link] [comments]

    Android Studio 4.2 occasionally doesn't start

    Posted: 23 Jan 2021 06:55 AM PST

    Hi all,

    I'm running Android Studio 4.2 Beta 3 (and previously Beta 2), on a Windows 10 Pro system (Ryzen CPU, 64 GB RAM).

    Normally, it runs well, but every once in a while, I'll go and launch AS from the Start Menu, and nothing happens. The process sticks around, but no splash screen, no window, no nothing.

    Looking at the event viewer, I see this:

    Faulting application name: studio64.exe, version: 4.2.0.0, time stamp: 0x5d71842b Faulting module name: studio64.exe, version: 4.2.0.0, time stamp: 0x5d71842b Exception code: 0x40000015 Fault offset: 0x00000000000125fd Faulting process id: 0x14a0 Faulting application start time: 0x01d6f196d5c12c0c Faulting application path: C:\Program Files\Android\Android Studio\bin\studio64.exe Faulting module path: C:\Program Files\Android\Android Studio\bin\studio64.exe Report Id: 7e3dcf14-39eb-43ad-910e-7b9dacc0b6fd Faulting package full name: Faulting package-relative application ID: 

    pretty much every time the problem occurs. Has anyone else seen this before?

    submitted by /u/mrkane27
    [link] [comments]

    Do we need to translate User Agreement and Privacy Policy to other languages?

    Posted: 23 Jan 2021 05:35 AM PST

    Hello I made an app. Users can register and login. I made User Agreement and Privacy Policy. But this agreements are in Turkish. Do I need to translate them to English? or any other language? My app support English and Turkish currently. What's the google play store policy on this?

    submitted by /u/throw_away_uk_law
    [link] [comments]

    Any Idea how to run all test classes at once in Android Studio?

    Posted: 23 Jan 2021 03:05 AM PST

    I'm tired of switching to AndroidStudio every time for just run the application

    Posted: 23 Jan 2021 01:53 AM PST

    I have a 8GB M1 Mac mini, so you know that AS hasn't supported yet. At the same time, we have Intellij Idea ARM version. At this point, I'm coding on Intellij Idea and Save&Close it then running it on AS with my phone. When I tried to run app in Intellij, it says launching, installing app etc. But nothing happens. I don't know how to run it on my phone using Intellij. Do you guys have the same problem?

    submitted by /u/philosopher_ibrahim
    [link] [comments]

    Does anyone notice that playstore is not showing videos anymore?

    Posted: 22 Jan 2021 07:34 PM PST

    i have few app on Google Play, but today when i opened them there were only screenshot previews. And not just my apps i opened other apps and found same there.

    submitted by /u/tehleel_mir_official
    [link] [comments]

    New Year Check - What is your app's minSdkVersion at this date ?

    Posted: 22 Jan 2021 10:33 AM PST

    Hello everyone, just wanted to ping everyone to know what is your application's minimum sdk version.

    I am currently thinking to migrate our apps from 21 to 23. Our apps usage of level 21 devices are likely 2% percent or less.

    submitted by /u/makateller
    [link] [comments]

    What can Kotlin do that Flutter can't?

    Posted: 22 Jan 2021 08:57 PM PST

    Just started a course on flutter after 6 years of Android dev. I'm wondering what can Kotlin do that Flutter can't? Flutter is awesome, the way it just paints the ui is insanely intuitive. I really disliked the xml in android so that's a plus. But what can't Flutter do that Kotlin can?

    submitted by /u/JamesGarfi
    [link] [comments]

    Creating an Android app when I have an iphone?

    Posted: 22 Jan 2021 11:13 PM PST

    Is it possible to start developing an Android app if I use an iPhone? I have a Windows laptop so I can develop the app, but I don't know how I would test it without an Android phone. Do I need to resort to buying a Samsung Galaxy?

    submitted by /u/Practical-Cow-2709
    [link] [comments]

    [Firestore] Has anyone had issues where backgrounding the app for 1 hour causes snapshot listeners to take around 60s to recover when returning to the foreground?

    Posted: 22 Jan 2021 03:07 PM PST

    It feels like once the app is in the background for a while, Firestore goes into a bad state that when returning to the foreground it won't give me new snapshots until after 60 seconds.

    Here's what I'm seeing:

    1. In app, attach a snapshot listener to a query
    2. I get immediate data from the cache and I see fresh data from the network coming in every 20-30 seconds (working perfectly, since I update the database every 20-30 seconds)
    3. Put the app in the bg for 1-2 hours
    4. Return to the app - the snapshot listener either already exists (view model was never destroyed) or it is recreated (if say I had navigated to another screen before backgrounding the app). In either case, the snapshot listener calls back with data from the cache immediately, but it won't hit the network until after 60s
    5. Now that it has "reconnected" it continues to call back with fresh data every time the DB has new data (20-30s in my case, perfect).

    I've noticed a few things:

    1. Killing the app and restarting will give me network data immediately
    2. Detaching/re-attaching snapshot doesn't fix the issue
    3. Seems to be a "bad state" of the entire firestore instance. (E.g. if I have multiple screens each with a snapshot listener from a different collection, when I go into this bad state NONE of them will give me fresh data for 60s, once it "reconnects" suddenly ALL screens are getting fresh callbacks.
    4. Changing from Wifi to LTE while in the bad state causes it to immediately call back with network data

    I've tried using the firestore.enableNetwork() to try to "reset" the firestore state but no luck.

    My SO question
    Found a couple people with exactly the same problem but with the flutter SDK:
    Here and Here

    No answers of course.

    This results in extremely bad UX. In my case it's game scores that aren't up-to-date unless you wait for 60s. In an example one of the flutter folks posted it's a chat app. Imagine getting a notification of a new message but opening the app to not see the message unless you wait for 60 seconds..

    Any help is appreciated, thanks!

    submitted by /u/Obi-Wan_Ginobili
    [link] [comments]

    Why are you here?

    Posted: 22 Jan 2021 11:45 AM PST

    Hey guys! So I guess we are all here to learn, but to what end?

    I'm my particular case it started as a hobby but now I am looking forward for a job in the mobile industry.

    View Poll

    submitted by /u/NessunoETutti
    [link] [comments]

    Did someone ever successfully run Valgrind compiled for Android to profile a program (written in c/c++ compiled using NDK clang) in recent Android APIs (>= 28)?

    Posted: 22 Jan 2021 11:21 AM PST

    I want to run Valgrind natively on Android. I compiled using the newest NDK toolchains following the readme. The valgrind binaries are installed at /data/local/Inst . But when I try to run I just get errors.

    The valgrind code was written when android was at version 4.x, I don't know if it is too old and will not be compatible.

    Did someone accomplish it in recent versions?

    submitted by /u/Grevillea_banksii
    [link] [comments]

    ESP32 communication

    Posted: 22 Jan 2021 02:16 PM PST

    So I have been trying to make an app that can control gpio pins on esp32, but I can't make it so that the webpage loads in the background(currently it opens a new chrome webpage), I have also tried using Webview but that doesn't work. Someone, please help.

    MainActivity code: https://pastebin.com/U7HGx1SC

    Manifest: https://pastebin.com/JPx3fdDQ

    activity_main(xml): https://pastebin.com/2d6wswrd

    Thanks in advance!

    submitted by /u/Leo6002
    [link] [comments]

    Question about rebooting an inactive app

    Posted: 22 Jan 2021 01:40 PM PST

    I have an app that I haven't updated in a bit over a year. When I was active with it, I had about 20,000 total installs. Currently it looks like I have about 1,200 devices installed and 4 within the last 7 days.

    My question is, if I want to start developing it again and adding features and rebuilding a user base, should I use the same app (it ultimately would still be the same app) listing in the Google Play store to deploy to, or would I get more organic traffic if I created a new listing to deploy to?

    Part of me is wondering if this a stupid question, but I know that for example with Amazon books that newer items with x amount of traffic get more visibility than older items with the same x amount of traffic.

    submitted by /u/andeleidun
    [link] [comments]

    Datababase model for coffee shop app

    Posted: 22 Jan 2021 03:23 PM PST

    Hi Everyone!

    I'm creating a coffee shop app where clients can buy customisable coffee, I mean client can buy Americano Coffee but he can add specific type of milk or some other toppings, specific size and so on. My question is about database, how can I design the database to store all this info, maybe with a relational tables or maybe I need to use nosql? I a bit stuck with this and don't know how to solve this problem. Can you show me how to desgin this database?

    submitted by /u/_eiferer
    [link] [comments]

    No comments:

    Post a Comment