expo-updates 0.25.14 → 0.25.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/android/build.gradle +2 -2
- package/e2e/setup/project.ts +0 -23
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
|
|
|
2
2
|
apply plugin: 'kotlin-kapt'
|
|
3
3
|
|
|
4
4
|
group = 'host.exp.exponent'
|
|
5
|
-
version = '0.25.
|
|
5
|
+
version = '0.25.16'
|
|
6
6
|
|
|
7
7
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
8
8
|
apply from: expoModulesCorePlugin
|
|
@@ -48,7 +48,7 @@ android {
|
|
|
48
48
|
namespace "expo.modules.updates"
|
|
49
49
|
defaultConfig {
|
|
50
50
|
versionCode 31
|
|
51
|
-
versionName '0.25.
|
|
51
|
+
versionName '0.25.16'
|
|
52
52
|
consumerProguardFiles("proguard-rules.pro")
|
|
53
53
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
54
54
|
|
package/e2e/setup/project.ts
CHANGED
|
@@ -704,9 +704,6 @@ export async function initAsync(
|
|
|
704
704
|
stdio: 'inherit',
|
|
705
705
|
});
|
|
706
706
|
|
|
707
|
-
// Applying patches for 3rd party dependencies
|
|
708
|
-
await patchReactNativeAsync(projectRoot);
|
|
709
|
-
|
|
710
707
|
// enable proguard on Android
|
|
711
708
|
await fs.appendFile(
|
|
712
709
|
path.join(projectRoot, 'android', 'gradle.properties'),
|
|
@@ -895,23 +892,3 @@ export async function setupUpdatesDevClientE2EAppAsync(
|
|
|
895
892
|
path.join(projectRoot, 'e2e', 'tests', 'Updates.e2e.ts')
|
|
896
893
|
);
|
|
897
894
|
}
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Apply temporary fix from https://github.com/facebook/react-native/pull/44402
|
|
901
|
-
*/
|
|
902
|
-
export async function patchReactNativeAsync(projectRoot: string) {
|
|
903
|
-
const packageJson = require(path.join(projectRoot, 'package.json'));
|
|
904
|
-
let postInstallScript = packageJson.scripts?.postinstall ?? '';
|
|
905
|
-
const reactNativeRoot = path.join(projectRoot, 'node_modules', 'react-native');
|
|
906
|
-
const reactNativeVersion = require(path.join(reactNativeRoot, 'package.json')).version;
|
|
907
|
-
if (reactNativeVersion === '0.74.1') {
|
|
908
|
-
if (postInstallScript !== '') {
|
|
909
|
-
postInstallScript += ' && ';
|
|
910
|
-
}
|
|
911
|
-
postInstallScript +=
|
|
912
|
-
'curl -sL https://patch-diff.githubusercontent.com/raw/facebook/react-native/pull/44402.diff \
|
|
913
|
-
| patch -p3 -d node_modules/react-native';
|
|
914
|
-
}
|
|
915
|
-
packageJson.scripts.postinstall = postInstallScript;
|
|
916
|
-
await fs.writeFile(path.join(projectRoot, 'package.json'), JSON.stringify(packageJson, null, 2));
|
|
917
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-updates",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.16",
|
|
4
4
|
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@expo/code-signing-certificates": "0.0.5",
|
|
41
|
-
"@expo/config": "~9.0.0",
|
|
42
|
-
"@expo/config-plugins": "~8.0.0",
|
|
41
|
+
"@expo/config": "~9.0.0-beta.0",
|
|
42
|
+
"@expo/config-plugins": "~8.0.0-beta.0",
|
|
43
43
|
"@expo/fingerprint": "^0.8.0",
|
|
44
44
|
"@expo/spawn-async": "^1.7.2",
|
|
45
45
|
"arg": "4.1.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"expo": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "f424c7ea50d8787fa8d3354a33fe402160b63032"
|
|
71
71
|
}
|