downloadPlanFromZip

Unzip and save a plan in the cache directory for later use.

Important: Zip file must be named <expoKey>_<version>.zip to identify the plan. Calling removeAllDownloadedPlans while the plan is being unpacked may fail this call with an error. An incomplete plan is never left behind.

Parameters

filePath

Path to the zip file.

completion

Callback with the result of saving the plan.


Unzip and save a plan in the cache directory for later use.

Important: Zip file must be named <expoKey>_<version>.zip to identify the plan. Calling removeAllDownloadedPlans while the plan is being unpacked may fail this call with an error. An incomplete plan is never left behind.

Return

Result with information about the saved plan or an error.

Parameters

filePath

Path to the zip file.