How do I retrieve data that was saved in Google play games but wouldn't come back? - moto

I deleted a app because it wasn't working to try and fix it and the data is supposed to be saved but when I downloaded it again none if it was saved and I was on a really high level, how do I fix it?

Related

Should I use AsyncStorage for large amounts of data?

We are wanting to implement an offline mode for our react-native application. We will be working with quite large amount of data (aprox. 40-50mb). It is an array of aprox. 16000 objects.
As far as I know, there are two ways to save this data.
Using AsyncStorage - android has a limit of 6mb, but I've read somewhere, that it can be increased.
Using json file - Downloading that data as json file using react-native-background-downloader and then using react-native-fs to save it and load it if the user has no connection to internet.
Personally I think that the second option is better, even though it requires permission to file storage.
Am I missing any other factors to consider? Are there any other options for offline access?
In the end opted out for usage of the json file as there is limit on android. On load of the application I take these data and load them into variable in mobX store. Which functions same as any variable.
I was afraid that mobile phones will have problem sorting across the 16000 objects in array, but there have been no reports of this thing going wrong so far. (In production for 4-5 months right now)
So basically when you hit "enable offline mode" I ask for the file storage permission and download the file using react-native-fs.
Then on the next startup of the application I just read the data off the JSON file.

Realm objective c - really huge db file size - 64GB

We have recently planned to switch from SQLite to Realm in macOS and iOS app due to db file corruption issue with SQLite so we first started with macOS app. All coding changes were smooth and app started working fine.
Background about app and DB usage - app really uses DB very heavily and performs too many read and writes to DB in each minute and saves big xml's to it. In each minute it writes / updates around 10-12 records (at max) with xml and reads 25-30records too. After each read it deletes data along with xml from database and my expectation is once data is deleted it should free up space and reduce file size but looks like it is growing continuously.
To test the new DB changes we kept app running app 3-4 days and DB file size went to 64.42GB and app started being slow. Please refer the attached screen shot.
To further debug, I started app with new DB file and size was 4KB but within 5min it goes to 295KB and never reduced in size even records were continuously added and deleted.
To further clarify, app uses NSThreads to perform various operations and those threads writes and reads data to DB but with proper begin\commit transactions. I also read at 'Large File Size' at https://realm.io/docs/java/latest/#faq and tried to find compactRealm but can't find it in objective c.
Can anybody please advise.
Update - I Give up on Realm
After 15days of efforts, Finally I have stopped usage of Realm and starting to fix/workaround db file corruption issue with SQLite. Realm Huge DB file issue was fixed by making changes to code for threads but then I started getting Too many open files error after running the app for 7-8 hours.
Debugged for whole week and made all possible changes and at some point looks like all was good as xcode were not showing any open files. But again I started getting Too many open files crash and then debugged with instrument and found there were so many open files to realm database, lock, commit and cv files.
I am sure there are no leaks in app and xcode also does not shows those open files in Disk usage as well. I decided to invoke lsof command in code before and after Realm calls and most of the it doesn't increase open file count but sometime n between it increases. In My app it started from 120 files to 550 in around 6 hours. Xcode looks all fine via Disk usage but instrument shows open files.
No good support from Realm team, sent email to them, just got one response. Made many changes to code following their suggestions and doesn't work at all so gave up on it. I think it's good for small apps only.

Retrieve lost data from my jawbone up3

