User complaining of Android app 'disappearing' following an update - android

A user of one of my Android apps has reported that his version 'disappeared' following an update. None of the other (thousands of) users have reported issues.
This morning I tried to open up the app but could not get anything.
I tried and tried and then physically turned my phone off and back on.
Now the icon has disappeared.
He has a lot of data stored in the app, so removing and re-installing isn't an option.
I think the problem has been caused by another apps update which happened yesterday.
I can see your icon in my apps list but it is the only one that is black and white, all the rest are in colour.
When I view the properties of your app it says:
Storage 20.00KB
Application 0.00KB
Data 20.00KB
It gives an option to clear data or uninstall.
My memory card, which I haven't removed, says I have 55mb of data left.
What could have caused this, is there anything I can do to avoid this happening to users in the future and is there anything I can suggest to remedy his problem?

Related

Flutter: Local Notifications changing name of the app

I have the flutter local notifications package installed and everything works just fine except for one thing:
When the screen is locked and a local notification appears, on iOS it doesn't show the real name of the App but only the name of the flutter project. And if I unlock the screen, the real name of the App appears.
I already changed the App name like you normally would do it, so going to the android folder/app/src/profile/AndroidManifest.xml and also on iOS Runner/Info.plist and change the name.
I also changed the title inside the NotificationController, but this only effects the name of the local notification when the screen is unlocked.
How can I change it so that not depending on wether the screen is locked or unlocked, only the real App name is shown?
Thank you very much!
Ok I guess I know whats going on. Somehow in debug mode sometimes the "real" name of the app doesn't show up but the project name. When releasing the app, this issue disappears.
So if anyone else has this problem, don't worry about it, just release the App, it will function correctly.
Well when I was facing the same problem I just searched that name in the Project level search using Ctrl+Shift+f. After searching it will show you all the places where the old name of your application still exist then you can change them one by one.
In my case I have found app name about 15-16 places some of them I have changed already and then changed the rest.
I hope this will work for you too.

My Firebase Realtime Database displays a blank empty view and doesn't even shows the name of my root directory

Please can someone tell me why my Firebase Realtime Database root directory isn't showing any data? I'm using my mobile browser to view it. Or the reason why I'm facing this problem is because I'm viewing it with my mobile device?
UPDATE
To me i think it's a bug on their website or something because i only experience such issue when i perform too many operations on that same webpage due to manually updating records in the database and navigating backwards to see other previous data, and when the Realtime Database stops displaying my data, i give it few hours later in that same day and everything comes back to normal.
Try downloading Chrome browser to your phone and check again. If you still see this problem tap on the three dots on the upper right corner of chrome and select "request desktop site"
That should do it.

Why do emojis make my app crash

I created a business card for a udacity exercise, but when checking the final product on my phone it kept crashing without opening.
The code was fine, I checked it thousands of time, and was without errors.
I thought it may have been because the image I used was too big, so I resized it, but nothing, it kept on crashing.
Then I decided to try to delete the emojis I used in the TextView, and it worked again,but in Android Studio it didn't give me any errors, so why it didn't work on the phone?

How do you stop ADT Logcat View from automatically popping up in Eclipse?

It's really annoying and I guess there was an option for this ( How do you stop Console from popping up automatically in Eclipse ) but I don't see that, at least not in ADT. It's really annoying. Btw, if someone knows a way to keep the entire tab below (the one with problems, logcat, console, etc) to keep minimized until I decide that they should show up, that would help
The Run/Debug->Console preference page also offers those options.

How to save&load a snapshot of an Android app state?

Before reading this, note that I'm not talking about capturing the screen.
Motivation
Many times, in order to test apps, we need to go over many activities (including a loading/splash screen) till we reach the one we've just updated in order to test it out.
I want to reduce this time , by capturing the exact state of the app (memory,preferences,activities stack,...) in order to go there again.
Another example : The QA team could show me in which case a bug occurs, without having to show me the whole process till they got there (since it might not be reproducible) and then I could run the app, and know exactly where the exception was thrown and go there directly via the DDMS's logs .
Another example: We work on a game, and the QA team have tested the game for hours and reached a certain stage, and would like to save the current state of the app in order to test it from this point and make multiple tests on it, instead of running the app from the beginning each time , wait for it to load and also finish all of the stages till they reach this stage.
I think there are other scenarios where such a thing could be useful.
The problem
Such a thing is probably possible in the VM world (for example virualBox) , and it's probably possible for android emulators (at least according to this post , but they also say it's "finicky" , not sure what that means in this context) , but not for devices.
The above example, though they might work, they work for the entire OS and not for a specific app, so even if I choose to use them, it takes a long time to use (plus I need to use an emulator which is usually much slower than any device) .
I'm pretty sure that the current API doesn't support such a thing (and it's probably a good thing, for security reasons).
The question
Is it possible to capture&load entire app state by using ROOT ? Maybe by being a system app too?
Maybe there is already an app for this task?
Since it's very usual that an application saves its whole state in SharedPreferences and persistence in DB, in most apps you can backup and restore data and state using adb backup and adb restore, respectively:
Backup:
adb backup -f app.ab com.company.app
Restore:
adb restore app.ab
PS: This feature was introduced in ICS, and it's not required to be root.
More information in this tutorial.

Categories

Resources