Asset Uploading on iOS
Hello!
I’m trying to integrate FullStory into an iOS app and will be using CocoaPods.
I’ve followed the steps provided in Adding FullStory as a CocoaPods Pod and have added a new Script to the “Build Phases” to run the “FullStory Asset Uploader”.
Is there a documentation page that is specific to the mobile context and that explains what this Script does in the context of an iOS App?
From reading “Asset Uploading for WebViews” in Additional Topics, Asset Uploading for Web, and analyzing what the script logs into the build console, I assume that it uploads the assets from the project into FullStory servers, so that they can be used in Session replay. Is this correct?
If it indeed uploads the assets to FullStory servers, do we need to run this script when running a debug build or is it enough to run the script when preparing a build for production release?
The upload process seems to take some time. Is there anything we can do to speed it up?
Thanks in advance!
Comments
3 comments
Hi @r.alves! Thanks so much for reaching out! 😊
We don’t have any additional documentation specific to mobile context I’m afraid, but you are correct in that it uploads the assets to our servers. More specifically, and simply put, it uploads static assets such as images and fonts to reduce the amount of bandwidth used during capture.
You do not need to run this script in debug builds, but you may see missing assets in the sessions corresponding to your debug builds.
As far as the uploading process time, the speed directly correlates to the size and amount of assets you are including in your app so there isn’t a way to speed this process up.
I hope this clears things up for you! Please don’t hesitate to reach out should you have any additional questions.
Hello @lindsay !
Thank you for the help. Much appreciated.
We’ll continue to integrate FullStory into our app and if we have more questions we’ll reach out.
Best regards
Hey @r.alves! Not a problem, glad I could help. 😊
Sounds great! We’re here if you need us!
Please sign in to leave a comment.