How do apps pick large videos from file without maxing memory - react-native

We have an app (React Native Expo SDK 44) that needs to pick large video (1gb +) from the devices files.
Every library we've tried fails because the device runs out of memory
We tried uploading the 1gb video file to apps like YT & Reddit with no issues. How do these sites achieve picking the video without running out of memory?

Related

React Native Fetch Blob File Empty

We are having a problem with React Native Fetch Blob when a PDF is over 1mb in size. The file is being uploaded to Azure Blob Storage and works fine when the PDF is less than 1MB but as soon as the file is over 1MB the upload fails and the file in the container is empty.
We are using the module in an IOS React App but we also have a web app. When we upload the PDF via the web app everything is fine so it seems that this is something specific to the mobile app.
Further testing shows that if we upload a PNG over 1MB it works, so this issue seems to be specific to PDFs.
Any suggestions on how we can diagnose or solve this issue?

App Thinning XCode 7 iTunes Connect

I'm using Xcode 7.0.1 (7A1001) and noticed that Submitting my app now goes through an App Thinning stage and a folder gets created with the numerous .ipa for the different devices supported by our app.
When I'm downloading the app from iTunes Connect Test Flight for testing, I don't see any reduction in size. Can someone shed some light on whether the app size should be smaller? Am I doing something wrong in the configuration or will it only be smaller when downloaded from the actual App Store?
Thanks!

How does instagram upload high quality images and videos with no lag?

I am building an app similar to instagram and I was wondering hoe instagram is able to upload such high quality images and videos. I tried uploading a 1920x1080 res video in my ios app, to Amazon s3 but the video was a few MB so it took a significant amount of time to ipload and retrieve. How can I cut down that time in objective c? How does instagram do it?
Put the image that you are uploading in the cache the same as if you had downloaded it. No need to download it if you already have it. You can display the image at the same time you start uploading it.
You can run Charles Proxy to see what is happening, there is a method to proxy your iPhone through your Mac. See Using Charles from an IPhone.

google play services .apk file memory

can any buddy help me
I develop an android app
first it has memory of only 632kb .apk file and shows 1.45mb in app manager (after instead in my phone)
but after importing google play services(for ads from admob) my app has memory of 1.78mb of .apk file and it shows 6.05mb in app manager....
I import google play services in such a way that
1. import google play services lib to package explorer
2.in my app (after left click of mouse)-> properties -> android -> add-> google play services-> ok
then
is there any way to reduce memory of app?
(or)
is there any other way to add ads to my app?
(or)
is there any way to import google play services?
I need to reduce memory of my app
I really work for it......

Is there any chance for .ipa file size expansion

Any one please help me....In our project, we have lot of videos may be 84 videos(its compressed zip folder size is 2 GB). We can put it in web services....
But we found, In android, there is an option called .apk file expansion. ie., we can put your app + compressed zipped video folder file into google play. when user play any video in app, it will be downloaded to mobile memory. We have to write code to play video from mobile memory....
something like this is in .ipa file?
iOS 6 introduced hosted content, but only for In-App-Purchases: "Host In-App Purchase content on Appleā€™s servers, so you can easily add, manage, and deliver In-App Purchase content for your app."