App's cache is unintentionally deleted in Oxygen OS 13 - caching

I'm developping in Flutter and i debug my app in my real device, an OnePlus 8T. After i update to Oxygen OS 13, the app's local cache is deleted unintentionally, what makes that I can´t record any long videos. The images and whatever stay in the cache, is deleted too.
I tried to execute the app in another device with Android 9,in emulator with Android 13,12,11 and 10.
In Realme GT with Android 13 too. And in all of these devices, this problem not occurr. All works correctly.
Before upgrading to Oxygen OS 13, i remind that the cache folder worked fine.
I tried to take pictures or record videos with any library which can do this.
Expected behavior
The pictures and the videos are saved in the local cache.
Actual behavior
The pictures are deleted and the video sometimes can´t be recorded.

Related

Xcode 11 blank white screen on device

I have a problem with debugging any app using Xcode 11.3.1.
The app builds very quickly (about 3 seconds), but after that, the device displays a white blank screen for a minute or two. On the Report navigator tab, it says that the app is running and debug is already in process but there are no logs. It happens with any app, even a newly created one.
Tried reproducing it on iPhone XS and iPhone 11 pro with 13.3.1 iOS version (the latest one at the moment) - the result is the same.
After this pause, I can debug the app as nothing happened. This behavior happens only during the debug session (no matter using cable or WiFi). If an app was already installed and launched directly from the phone - everything is fine.

Simulator under iOS 13.3 (Xcode 11.3.1) not functioning properly

When using the simulator under Xcode 11.3.1 and iPhones simulating iOS 13.3, the simulation does not behave correctly. It works correctly under simulator iOS 12.1.
I get no messages that I don't also get under the iOS 12.1 simulator launch.
The behavior should be when a user starts the app for the first time, he is redirected to the signin screen. Instead it goes to the main screen (grayed out because there is no data). I can navigate manually to the signin screen and signin normally (device registers and appears on my online server) but the app should start downloading the database required to work. It just sits there (no alertview that would normally launch the download). If I relaunch the app, it again starts at the main screen, however at this point an alertview should appear that no database is present. If I manually try to start the download (in a setup screen within the app), the progress bar that normally appears does not, just a label signifying what database is suppose to download.
All of this works properly on the iOS 12.1 simulator (Xcode 10.1) of the same type (iPhone 8 Plus).
Is this an Xcode 11.3.1 bug or iOS 13.3 problem. I have customers using iOS 13.1 without any problems on actual devices. I am on a new iMac running Catalina, is it possible its a security setting to allow database download?
I was facing the same issue and I move back to Xcode 11.3. Guess it was not a stable update at all.

Apple News Preview - Simulator stopped working

