Post

Replies

Boosts

Views

Activity

Crash due to low free RAM available while uploading file
Hey,Im following user crashes in our app for about a month.Im using tools like firebase and fabric to get details on the crashes.I was tracking one issue that appears pretty much and I was trying to look for an answer - unsuccessfully.In our app, we use AWS s3 services to upload videos.I found out that while performing this action of upload, some of the users experiencing crashes and from the tools I mentioned above I saw that most of them has a really low amounts of Available free RAM (2% - 4%).I used instruments to check it and I saw that it does consume more resources (not something exceptional, but more than other actions in the app), however, there is not much I can do about it, because that's what the upload requires.I was trying to think what is the best way to handle this case and I was looking for answers anywhere on the network. I read the documentation and discussions about this issue and saw that the recommendation is to free as much memory as possible when getting memory warning,the problem is, that in this case, the upload produces some memory that I cant get rid of or free.I also saw that the recommendation is not to change the flow of the app depends of the result of the amount of available free RAM.So, I would really appreciate any advice on what to do in this case, because just letting the app crash is not something we want of course.Thanks, Tal
5
0
4.2k
Jun ’19
web audio api
When I start the app in iOS 13.X, the Audio Context starts in a state of “suspended”.after the user clicked the “play” button (which has ‘onclick’ or ‘touchend’ event to trigger the context.resume() and wait until resolved), the audio context state turning into ‘running’.Then I use the method ‘createMediaElementSource’ and provide the HTML audio element and connect the source to the context.destination, but it doesn’t make any difference, because the audio fails to put out any sound.However, in iOS 12.X it works, so I can assume that the nodes connected properly.Is there something else i should do to make it work on iOS 13?Thanks in advance.
2
0
1.5k
Nov ’19