expo-gl 15.0.5-canary-20250122-166c2cb → 15.0.5-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,9 @@
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
+ - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
15
+
13
16
  ## 15.0.2 — 2024-11-14
14
17
 
15
18
  _This version does not introduce any user-facing changes._
@@ -1,19 +1,31 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
- group = 'host.exp.exponent'
4
- version = '15.0.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
+ }
5
21
 
6
22
  def reactNativeArchitectures() {
7
23
  def value = project.getProperties().get("reactNativeArchitectures")
8
24
  return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
9
25
  }
10
26
 
11
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
12
- apply from: expoModulesCorePlugin
13
- applyKotlinExpoModulesCorePlugin()
14
- useCoreDependencies()
15
- useDefaultAndroidSdkVersions()
16
- useExpoPublishing()
27
+ group = 'host.exp.exponent'
28
+ version = '15.0.2'
17
29
 
18
30
  android {
19
31
  if (rootProject.hasProperty("ndkPath")) {
@@ -1,7 +1,6 @@
1
1
  {
2
- "name": "expo-gl",
3
- "platforms": ["ios", "android"],
4
- "ios": {
2
+ "platforms": ["apple", "android"],
3
+ "apple": {
5
4
  "podspecPath": "./ExpoGL.podspec",
6
5
  "modules": ["GLViewModule"]
7
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-gl",
3
- "version": "15.0.5-canary-20250122-166c2cb",
3
+ "version": "15.0.5-canary-20250131-5c4e588",
4
4
  "description": "Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -43,11 +43,11 @@
43
43
  "@types/invariant": "^2.2.33",
44
44
  "@types/offscreencanvas": "2019.6.4",
45
45
  "@types/webgl2": "^0.0.6",
46
- "expo-module-scripts": "4.0.4-canary-20250122-166c2cb",
46
+ "expo-module-scripts": "4.0.4-canary-20250131-5c4e588",
47
47
  "react-test-renderer": "18.3.1"
48
48
  },
49
49
  "peerDependencies": {
50
- "expo": "53.0.0-canary-20250122-166c2cb",
50
+ "expo": "53.0.0-canary-20250131-5c4e588",
51
51
  "react": "*",
52
52
  "react-native": "*",
53
53
  "react-native-web": "*"