Skip to content

Commit d815c9a

Browse files
committed
chore: Upgrade realm to the New Architecture
MongoDB, the company that acquired Realm several years ago, recently announced that they are deprecating Realm :/ So, I'll need to start building an alternate mass storage solution. Fortunately, it looks like there's a new kid on the sqlite block, `react-native-nitro-sqlite`, so I may be able to switch to the database I had wanted to use in the first place. BUT... that migration doesn't need to happen today. Realm still works for now, so we'll keep it and upgrade it until we are able to move to a more stable datastore.
1 parent 299f355 commit d815c9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

android/app/proguard-rules.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
# http://developer.android.com/guide/developing/tools/proguard.html
99

1010
# Add any project specific keep options here:
11+
-keep class io.realm.react.**

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@react-navigation/drawer": "^7.0.13",
3232
"@react-navigation/native": "^7.0.8",
3333
"@react-navigation/stack": "^7.0.13",
34-
"@realm/react": "^0.6.1",
34+
"@realm/react": "^0.11.0",
3535
"buffer": "^6.0.3",
3636
"deepmerge": "^3.3.0",
3737
"i18next": "^21.8.9",
@@ -52,7 +52,7 @@
5252
"react-native-safe-area-context": "^4.14.0",
5353
"react-native-screens": "^4.3.0",
5454
"react-native-webview": "^12.0.2",
55-
"realm": "^12.2.1",
55+
"realm": "^12.14.0",
5656
"solution-analyzer": "^0.1.6",
5757
"uuid": "^9.0.0"
5858
},

0 commit comments

Comments
 (0)