download Plan From Zip
fun downloadPlanFromZip(filePath: String, completion: (ExpoFpResult<ExpoFpDownloadedPlanInfo>) -> Unit)
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.
Parameters
file Path
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.
Return
Result with information about the saved plan or an error.
Parameters
file Path
Path to the zip file.