• Breaking News

    Tuesday, October 5, 2021

    Android Dev - Weekly Questions Thread - October 05, 2021

    Android Dev - Weekly Questions Thread - October 05, 2021


    Weekly Questions Thread - October 05, 2021

    Posted: 05 Oct 2021 06:00 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Chinese publisher copies our app icon and Google Play removes our 2016 app for infringing impersonation policy

    Posted: 05 Oct 2021 03:01 AM PDT

    Chinese publisher copies our app icon and Google Play removes our 2016 app for infringing impersonation policy

    Last week, on the 29th September, we received the dreaded app removal email from Google Play team due to a policy violation for our game One More Brick (com.riftergames.onemorebrick).

    The "issue" reported was: "App Icon: "Your app icon appears to contain images or words you may not have permission to use." and links to the Impersonation policy.

    https://preview.redd.it/mxscef8mtlr71.jpg?width=1000&format=pjpg&auto=webp&s=26ed390a7df1c0e7746c0ed7a1cbe107e6f4a222

    We didn't have a clue on how this might have happened, we've always been very cautious and careful to make sure we comply with Google Play policies. One More Brick was published on 2016 and we never changed the icon since. There's several archived online tweets and posts on social media (Twitter, Touch Arcade, Reddit...) for anybody to check we designed the app icon on 2016.

    https://preview.redd.it/zxksstqttlr71.jpg?width=600&format=pjpg&auto=webp&s=28f592033f258fc7129953e46ad28ba200f9ff67

    Doing a bit of research we found a quite popular (1M+ downloads) 2021 game from a Chinese publisher that is using a slighly modified version of our app icon.

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

    The only option we can think for our app to have been flagged for infringing the Impersonation policy is it has been reported to impersonate that other app (either by several users or an algorithm).

    Being a removal (and not a suspension) Google gives the developer the option to either upload an update with a new icon or make an appeal. We decided to make the appeal on the 30th hoping it would take 2 business days as stated on the website and this could be quickly resolved.

    We haven't yet received an answer for the appeal but during this time we have:

    • Lost all IAP revenue for existing users (Google policy is not to allow IAP on removed apps).
    • Lost most of our ad revenue on existing users (both Google Mobile Ads and Facebook Audience pause monetization on removed apps).
    • Angry users who may not come back who are frustrated due to not being able to get rewards or make IAPs.
    • Potentially lost ranking position and visibility on Google Play.

    We feel that, even if, hopefully, the appeal goes through, we haven't had a chance to defend ourselves in this whole process, we are guilty until proven innocent.

    Thanks for reading, we'll keep you posted.

    Update: We have just received an email the appeal has been accepted and the app is available again. It's an automated message with no explanation about what has happened or if any other measure will be taken (the other app is available with the same icon). We're happy we have our app back but quite disappointed about the whole handling and how vulnerable devs are to unfair reports.

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

    We need a UI overhaul for the Play Console app

    Posted: 05 Oct 2021 01:35 AM PDT

    Android 12 is live in AOSP!

    Posted: 04 Oct 2021 10:59 AM PDT

    Everything you need to know about Google Billing Library errors

    Posted: 05 Oct 2021 03:25 AM PDT

    App not installed

    Posted: 05 Oct 2021 09:24 AM PDT

    You probably see this a lot but all app apks that I get never work and so it just says App not installed. Is there a fix? Or have I missed a crucial step

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

    What should I use as an online database for an android app? I'm a beginner.

    Posted: 05 Oct 2021 08:48 AM PDT

    Google recommended "Firebase" among other things.

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

    Google sheets as an online database for an android app?

    Posted: 05 Oct 2021 08:09 AM PDT

    I'm a beginner in android development. What do you think about it? Would you use it in your app? Is it ok to use or is it too meme tier?

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

    Facebook SDK Update

    Posted: 05 Oct 2021 07:49 AM PDT

    We got a message entitled, "Update FB Login SDK to version 8.2+ by Oct. 5 " today, on October 5. We're hopelessly behind and need some time to do it.

    Luckily, the email says, "If you are making the SDK updates but require additional time, we can extend the deadline for you up to 30 days (November 5, 2021). Please reach out via the available channels to request an extension."

    Any idea how to "reach out via the available channels"?

    I seem to be not the only one who can't figure out how to that:

    https://developers.facebook.com/community/threads/3043355365938157/

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

    Kiosk mode for a Unity App

    Posted: 05 Oct 2021 07:42 AM PDT

    Hi guys.

    I have a unity app that I'm running for a production on Android 11 phones. I've managed to utilise screen pinning to stop the user from being able to easily escape the app, but I've been tasked with finding a way to enter a true kiosk mode. The devices are networked so I'd like to be able to enter and leave kiosk mode through either using ADB or via Unity.

    I've seen 3rd party apps and services that allow a kiosk mode. I'd like to know how I would go about implementing something similar?

    If ultimately the most viable method is to use a 3rd party app and control that via ADB I will go with that option, but I would like to explore my options and try to keep things proprietary if possible.

    Thanks.

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

    How do you keep up with the latest libraries?

    Posted: 05 Oct 2021 07:33 AM PDT

    Hey, so I'm trying to wrap my head around the latest libraries available.

    I've always found it complex to know what exists and what doesn't. I don't want to reinvent the wheel.

    Even though I google a lot of keywords when I have a specific need, I feel like new SDKs on emerging tech may help finding new ideas. Except you can't search for something you don't even know exists.

    Any help on that front? What do you use to keep up with the news?

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

    Multiple android app stores

    Posted: 05 Oct 2021 07:04 AM PDT

    I want to deploy my android app on as many app stores as possible (Google play, Amazon, Samsung, etc). Is there some automated way to do this for each app version release? I only automated Google play using fastlane so far

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

    Can i open a second developer account and use both ?

    Posted: 05 Oct 2021 05:55 AM PDT

    I have one account but want to diversify the apps of different kind like separate game and apps on different accounts.

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

    Material Components 1.5.0-alpha04 · More Material 3/You

    Posted: 04 Oct 2021 11:51 AM PDT

    Is Play Asset Delivery only for games?

    Posted: 05 Oct 2021 03:03 AM PDT

    I have a react native app with a large 350mb obb file can I use play asset delvery to replace this? or should I use feature delivery? Main reason i want to use asset delivery is that it seems simple and has better documentation. Also Feature delivery does not mention what the size limitations are like it does for asset delivery.

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

    Google launches the stable version of Android 12

    Posted: 04 Oct 2021 11:08 AM PDT

    Developing for Talkback on an emulator

    Posted: 05 Oct 2021 02:41 AM PDT

    It seems impossible to get the the latest version of Talkback for the correct architecture for an emulator (please correct me if I'm wrong). Does this feel...well.. not okay to anyone else?

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

    My play store reviews disappear after publishing

    Posted: 05 Oct 2021 01:24 AM PDT

    Hello,

    I have noticed that, since a few months, some of my reviews on the Google play store disappear.

    I am quite sure that they were not marked as spam, also because I write reviews only from time to time and I didn't get any notification about removal. I am also able to write a new review, which hints that I am not considered a spammer. Moreover, the text of my review was quite original.

    A strange thing is that, sometimes, I can see my first review in the list of reviews of an app, but I can't edit it. So it's like written by someone else.

    It's neither possible that I wrote the review with another account mistekenly, because I have double checked that.

    I hope someone can shade some light into this, because it's really a pity to not being able to review.

    Thanks

    PS. There is a similar discussion from a few years ago (archived), but actually my question is different. I am not talking about spam or not legit reviews. https://www.reddit.com/r/androiddev/comments/5jfcki/why_do_play_store_ratings_disappear/

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

    QA testing in the cloud - The evolution of apps Quality Assurance at Azimo (5 out of 5 articles)

    Posted: 04 Oct 2021 11:56 PM PDT

    Bottom Nav in Jetpack Compose with other full screens.

    Posted: 04 Oct 2021 10:41 AM PDT

    So, I am making an app where I need a home route with a bottom bar with nested navs inside each.

    And I also need this to play well with other full screen routes like login and account.

    When I first saw the navigation extension function on NavGraphBuilder I thought it was the right answer but I don't think it would work because I need it's functionality inside a composable which would be hosting the bottom bar.

    I tried having multiple navhosts like having a navhost for the entire app and another just for the home route with the bottom bar - that didn't work as well.

    It feels like there is something missing here.

    submitted by /u/1nviktus
    [link] [comments]

    The first batch of Android 12 supported models announced

    Posted: 04 Oct 2021 09:37 PM PDT

    Back to Android after a 3.5y break

    Posted: 04 Oct 2021 02:41 PM PDT

    Hi everyone!

    I left Android dev in mid-2018 after 4y in the field in favor of other technical fields. Back then Kotlin was just being considered the new de-facto language for android and RxJava was still the new cool kid in town some months before coroutines, MVP was also the go-to pattern y the community.

    Today, I wish to return to android dev but the amount of changes and new components is just overwhelming and I'm not sure what to focus on to be re-aligned with the industry.

    So, how do you suggest I catch up with all the new stuff? Anything to prirotize (such as the must use components and patterns)? (Kotlin does not really worry me as I've been working with Scala these past years and the syntax and many paradigms seem similar)

    Any go-to github repos that tackle the new paradigms and architectures? resources etc...

    Thank you!

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

    What is your currently configured SharedFlow implementation ?

    Posted: 04 Oct 2021 05:51 PM PDT

    Hi,

    I am curios about what are your arguments initializing of SharedFlow.

    1. MutableSharedFlow<SampleData>()
    2. MutableSharedFlow<SampleData>(extraBufferCapacity = 1, onBufferOverflow = BufferOverflow.DROP_OLDEST)

    I feel second option more suitable it has same behavior with SingleLiveEvent. But God is whispering in my ear "Use SharedFlow without any parameters like first option"

    I have just worried about ViewModel's initial calls, some SharedFlow produced items could be wasted before consumed. What parameters are u using at your apps ? Please don't say it depends on the page. I am focusing MVI and I don't want to create second side effect producer.

    Maybe I can use measureTime just for initial call then I can put some delay like 300ms - processTime before sending event.

    Btw I hope you are not using replay :)

    View Poll

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

    Has anybody used MediaPipe with Jetpack Compose?

    Posted: 04 Oct 2021 09:22 AM PDT

    I'm trying to work on a project that uses jetpack compose and we also want to use media pipe, it seems like media pipe heavily relies on the old/current way of doing android UI and I'm not sure if it's even possible to do it with compose.

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

    No comments:

    Post a Comment