I accidentally deleted my Jawbone UP app, I had 2, one being old from my Up24 and I recently realized it was only taking up space as an unused app but I accidentally deleted the new app I currently use for my up3.
Only different when it shows app icons for deleting is color.
I obviously now regret not making sure of the color to my new UP app. But too late for hindsight to help.
When I re-downloaded it, all my data from the past year is gone. It oddly kept the past 8 days which maybe is a default for all I know to only save the current week? Otherwise this makes no sense.I have tried everything in my phone and SD card. Nothing has an available cache from why I can see.
Then I went on jawbone.com to look up my data as I was told they backed it up there...
I did not know this before. But I went on and shows me the list, I forget what it's called but it has all year blank but has the last 8 days filled like it's all the data ever saved. I didn't delete anything from actual jawbone, only the stupid app and quickly reinstalled it. Only to find out all my 11 months of data, experience, goals, progress etc all gone. And now the UP app is treating me like a new "UPster" and I'm not. It doesn't seem to even know anything from smart coaches previous tasks and helpful suggestions based on me. Now it's all gone. I didn't write this down because I thought that's why may this app was for.
In the age of everything cloud storage it's appalling to see this has no such thing or backup that I see at all. Likely I lost all but hoping theirs a trick or a website or something I'm not aware of and could help. I also know some information in a phone even if deleted isn't actually deleted and I have been able to retrieve others deleted like they had a background copy of the data. This however does not seem to be the same. No matter what I do or where I go it seems that I have lost all data history.
I now have no desire or need for this useless bracelet if it won't even do the one thing I need it to, collect data and build progress with smart coach getting to know me. If the data is gone the point to all I was using the tracker for is now also gone. How is it not online where it says it should be? I'm assuming my app deletion also deleted any backups I may have had. And that's where I'm lost isn't that what backups like that are for? It now only shows me a week behind. The rest is gone. I don't know but I would imagine I could retrieve data lost. Otherwise why collect data. I was looking in my cloud drives but nothing is there. I just want what I lost, back.
Does it delete all cached items?
And why?
I should have my own account and I should be able to access it and look at and or retrieve my past information. Anyway I can I just need to know if possible and if so how do I get the data back? Or even manually input it because I have all my old weekly reviews on my Google account but they don't seem to be anything other than an email I can only look at. It won't sync or share info and without it being on the up app it does no good because I have no smart coach, nothing to relate new days to old ones with. Nothing. It doesn't even work with smart coach and that seems quite odd.
I had an account since day 1 and it is the same account I tried taking data files out of. I messaged Jawbone but it says 3 days before I get a reply. I'm feeling like Ill just need to give up but I've been sick for several years and this had literally been a lifeline to better health, motivation I've lost and need, support since I have no trainer to keep me focused or mindset...I got this to help while I have been Ill. This just posses me off real bad. not having all my old data. This seems ridiculous.
I'm sorry you're having these issues. In general, Jawbone does not delete any historical data unless you specifically request data/account deletion. Deleting the app from your phone should not remove data from the Jawbone servers unless that data had never been synced, which seems unlikely since you have the 8 most recent days.
One thing you should double-check is to make sure you're logging in with exactly the same email address that you had been using.
All this being said, contacting Jawbone customer support is the best way to solve your problem. If you haven't already, please reach out via the contact form:
https://help.jawbone.com/contact
The Jawbone tag on Stack Overflow is for programming questions related to the Jawbone UP API.

iTunes Connect Screenshots Continue to Fail

I'm trying to upload new images to iTunes Connect. However, they continue to fail. I've checked many many times now and no dice. The screenshot sizes match Apple's requirements. Saving it as a .jpg continues to fail. Saving it as a .png with no Alpha continues to fail. Spent most of my work day on here finding other solutions that I've tried and still fails.
Other things I tried was using different browsers, saving the image file as generic as possible (ex. 1.png, and I've tried using screenshots pulled from an actual device as well as the Xcode simulator.
I am trying to do this via a windows machine. Has anybody been able to successfully upload screenshots through iTunes Connect using a Windows machine? At this point that is the only thing I can think of as to why it continues to fail.
Try waiting... in my experience, iTunes connect is not all that reliable, and waiting a day solved the screenshot upload issue for me.
Also, if you have not already, open the screenshots in an image editor, and insure they are exactly the right size... I have found that my screenshots always end up a pixel to skinny for some reason.
Lastly, keep in mind new rules for the iPhone 6 and 6 Plus.

How do I keep my database in sync with TICoreDataSync?

I've been working on this problem for a while now. Here's what happens:
My app is launched. It already has existing data in the core data store. It then connects to Dropbox using TICoreDataSync.
Then I connect a second device, which also has existing data. I connect it up to Dropbox the same way.
What then happens is that when I sync, it syncs data between the two harmoniously. Any changes i make on one device are sent to the other after a sync on both devices. The problem is, I want the existing data in the database to be uploaded to Dropbox and included in the sync, so both devices have all data.
How can I do this?
This is actually not how TICoreDataSync was intended to work. It will not merge those two store files for you, but will rather pull down the store file uploaded by the first device to the second device and then keep those store files in sync. From your description it sounds like you are skipping the whole store upload and download steps during sync manager registration.