downloadBundleResourceFromUrlSync

open fun downloadBundleResourceFromUrlSync(resourcePath: String, outputFile: File): File

This is a debug-only utility to allow fetching a file via packager. It's made synchronous for simplicity, but should only be used if it's absolutely necessary.

Return

the file with the fetched content, or null if there's any failure.