Skip to content

Commit d4d27b5

Browse files
committed
- Bump react native version
- Remove use of nativeCallSyncHook() - Upgrade ruby version
1 parent 58d5038 commit d4d27b5

File tree

5 files changed

+1693
-1166
lines changed

5 files changed

+1693
-1166
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.10
1+
3.3.0

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'https://rubygems.org'
22
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
3-
ruby '2.7.6'
3+
ruby '3.3.0'
44
gem 'cocoapods', '~> 1.11', '>= 1.11.3'

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
"homepage": "https://github.com/powersync-ja/react-native-quick-sqlite#readme",
5050
"devDependencies": {
5151
"@changesets/cli": "^2.26.2",
52-
"prettier": "^3.2.4",
52+
"prettier": "^3.3.3",
5353
"react": "18.2.0",
54-
"react-native": "0.71.0",
55-
"react-native-builder-bob": "^0.18.2",
54+
"react-native": "0.74.5",
55+
"react-native-builder-bob": "^0.30.1",
5656
"typescript": "^4.8.4"
5757
},
5858
"peerDependencies": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (global.__QuickSQLiteProxy == null) {
1818
}
1919

2020
// Check if we are running on-device (JSI)
21-
if (global.nativeCallSyncHook == null || QuickSQLiteModule.install == null) {
21+
if (QuickSQLiteModule.install == null) {
2222
throw new Error(
2323
'Failed to install react-native-quick-sqlite: React Native is not running on-device. QuickSQLite can only be used when synchronous method invocations (JSI) are possible. If you are using a remote debugger (e.g. Chrome), switch to an on-device debugger (e.g. Flipper) instead.'
2424
);

0 commit comments

Comments
 (0)