expo-crypto 14.0.3-canary-20250122-166c2cb → 14.0.3-canary-20250131-5c4e588

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,8 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ - [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
14
+
13
15
  ## 14.0.1 — 2024-10-22
14
16
 
15
17
  _This version does not introduce any user-facing changes._
@@ -1,15 +1,27 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
+ def useLegacyExpoModulesCorePlugin = {
4
+ def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
5
+ apply from: expoModulesCorePlugin
6
+ applyKotlinExpoModulesCorePlugin()
7
+ useCoreDependencies()
8
+ useDefaultAndroidSdkVersions()
9
+ useExpoPublishing()
10
+ }
11
+
12
+ try {
13
+ apply plugin: 'expo-module-gradle-plugin'
14
+ } catch (e) {
15
+ if (!e instanceof UnknownPluginException) {
16
+ throw e
17
+ }
18
+
19
+ useLegacyExpoModulesCorePlugin()
20
+ }
21
+
3
22
  group = 'host.exp.exponent'
4
23
  version = '14.0.1'
5
24
 
6
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
- apply from: expoModulesCorePlugin
8
- applyKotlinExpoModulesCorePlugin()
9
- useCoreDependencies()
10
- useDefaultAndroidSdkVersions()
11
- useExpoPublishing()
12
-
13
25
  android {
14
26
  namespace "expo.modules.crypto"
15
27
  defaultConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-crypto",
3
- "version": "14.0.3-canary-20250122-166c2cb",
3
+ "version": "14.0.3-canary-20250131-5c4e588",
4
4
  "description": "Provides cryptography primitives for Android, iOS and web.",
5
5
  "main": "build/Crypto.js",
6
6
  "types": "build/Crypto.d.ts",
@@ -42,9 +42,9 @@
42
42
  "base64-js": "^1.3.0"
43
43
  },
44
44
  "devDependencies": {
45
- "expo-module-scripts": "4.0.4-canary-20250122-166c2cb"
45
+ "expo-module-scripts": "4.0.4-canary-20250131-5c4e588"
46
46
  },
47
47
  "peerDependencies": {
48
- "expo": "53.0.0-canary-20250122-166c2cb"
48
+ "expo": "53.0.0-canary-20250131-5c4e588"
49
49
  }
50
50
  }