@powersync/react-native 2.2.0 → 2.2.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.
@@ -15,7 +15,14 @@ buildscript {
15
15
  }
16
16
 
17
17
  apply plugin: "com.android.library"
18
- apply plugin: "kotlin-android"
18
+ // AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
19
+ // itself. Applying the Kotlin plugin on top of it fails configuration with
20
+ // "Cannot add extension with name 'kotlin'". Only apply it when nothing has
21
+ // registered that extension yet.
22
+ if (project.extensions.findByName('kotlin') == null) {
23
+ apply plugin: "kotlin-android"
24
+ }
25
+
19
26
  apply plugin: "com.facebook.react"
20
27
 
21
28
  def getExtOrDefault(name) {
@@ -81,7 +88,7 @@ repositories {
81
88
  def kotlin_version = getExtOrDefault("kotlinVersion")
82
89
 
83
90
  dependencies {
84
- implementation 'com.powersync:powersync-sqlite-core:0.5.2'
91
+ implementation 'com.powersync:powersync-sqlite-core:0.5.3'
85
92
  // For < 0.71, this will be from the local maven repo
86
93
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
87
94
  //noinspection GradleDynamicVersion
package/ios/Package.swift CHANGED
@@ -2,7 +2,7 @@
2
2
  import PackageDescription
3
3
 
4
4
  // When updating this, also update the version in powersync-react-native.podspec and android/build.gradle
5
- let coreExtensionVersion: Version = "0.5.2"
5
+ let coreExtensionVersion: Version = "0.5.3"
6
6
 
7
7
  let packageName = "PowerSyncReactNative"
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powersync/react-native",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -30,17 +30,17 @@
30
30
  "homepage": "https://docs.powersync.com/",
31
31
  "peerDependencies": {
32
32
  "@op-engineering/op-sqlite": ">=17.1.0 <19.0.0",
33
- "@powersync/common": "^2.2.0",
33
+ "@powersync/common": "^2.2.1",
34
34
  "react": "*",
35
35
  "react-native": "*"
36
36
  },
37
37
  "dependencies": {
38
- "@powersync/common": "2.2.0",
38
+ "@powersync/common": "2.2.1",
39
39
  "@powersync/react": "2.0.1",
40
40
  "@powersync/shared-internals": "1.2.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@op-engineering/op-sqlite": "^18.1.1",
43
+ "@op-engineering/op-sqlite": "^18.2.0",
44
44
  "expo": "^56.0.0",
45
45
  "@types/react": "^19.1.1",
46
46
  "react": "^19.2.0",
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
24
24
  s.dependency "React-callinvoker"
25
25
  s.dependency "React"
26
26
  # When updating this, also update the version in Package.swift and android/build.gradle
27
- s.dependency "powersync-sqlite-core", "~> 0.5.2"
27
+ s.dependency "powersync-sqlite-core", "~> 0.5.3"
28
28
  if defined?(install_modules_dependencies())
29
29
  install_modules_dependencies(s)
30
30
  else