I am currently testing the Apple News JSON format using XCode / News Preview / Simulator and randomly running into a new error that was not occurring prior to today.
I am attempting to load the article.json file into the News Preview app (it's been working up until today). The article.json file gets successfully loaded with no errors in the console but the Simulator is claiming that the channel is not available for me. Here is what the error message on the Simulator reads:
Channel Unavailable
This channel isn't currently available in your region.
The News Preview and Simulator were working just fine until today. I have tried re-installing XCode and News Preview (and Simulator because I re-installed XCode) but the problem persists. Other colleagues of mine are now experiencing the same problem.
I tried also clearing all the content in the Simulator and tried wiping the device clean and also tried going to the "Debug" menu in Simulator and setting the Location specifically there, as well, without any success.
Is there a way to fix this or is there a way to know if there was a recent developer push to the Simulator code base?
Just to add a bit more detail, I am attempting to load the official Apple News article preview files, not my own article.json files (I tried loading my own json files, as well).
Any help is appreciated.
Hey I also just had this issue and have been troubleshooting since yesterday. Not sure what is causing it, but it only happens for my on devices simulators from iPhone 7 and newer.
Try running the preview on iPhone 6 or an older-gen iPad, etc... that's working for me.
The solution on only one of my machines was to enter the Publisher ID into the News Preview application, which is the first thing that is asked when launching the News Preview app. After entering the Publisher ID, everything seemed to return to normal - for all of my colleagues and I.
See my comment above about my new macbook and the new problem it is having.

iOS 8 Mac OS X Simulators, clicking on anchor tags with href=mailto do not populate the Mail App composer

This it not an issue on real iOS devices, only in iOS simulator devices.
In iOS 8 simulator devices, clicking on a anchor tag that have <a href="mailto:me#example.com"> opens the Mail App but does not populate the to field in composer.
After further testing, I found that ONLY the subject fields gets populated for some reason, but not the others mailto:?to=me#example.com&subject=mysubject&body=mybody
Tested Simulated devices: iPhone 5/5s/6/6+, iPad air, iPad mini, I gave up.
Firmware: iOS 8.0.x and iOS 8.1, so you need xcode 6.1
Test Page: http://jsbin.com/roxage/2/ this test page have a lot of combinations, as I tried many RFC 2368-valid formats, and it looks Apple's implementation of Mail App claims to be compatible.
I think I tried everything I know, does anyone have a workaround?
There was a related question here - but it's tagged as Objective C question and it was down voted for using xcode6-beta a month ago, i presume.
Mine is much simpler, the anchor tags on any HTML page with mailto simply don't work as expected in iOS 8 Simulator. It's obviously a bug in the Mail App when it's in a virtual machine, but I am looking to see if someone found a workaround somehow. I already filed a bug at bugreport.apple.com but there is no publicly accessible URL to share here.
I tested iOS 7.1 Simulators on many devices, and they all work fine.

White screen in Xcode 4.2 after conversion to Objective C ARC

I have combed through the entire internet looking for this answer , and have found nothing, so I have decided to post.
EQUIPMENT: Mac Mini (2011) , running OSXLion (10.7) , 8gb ram, 500gb hd
XCODE: version 4.2, running IPAD 4.3 and 5.0 simulators
I have developed an Ipad app using the program HYPE (html 5 designer/generator), this program was developed by an APPLE team. I then brought it into Xcode using the PhoneGap template. I had developed this app in a previous version of Xcode (4.0 using MAC osx snow leopard) and was able to transfer everything into Xcode 4.2 (including the phonegap template) successfully.
All was running fine. I launched my app in the app store successfully (Five Element Clinic Book HD - http://itunes.apple.com/us/app/five-element-clinic-book-hd/id495512918?alreadyRedirected=1&ign-mpt=uo%3D2&mt=8)
I noticed some issues I wanted to change (namely the external hosting was not working - my embeded youtube video (iframe) was not working, links to external websites not working and an iframe bringing in a counter script (javascript) also not showing - so I decided to take a look at everything to see if I adding more detailed URLs in the phonegap.plist external hosts area would work.
I didn't even get that far. When I opened Xcode again (after about 2 weeks, so there must have been some kind of API change) - I had a tone of errors that lead me to the information of needing to Convert my files over to Objective C ARC.
So I did this, with no errors or issues. Everything converted seamlessly. All files are showing converted to Objective C ARC.
I CLEANED then reBUILT - with absolutely no errors or warnings - and RAN my app in the IPAD simulator (4.3 and 5.0).
This is what happens. The simulator opens, my app launches, the start up screen shows, the app begins to load the rest of the app and just goes to a WHITE SCREEN. Forever. It goes no where else.
So I have quit the app, restarted the app, deleted the app, tried everything again. Same issue. If I quit the app it just goes to a black screen. I have also restarted Xcode and my computer, ran my disk warriors to fix file permissions, etc.
I still have my old project in my old laptop (Xcode 4.0, MAC OSx Snow Leopard). So I went back there to see if I could just work from the old environment. Nope. Same errors that require me to convert files to Objective C ARC. So I converted with zero issues and zero errors. Cleaned, Built - no errors) and ran the program in the simulators. None of them work, everything loads the start-up screen and goes to a white page.
Does ANYONE know what is going on?
And thank you.
Mine was not a white screen - but a black screen.
In applicationDidFinishLaunching I was using the result of
UIWindow* window = [[UIWindow alloc] initWithFrame:mainBounds];
as a local variable.
Converting to ARC released it.
Instead it needed to be assigned to a property of my app delegate:
#interface MyAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *mainWindow;
}

Resources