expo-updates-interface 0.14.0 → 0.15.0

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 CHANGED
@@ -10,6 +10,18 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.15.0 — 2023-11-14
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - Bumped iOS deployment target to 13.4. ([#25063](https://github.com/expo/expo/pull/25063) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+ - On `Android` bump `compileSdkVersion` and `targetSdkVersion` to `34`. ([#24708](https://github.com/expo/expo/pull/24708) by [@alanjhughes](https://github.com/alanjhughes))
19
+
20
+ ### 💡 Others
21
+
22
+ - Renamed `unimodule.json` to `expo-module.config.json`. ([#25100](https://github.com/expo/expo/pull/25100) by [@reichhartd](https://github.com/reichhartd))
23
+ - Remove unused `storedUpdateIdsWithConfiguration` method. ([#25194](https://github.com/expo/expo/pull/25194) by [@wschurman](https://github.com/wschurman))
24
+
13
25
  ## 0.14.0 — 2023-10-17
14
26
 
15
27
  ### 🛠 Breaking changes
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '0.14.0'
6
+ version = '0.15.0'
7
7
 
8
8
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
9
  if (expoModulesCorePlugin.exists()) {
@@ -61,11 +61,11 @@ if (!safeExtGet("expoProvidesDefaultConfig", false)) {
61
61
  android {
62
62
  // Remove this if and it's contents, when support for SDK49 is dropped
63
63
  if (!safeExtGet("expoProvidesDefaultConfig", false)) {
64
- compileSdkVersion safeExtGet("compileSdkVersion", 33)
64
+ compileSdkVersion safeExtGet("compileSdkVersion", 34)
65
65
 
66
66
  defaultConfig {
67
67
  minSdkVersion safeExtGet("minSdkVersion", 23)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 33)
68
+ targetSdkVersion safeExtGet("targetSdkVersion", 34)
69
69
  }
70
70
 
71
71
  publishing {
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.updatesinterface"
95
95
  defaultConfig {
96
96
  versionCode 1
97
- versionName '0.14.0'
97
+ versionName '0.15.0'
98
98
  }
99
99
  }
100
100
 
@@ -26,11 +26,6 @@ public interface UpdatesInterface {
26
26
  */
27
27
  boolean onManifestLoaded(JSONObject manifest);
28
28
  }
29
-
30
- interface QueryCallback {
31
- void onFailure(Exception e);
32
- void onSuccess(List<UUID> updateIds);
33
- }
34
29
 
35
30
  interface Update {
36
31
  JSONObject getManifest();
@@ -40,6 +35,4 @@ public interface UpdatesInterface {
40
35
  void reset();
41
36
 
42
37
  void fetchUpdateWithConfiguration(HashMap<String, Object> configuration, Context context, UpdateCallback callback);
43
-
44
- void storedUpdateIdsWithConfiguration(HashMap<String, Object> configuration, Context context, QueryCallback callback);
45
38
  }
@@ -1,4 +1,3 @@
1
1
  {
2
- "name": "expo-updates-interface",
3
2
  "platforms": ["ios", "android"]
4
3
  }
@@ -4,7 +4,6 @@ import Foundation
4
4
 
5
5
  public typealias UpdatesErrorBlock = (_ error: Error) -> Void
6
6
  public typealias UpdatesUpdateSuccessBlock = (_ manifest: [String: Any]?) -> Void
7
- public typealias UpdatesQuerySuccessBlock = (_ updateIds: [UUID]) -> Void
8
7
  public typealias UpdatesProgressBlock = (_ successfulAssetCount: UInt, _ failedAssetCount: UInt, _ totalAssetCount: UInt) -> Void
9
8
 
10
9
  /**
@@ -32,14 +31,4 @@ public protocol UpdatesExternalInterface {
32
31
  success successBlock: @escaping UpdatesUpdateSuccessBlock,
33
32
  error errorBlock: @escaping UpdatesErrorBlock
34
33
  )
35
-
36
- /**
37
- * Obtains a list of UUIDs for updates already in the updates DB that are in the READY state.
38
- * The success block will pass in the array of UUIDs
39
- */
40
- @objc func storedUpdateIds(
41
- withConfiguration configuration: [String: Any],
42
- success successBlock: @escaping UpdatesQuerySuccessBlock,
43
- error errorBlock: @escaping UpdatesErrorBlock
44
- )
45
34
  }
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
  s.license = package['license']
11
11
  s.author = package['author']
12
12
  s.homepage = package['homepage']
13
- s.platforms = { :ios => '13.0', :tvos => '13.0' }
13
+ s.platforms = { :ios => '13.4', :tvos => '13.4' }
14
14
  s.swift_version = '5.4'
15
15
  s.source = { git: 'https://github.com/expo/expo.git' }
16
16
  s.static_framework = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates-interface",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Native interface for modules that optionally depend on expo-updates, e.g. expo-dev-launcher.",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -23,5 +23,5 @@
23
23
  "peerDependencies": {
24
24
  "expo": "*"
25
25
  },
26
- "gitHead": "da25937e2a99661cbe5eb60ca1d8d6245fc96a50"
26
+ "gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c"
27
27
  }