@granite-js/screen 3.0.0 → 3.0.1

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
@@ -1,5 +1,13 @@
1
1
  # @granite-js/screen
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8833be7: Fix Android builds on AGP 9.
8
+ - Use the host app's `compileSdkVersion` when defined, so the libraries pass AGP 9's AAR metadata check against dependencies that require a newer compile SDK.
9
+ - Remove the dynamic `com.facebook.fbjni:fbjni:+` dependency from `@granite-js/screen`. `react-android` already exposes fbjni as an API dependency, so the version now follows React Native instead of resolving to the latest release.
10
+
3
11
  ## 3.0.0
4
12
 
5
13
  ## 2.5.5
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
 
4
4
  android {
5
5
  namespace "run.granite"
6
- compileSdkVersion 35
6
+ compileSdkVersion rootProject.ext.has('compileSdkVersion') ? rootProject.ext.get('compileSdkVersion') : 35
7
7
 
8
8
  sourceSets {
9
9
  main {
@@ -54,7 +54,6 @@ android {
54
54
 
55
55
  dependencies {
56
56
  api 'com.facebook.react:react-android:+'
57
- implementation 'com.facebook.fbjni:fbjni:+'
58
57
  implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22'
59
58
  implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
60
59
  implementation 'com.google.code.gson:gson:2.8.9'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@granite-js/screen",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "description": "Brownfield Screen for React Native",
6
6
  "files": [
7
7
  "dist",