I am trying to use ODR in our application and have created Tags and grouped it under Initial Install Tags option under Prefetched.
- I am not sure how to verify this on the Simulator and on the Device using the Development Profile.
- Is TestFlight the only option to verify Initial Install Tag usage?
- Do I have to use NSBundleResourceRequest even for resources tagged as Initial Install? My understanding of Initial Install Tag is that, it would be automatically downloaded with the app. So, I thought the request is not needed. Please correct me if I am wrong.
I got ODR support implemented in our application using Initial Install Tags (Though I have not tested it using TestFlight).
-
I am not sure how to verify this on the Simulator and on the Device using the Development Profile.
-- I tested locally by embedding the Asset packs in the Bundle itself.
-
Is TestFlight the only option to verify Initial Install Tag usage?
-- Have not tested this yet. But, I think the answer is Yes.
-
Do I have to use NSBundleResourceRequest even for resources tagged as Initial Install?
-- Yes. There is no difference between how we fetch resources tagged under "Download Only On Demand", "Initial Install Tags" and "Prefetched Tag Order"
And I had made one change that made my app use the ODR content properly. I was having the NSBundleResourceRequest object as a local variable. It should have been an instance variable.
Ref: https://iosguy.com/2015/09/18/on-demand-resources/