expo-updates
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -9,2 +9,11 @@ # Changelog | ||
### 🐛 Bug fixes | ||
## 0.2.2 | ||
### 🐛 Bug fixes | ||
- Fixed an issue on iOS where expo-updates expected more assets to be embedded than actually are by the React Native CLI. | ||
- Added a better error message on iOS when embedded assets are missing. | ||
## 0.2.1 | ||
@@ -16,4 +25,2 @@ | ||
### 🐛 Bug fixes | ||
## 0.2.0 | ||
@@ -20,0 +27,0 @@ |
{ | ||
"name": "expo-updates", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.", | ||
@@ -47,3 +47,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "51e3f5106504cd8761ac5c573f7fff3670727fb3" | ||
"gitHead": "df27f1d180e5aad1310e4077944b7836e4adc3bb" | ||
} |
@@ -0,1 +1,3 @@ | ||
const filterPlatformAssetScales = require('@react-native-community/cli/build/commands/bundle/filterPlatformAssetScales') | ||
.default; | ||
const fs = require('fs'); | ||
@@ -52,3 +54,3 @@ const http = require('http'); | ||
} | ||
asset.scales.forEach(function(scale, index) { | ||
filterPlatformAssetScales(platform, asset.scales).forEach(function(scale, index) { | ||
const assetInfoForManifest = { | ||
@@ -55,0 +57,0 @@ name: asset.name, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328150
681