• Breaking News

    Thursday, November 4, 2021

    Android Dev - Android ecosystem is plagued by bugs created by Google

    Android Dev - Android ecosystem is plagued by bugs created by Google


    Android ecosystem is plagued by bugs created by Google

    Posted: 04 Nov 2021 02:31 AM PDT

    For more than a year or so, Android developers with growing resentment observed an onslaught of multiple bugs in such popular SDKs as Admob and Firebase. Those bugs cause spikes in what is called ANR (application not responding) type of crashes. They're caused by issues in the SDKs themselves, and because of that developers have no means to reduce impact. In a few cases which I personally faced, responsible support teams simply ignore bugs and do nothing about them. Some of them have already existed for 2+ years with no fix on the horizon.

    On the other hand, Google Play ranking algorithm is very harsh towards apps that exhibit ANRs. Even the smallest spike in ANR rate dramatically reduces an app's visibility, performance, and as a result - revenue. So we have a situation, where Google punishes developers for the bugs that Google has created.

    This post is an attempt to bring attention to this topic since we already tried everything else.

    There are some links to related bugs, and support topics discussion.

    https://github.com/firebase/firebase-android-sdk/issues/2387

    https://github.com/googleads/googleads-mobile-unity/issues/1825

    https://groups.google.com/g/google-admob-ads-sdk/c/eabu4XtJLzo

    submitted by /u/22eu
    [link] [comments]

    I made a very simple XKCD app

    Posted: 03 Nov 2021 09:58 PM PDT

    I made a very simple XKCD app

    I am a hobbyist, with no formal training and with no intention of going pro. I code (poorly) for myself, just for fun. A few months ago, I decided to get into Android development by choosing a simple project first and then learning new concepts and ideas on the way.

    Here's what I made so far: https://github.com/nskHimel/XKCDViewer/tree/master

    Made my app using Kotlin and Jetpack Compose.

    It's pretty rudimentary, and probably poorly coded, but I am pretty happy with my progress. I'd love to hear your comments and ideas on this.

    Note: I tried to limit my use of external libraries, so that I can learn how to do basic stuff myself. I should have used Glide to download the images, for instance. I do plan on learning Glide and other libraries in the future.

    Here's how my app looks:

    https://i.redd.it/6um7sc0nmjx71.gif

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

    Jetpack Compose: Modifiers fundamentals

    Posted: 04 Nov 2021 12:10 AM PDT

    Google Play Console - app not getting reviewed

    Posted: 04 Nov 2021 06:42 AM PDT

    Hi,

    I have uploaded an app with my newly created developer account on october, 14th and it has not been reviewed by google since then, so almost 3 weeks.
    Is it normal ? What can I do ? I can't find any place where I can contact Google about it.
    Thank you.

    p.s : I have another developer account where I had uploaded the Alpha version of the same app and it took only a few days, but maybe there is a conflict between the 2 developer accounts (with different emails but paid with the same credit card).

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

    Introduce Kotlin coroutines and Flows to the callback-based Java client

    Posted: 04 Nov 2021 02:51 AM PDT

    How to make Request to get the serial number of Android device in Android 10+ ? (unity)

    Posted: 04 Nov 2021 06:28 AM PDT

    Hello,
    In android 8- the getting of serial number of the android device was easy and don't need to make access but in android 10+ we should make request to the user to take the permission to do that .
    Does anyone knows how to request this permission?
    Thanks.

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

    Why did Android Application start 1 to 3 times on a single launch?

    Posted: 04 Nov 2021 06:13 AM PDT

    I have a simple code as below

    class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) MainApplication.something++ Log.d("Tracking", "onCreate ${MainApplication.something}") setContentView(R.layout.activity_main) } } class MainApplication: Application() { companion object { var something = 0 } override fun onCreate() { super.onCreate() Log.d("Tracking", "Application onCreate $something") } } 

    I get the below log

    2021-11-04 23:55:31.409 7810-7810/com.example.empty D/Tracking: Application onCreate 0 2021-11-04 23:55:31.445 7810-7810/com.example.empty D/Tracking: onCreate 1 2021-11-04 23:55:31.409 7810-7810/com.example.empty D/Tracking: Application onCreate 0 2021-11-04 23:55:31.445 7810-7810/com.example.empty D/Tracking: onCreate 1 2021-11-04 23:55:31.445 7810-7810/com.example.empty D/Tracking: onCreate 1 

    Why Application can start multiple times on a single launch?

    I have a little investigation with more detail here https://stackoverflow.com/questions/69839732/why-did-android-application-start-3-times-on-single-launch

    Thanks.

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

    All apps are ready to serve ads, but AdMob still limiting the ads in my account, what should I do

    Posted: 03 Nov 2021 12:33 PM PDT

    All apps are ready to serve ads, but AdMob still limiting the ads in my account, what should I do

    Hi everyone, as you can see in the screenshot below, all of my apps are ready to serve ads, but AdMob still limiting the ads in my account, I tried to contact them several times, they didn't respond :

    https://preview.redd.it/p92v9yvymfx71.png?width=303&format=png&auto=webp&s=5c81170807b9ea97a16dd856103a2891647e8b8e

    What should I do, right now, I'm using FAN, but I would like to continue using AdMob.

    Thank you

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

    How to make Request to get the serial number of Android device in Android 10+ ? (unity)

    Posted: 04 Nov 2021 05:31 AM PDT

    Hello,
    In android 8- the getting of serial number of the android device was easy and don't need to make access but in android 10+ we should make request to the user to take the permission to do that .
    Does anyone knows how to request this permission?
    Thanks.

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

    Pin not working on phone (I don't know where else to post this)

    Posted: 04 Nov 2021 05:24 AM PDT

    The pin for my phone is not working even though it is correct (I am sure.) I can't restart my phone or power it off unless I have the password ether. The last time this happened to me I waited until it went flat which took a few days and it worked but I would rather not have to wait so long.

    submitted by /u/Sweet-Tonight-6284
    [link] [comments]

    Hey Android Developers, Do you believe Windows 11 is here for rescue to give you a faster build time? In this video I did a benchmark testing how your Android app build time changes on Windows 11.

    Posted: 04 Nov 2021 12:24 AM PDT

    App update stuck in review

    Posted: 04 Nov 2021 03:46 AM PDT

    We uploaded an update for our Android app to the Play Store almost 2 days ago. Since then it is "in review". Usually our updates make it through review in a few hours. Is anyone experiencing the same issue?

    submitted by /u/Galahad-Threepwood
    [link] [comments]

    Best ways to (indirectly) direct users to a web payment platform?

    Posted: 04 Nov 2021 02:19 AM PDT

    I would like to ask opinions & resources for best practices on directing mobile app users to a web payment platform, without deteriorating the funnel and the UX. Any insight would be appreciated.

    Details:

    Our mobile app has cross-platform access across Android, iOS, Windows and Mac (desktop versions recently launched). Users can only get cross-platform access if they make a purchase from the web payment platform. I'm looking for an optimal workaround: both UX and CR-wise.

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

    Question: Is there any documentation with available api for specific android version

    Posted: 04 Nov 2021 01:43 AM PDT

    In apple world you have page like this: Technologies where you can see all API which you can use in ios, macos and so on. Plus there is page for swift about basic library telling you what can you use. For android i'm looking for something like this. But I found only Reference which for me looks like few class for google play interaction.

    And for kotlin/java is there something telling me which packages I can use in my app ?

    Thanks for clarification

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

    Can anyone explain to me the way of showing data from SQL database in a mobile app securely?

    Posted: 03 Nov 2021 04:19 PM PDT

    Hello. Noob here, I'm starting to learn mobile development. After I complete courses and learn Kotlin I want to do the following, but I simply don't understand the way of doing it from the beginning to the end.

    I have a SQL Database, running on a Windows Server and I can access it via ODBC within the same network. I want to show customers, articles, invoices, etc. from that database in my mobile app, but it must be secure so others can't access the data in any way. How do I do that?

    Do I need a backend/server-side app that gets data via odbc on that server from the database and then afterwards I have to connect my mobile app to that backend to access data? If so, which backend do I need for example? How do I make it secure?

    Afterwards I would want to make some changes within the app (change customers address for example) and change the data in the database too.

    Sorry, it may sound dumb but since this is completely new for me, I don't understand how could I do that.

    I've read about REST api but idk how it works with odbc, should it be written in python, php, node.js or something else. Do I need firebase, something else? If firebase, is that normally used by companies or do companies build the connection between phone and database without firebase?

    Thank you.

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

    I need a Single Source of Truth across the app

    Posted: 03 Nov 2021 09:37 AM PDT

    Hi everyone! 👋

    I'm working on a new project and I need to access data from every corner within the app. From the Activities, from the Fragments, etc. And I need to keep this data on sync. To give you an example, let's say I'm working on a banking app, and I have these Document objects I need to access from all these different places. I also have a Web Socket that will trigger events, and the app actively listens for these events. Every time I get one of these events, I need to perform an API call to the backend server to update the Document info. And here's the important bit; I need to update the UI on all these different places so they show the latest, most up to date info for these Documents.

    What I'm thinking about doing is to have an in-memory Room DB. So, you know I can actively listen to the queries via Flow and -- through a ViewModel -- update the UI from all these different Activities/Fragments.

    What do you guys think about an approach like this? Is it an overkill? I just think this is most scalable solution. 🤔 WDYGT? Have you guys ever have to implement something like this?

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

    Help!? Google rejecting my app for uploading user contact list.

    Posted: 03 Nov 2021 09:02 PM PDT

    Android studio not running app on emulator, trying to import project from GitHub code.

    Posted: 03 Nov 2021 02:31 PM PDT

    Hi all,

    Learning android dev and taking googles android dev course. I'm to download code from GitHub and upload to android studio, however when I try to run the app it just says waiting for all target devices to come online even though my emulator is running. Tried all sorts of stuff, not sure what the problem is.

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

    Can I use admob mediation to show FAN ads even with AdMob limited ads?

    Posted: 03 Nov 2021 02:07 PM PDT

    Hi guys, admob has limited my account to analyze the traffic quality of my apps. It happened after my app was removed from the Play Store for containing the word 'free' in the title. As soon as I corrected and sent it for analysis, the limitation occurred.

    I would like to know if I can use admob's own ad mediation to insert Facebook Audience Network ads into my apps (maybe even other ad networks like AdColony).

    That would be legal? Would this limitation of admob ads also limit the ads of other mediation networks (such as facebook)? Thanks

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

    Google Maps Additional Functionality "Plugin"

    Posted: 03 Nov 2021 10:44 AM PDT

    Hey y'all! Wondering if it is possible to, augment the functionality of Google Maps app through the use of another app/plugin?

    Here's a small bit of my use case...the user would be able to choose an option, within the Google Maps app, that would enable them to use a different route, with data informed from the third party app.

    Disclaimer, I'm not a dev... just a UX/UI designer

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

    How to remove Google Play Protect requirement?

    Posted: 03 Nov 2021 09:56 AM PDT

    My app on Google Play can't be installed on devices that don't have Google Play Protect enabled and are Play Protect Certified (like rooted ones) but I haven't turned this on, and I can't figure out how to turn it off. Is this a requirement set by Google for apps that have in-app purchases?

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

    No comments:

    Post a Comment