@zean-chat/react-native 0.1.6 → 0.1.7
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/README.md +7 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +102 -6
- package/dist/interfaces.d.ts +14 -7
- package/dist/models/sdk.constants.d.ts +2 -0
- package/dist/models/sdk.interface.d.ts +21 -1
- package/dist/models/sdk.utils.d.ts +15 -1
- package/package.json +22 -2
package/README.md
CHANGED
|
@@ -2,26 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Add a free customer support chat inside your iOS and Android app, with [Zean](https://zean.chat/?utm_source=npm&utm_medium=readme&utm_campaign=react-native). Plain React Native: no native module of its own, works in Expo Go. Your App key is in your Zean dashboard.
|
|
4
4
|
|
|
5
|
+
First, in App settings, set your app's Bundle ID (iOS) and Package name (Android): the chat shows only in that app, and always in Expo Go.
|
|
6
|
+
|
|
5
7
|
```bash
|
|
6
|
-
npx expo install @zean-chat/react-native @react-native-async-storage/async-storage expo-image-picker
|
|
8
|
+
npx expo install @zean-chat/react-native expo-application @react-native-async-storage/async-storage expo-image-picker
|
|
7
9
|
# or
|
|
8
|
-
npm install @zean-chat/react-native @react-native-async-storage/async-storage react-native-image-picker
|
|
10
|
+
npm install @zean-chat/react-native react-native-device-info @react-native-async-storage/async-storage react-native-image-picker
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
The photo picker is optional: without one, the chat has no photo button.
|
|
13
|
+
Already using MMKV or Expo SQLite? Skip AsyncStorage: the chat finds your storage by itself, with no code. Already have a photo picker? Skip it too. The photo picker is optional: without one, the chat has no photo button. `expo-application` (Expo) or `react-native-device-info` (React Native CLI) is required: the chat reads your app's Bundle ID or Package name with it, and stays hidden without it.
|
|
12
14
|
|
|
13
15
|
```tsx
|
|
14
|
-
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
15
16
|
import { ZeanChat, useZean } from "@zean-chat/react-native";
|
|
16
17
|
|
|
17
18
|
// Once, at the root of the app (beside the navigator, or in app/_layout.tsx with Expo Router).
|
|
18
|
-
<ZeanChat appKey="app_your_app_key"
|
|
19
|
+
<ZeanChat appKey="app_your_app_key" user={user ? { id: user.id, name: user.name, email: user.email } : undefined} locale="fr" />;
|
|
19
20
|
|
|
20
21
|
// Anywhere. The chat opens in a modal over the app.
|
|
21
22
|
const { open, close, toggle, unreadCount, identify, signOut, setAttributes } = useZean();
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
Passing `user` signs the person in; `undefined` signs them out. `locale` (`fr`, `en`) and `colorScheme` (`light`, `dark`) default to the phone's. `maxPhotos` sets the photos per message, 1 to 6; 4 by default.
|
|
25
|
+
Passing `user` signs the person in; `undefined` signs them out. `locale` (`fr`, `en`) and `colorScheme` (`light`, `dark`) default to the phone's. `maxPhotos` sets the photos per message, 1 to 6; 4 by default. The chat keeps the newest 100 messages in your app's storage: it shows them at once and downloads only new ones. To choose the storage, pass `storage`: AsyncStorage, an MMKV instance (any version) or anything with `getItem` and `setItem`. Full guide: [install the chat in React Native and Expo](https://zean.chat/docs/install-react-native), [React Native reference](https://zean.chat/docs/reference-react-native).
|
|
25
26
|
|
|
26
27
|
## Why Zean
|
|
27
28
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ZeanChat } from './components/ZeanChat';
|
|
2
2
|
export { useZean } from './hooks/use-zean';
|
|
3
|
-
export type { ZeanAttributeValue, ZeanAttributes, ZeanChatProps, ZeanColorScheme, ZeanControls, ZeanLocale, ZeanStorage, ZeanUser } from './interfaces';
|
|
3
|
+
export type { ZeanAttributeValue, ZeanAttributes, ZeanChatProps, ZeanColorScheme, ZeanControls, ZeanKeyValueStorage, ZeanLocale, ZeanMMKV, ZeanStorage, ZeanUser } from './interfaces';
|
package/dist/index.js
CHANGED
|
@@ -258,7 +258,7 @@ function createChatStore(backend, options) {
|
|
|
258
258
|
state = derive();
|
|
259
259
|
for (const listener of listeners2) listener();
|
|
260
260
|
};
|
|
261
|
-
const args = () => ({ appKey: options.appKey, deviceSecret, host: options.host });
|
|
261
|
+
const args = () => ({ appKey: options.appKey, deviceSecret, host: options.host, bundle: options.bundle });
|
|
262
262
|
const deviceLanguage = options.deviceLanguage ?? options.languages[0];
|
|
263
263
|
const device = () => ({
|
|
264
264
|
locale: state.locale,
|
|
@@ -370,9 +370,8 @@ function createChatStore(backend, options) {
|
|
|
370
370
|
if (session?.state !== result.state && result.state === "not_found")
|
|
371
371
|
console.warn(`${APP_NAME}: no App has the key "${options.appKey}". Check the install snippet.`);
|
|
372
372
|
if (session?.state !== result.state && result.state === "domain_not_allowed")
|
|
373
|
-
console.warn(
|
|
374
|
-
|
|
375
|
-
);
|
|
373
|
+
console.warn(`${APP_NAME}: ${options.host ?? "this page"} is not the App's Domain. Set it in the App settings.`);
|
|
374
|
+
if (session?.state !== result.state && result.state === "bundle_id_not_allowed") console.warn(bundleWarning(options.bundle));
|
|
376
375
|
session = result;
|
|
377
376
|
failedToLoad = false;
|
|
378
377
|
if (keep) checkKept(result);
|
|
@@ -860,8 +859,14 @@ function fromOutbox(entry) {
|
|
|
860
859
|
error: entry.error
|
|
861
860
|
};
|
|
862
861
|
}
|
|
862
|
+
function bundleWarning(bundle) {
|
|
863
|
+
if (!bundle)
|
|
864
|
+
return `${APP_NAME}: the chat could not read this app's Bundle ID or Package name. Install expo-application (Expo) or react-native-device-info.`;
|
|
865
|
+
const field = bundle.os === "ios" ? "Bundle ID" : "Package name";
|
|
866
|
+
return `${APP_NAME}: ${bundle.id} is not the App's ${field}. Set it in the App settings.`;
|
|
867
|
+
}
|
|
863
868
|
function hidesChat(result) {
|
|
864
|
-
return result.state === "not_found" || result.state === "domain_not_allowed";
|
|
869
|
+
return result.state === "not_found" || result.state === "domain_not_allowed" || result.state === "bundle_id_not_allowed";
|
|
865
870
|
}
|
|
866
871
|
function quietly(write) {
|
|
867
872
|
try {
|
|
@@ -6378,6 +6383,7 @@ var IMAGE_TYPES = ["image/jpeg", "image/png", "image/webp"];
|
|
|
6378
6383
|
var OFFLINE_NOTICE_MS = 3e3;
|
|
6379
6384
|
var ANDROID_NAVIGATION_BAR = 48;
|
|
6380
6385
|
var DEFAULT_MAX_PHOTOS = 4;
|
|
6386
|
+
var CHAT_STORAGE_ID = "zean-chat";
|
|
6381
6387
|
var LINK_RETRY_MS = 1500;
|
|
6382
6388
|
var LINK_RETRIES = 5;
|
|
6383
6389
|
var LINK_LIFETIME_MS = 50 * 60 * 1e3;
|
|
@@ -6444,6 +6450,92 @@ function deviceLanguages() {
|
|
|
6444
6450
|
return [];
|
|
6445
6451
|
}
|
|
6446
6452
|
}
|
|
6453
|
+
function appBundle() {
|
|
6454
|
+
if (import_react_native.Platform.OS !== "ios" && import_react_native.Platform.OS !== "android") return void 0;
|
|
6455
|
+
const id = expoApplicationId() ?? deviceInfoBundleId();
|
|
6456
|
+
return id ? { os: import_react_native.Platform.OS, id } : void 0;
|
|
6457
|
+
}
|
|
6458
|
+
function chatStorage(storage) {
|
|
6459
|
+
const found2 = storage ? keyValue(storage) : installedStorage();
|
|
6460
|
+
if (!found2) {
|
|
6461
|
+
console.warn(
|
|
6462
|
+
`${APP_NAME}: no storage found, so the conversation is forgotten when the app closes. Install react-native-mmkv, @react-native-async-storage/async-storage or expo-sqlite, then build the app again.`
|
|
6463
|
+
);
|
|
6464
|
+
}
|
|
6465
|
+
const memory = /* @__PURE__ */ new Map();
|
|
6466
|
+
return {
|
|
6467
|
+
getItem: async (key) => {
|
|
6468
|
+
try {
|
|
6469
|
+
if (found2) return await found2.getItem(key);
|
|
6470
|
+
} catch {
|
|
6471
|
+
}
|
|
6472
|
+
return memory.get(key) ?? null;
|
|
6473
|
+
},
|
|
6474
|
+
setItem: async (key, value) => {
|
|
6475
|
+
memory.set(key, value);
|
|
6476
|
+
try {
|
|
6477
|
+
await found2?.setItem(key, value);
|
|
6478
|
+
} catch {
|
|
6479
|
+
}
|
|
6480
|
+
}
|
|
6481
|
+
};
|
|
6482
|
+
}
|
|
6483
|
+
function keyValue(storage) {
|
|
6484
|
+
if ("getItem" in storage) return storage;
|
|
6485
|
+
return { getItem: (key) => storage.getString(key) ?? null, setItem: (key, value) => storage.set(key, value) };
|
|
6486
|
+
}
|
|
6487
|
+
function installedStorage() {
|
|
6488
|
+
return mmkvStorage() ?? moduleStorage("async-storage") ?? moduleStorage("kv-store") ?? browserStorage();
|
|
6489
|
+
}
|
|
6490
|
+
function mmkvStorage() {
|
|
6491
|
+
try {
|
|
6492
|
+
const module2 = require("react-native-mmkv");
|
|
6493
|
+
const config = { id: CHAT_STORAGE_ID };
|
|
6494
|
+
if (typeof module2?.createMMKV === "function") return keyValue(module2.createMMKV(config));
|
|
6495
|
+
if (typeof module2?.MMKV === "function") return keyValue(new module2.MMKV(config));
|
|
6496
|
+
return null;
|
|
6497
|
+
} catch {
|
|
6498
|
+
return null;
|
|
6499
|
+
}
|
|
6500
|
+
}
|
|
6501
|
+
function moduleStorage(name) {
|
|
6502
|
+
try {
|
|
6503
|
+
const module2 = name === "async-storage" ? require("@react-native-async-storage/async-storage") : require("expo-sqlite/kv-store");
|
|
6504
|
+
return [module2, module2.default, module2.Storage].find(isKeyValue) ?? null;
|
|
6505
|
+
} catch {
|
|
6506
|
+
return null;
|
|
6507
|
+
}
|
|
6508
|
+
}
|
|
6509
|
+
function browserStorage() {
|
|
6510
|
+
try {
|
|
6511
|
+
const storage = globalThis.localStorage;
|
|
6512
|
+
return isKeyValue(storage) ? storage : null;
|
|
6513
|
+
} catch {
|
|
6514
|
+
return null;
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
function isKeyValue(value) {
|
|
6518
|
+
if (typeof value !== "object" || value === null) return false;
|
|
6519
|
+
const { getItem, setItem } = value;
|
|
6520
|
+
return typeof getItem === "function" && typeof setItem === "function";
|
|
6521
|
+
}
|
|
6522
|
+
function expoApplicationId() {
|
|
6523
|
+
try {
|
|
6524
|
+
const expo = require("expo-application");
|
|
6525
|
+
return typeof expo?.applicationId === "string" ? expo.applicationId : null;
|
|
6526
|
+
} catch {
|
|
6527
|
+
return null;
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
function deviceInfoBundleId() {
|
|
6531
|
+
try {
|
|
6532
|
+
const module2 = require("react-native-device-info");
|
|
6533
|
+
const getBundleId = module2?.getBundleId ?? module2?.default?.getBundleId;
|
|
6534
|
+
return typeof getBundleId === "function" ? getBundleId() : null;
|
|
6535
|
+
} catch {
|
|
6536
|
+
return null;
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6447
6539
|
function deviceOs() {
|
|
6448
6540
|
if (import_react_native.Platform.OS === "ios") return `iOS ${import_react_native.Platform.Version}`;
|
|
6449
6541
|
if (import_react_native.Platform.OS === "android") return `Android ${import_react_native.Platform.constants.Release}`;
|
|
@@ -6853,6 +6945,8 @@ var import_react_native9 = require("react-native");
|
|
|
6853
6945
|
// ../shared/src/constants/auth.ts
|
|
6854
6946
|
var CODE_LENGTH = 6;
|
|
6855
6947
|
var CODE_MAX_AGE_SECONDS = 15 * 60;
|
|
6948
|
+
var TEST_EMAIL_DOMAIN = "zean-test.local";
|
|
6949
|
+
var DEV_OPERATOR_EMAIL = `operator@${TEST_EMAIL_DOMAIN}`;
|
|
6856
6950
|
|
|
6857
6951
|
// src/components/ContactCodeCard.tsx
|
|
6858
6952
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
@@ -8036,11 +8130,13 @@ function ZeanChat({
|
|
|
8036
8130
|
const started = createChat({
|
|
8037
8131
|
appKey,
|
|
8038
8132
|
backendUrl,
|
|
8039
|
-
storage: storageRef.current,
|
|
8133
|
+
storage: chatStorage(storageRef.current),
|
|
8040
8134
|
// A chosen language goes first: the chat takes the first one it speaks.
|
|
8041
8135
|
languages: locale ? [locale] : deviceLanguages(),
|
|
8042
8136
|
deviceLanguage: deviceLanguages()[0],
|
|
8043
8137
|
os: deviceOs(),
|
|
8138
|
+
// Checked against the App's Bundle ID or Package name: another app with the same key shows no chat.
|
|
8139
|
+
bundle: appBundle(),
|
|
8044
8140
|
// The Conversation stays on the phone: the next start shows it at once and asks only for newer messages.
|
|
8045
8141
|
keep: true
|
|
8046
8142
|
});
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export type ZeanAttributeValue = string | number | boolean;
|
|
2
2
|
/** What the app knows about the person, shown on the Contact's profile: `{ city: 'Douala', orders: 12 }`. */
|
|
3
3
|
export type ZeanAttributes = Record<string, ZeanAttributeValue>;
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
* with these two.
|
|
7
|
-
*/
|
|
8
|
-
export interface ZeanStorage {
|
|
4
|
+
/** Storage read with `getItem` and written with `setItem`: AsyncStorage, Expo SQLite's `expo-sqlite/kv-store`, or your own. */
|
|
5
|
+
export interface ZeanKeyValueStorage {
|
|
9
6
|
getItem: (key: string) => string | null | Promise<string | null>;
|
|
10
7
|
setItem: (key: string, value: string) => void | Promise<void>;
|
|
11
8
|
}
|
|
9
|
+
/** An MMKV instance from `react-native-mmkv`, any version, passed as it is. */
|
|
10
|
+
export interface ZeanMMKV {
|
|
11
|
+
getString: (key: string) => string | undefined;
|
|
12
|
+
set: (key: string, value: string) => void;
|
|
13
|
+
}
|
|
14
|
+
/** Where the chat keeps the device's secret, unsent messages and the newest 100 messages. */
|
|
15
|
+
export type ZeanStorage = ZeanKeyValueStorage | ZeanMMKV;
|
|
12
16
|
export type ZeanLocale = 'fr' | 'en';
|
|
13
17
|
/** The person signed in to your app. Only `id` is needed; the rest shows on their Contact. */
|
|
14
18
|
export interface ZeanUser {
|
|
@@ -24,8 +28,11 @@ export type ZeanColorScheme = 'light' | 'dark';
|
|
|
24
28
|
export interface ZeanChatProps {
|
|
25
29
|
/** The App's public key, from the install code. */
|
|
26
30
|
appKey: string;
|
|
27
|
-
/**
|
|
28
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Leave it out: the chat finds the storage the app has, MMKV, AsyncStorage or Expo SQLite. Pass one to choose it.
|
|
33
|
+
* Read once, when the chat starts.
|
|
34
|
+
*/
|
|
35
|
+
storage?: ZeanStorage;
|
|
29
36
|
/** The person signed in to your app: `{ id, name, email }`. Leave it out when no one is: the chat signs out. */
|
|
30
37
|
user?: ZeanUser;
|
|
31
38
|
/** What the app knows about the person, shown on the Contact's profile. */
|
|
@@ -6,6 +6,8 @@ export declare const OFFLINE_NOTICE_MS = 3000;
|
|
|
6
6
|
export declare const ANDROID_NAVIGATION_BAR = 48;
|
|
7
7
|
/** Photos a Contact sends in one message, unless `ZeanChat`'s `maxPhotos` says otherwise. */
|
|
8
8
|
export declare const DEFAULT_MAX_PHOTOS = 4;
|
|
9
|
+
/** The chat's own MMKV instance, apart from the app's. */
|
|
10
|
+
export declare const CHAT_STORAGE_ID = "zean-chat";
|
|
9
11
|
/** A photo's link asked for before its message is stored is refused: asked again this often, a few times. */
|
|
10
12
|
export declare const LINK_RETRY_MS = 1500;
|
|
11
13
|
export declare const LINK_RETRIES = 5;
|
|
@@ -3,7 +3,7 @@ import type { Locale } from '@zean/shared/constants/app';
|
|
|
3
3
|
import type { AccentColors } from '@zean/shared/interfaces/widget';
|
|
4
4
|
import type { ReactNode } from 'react';
|
|
5
5
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
6
|
-
import type { ZeanColorScheme } from '../interfaces';
|
|
6
|
+
import type { ZeanColorScheme, ZeanMMKV } from '../interfaces';
|
|
7
7
|
import type { fr } from '../i18n/fr';
|
|
8
8
|
export interface ChatView {
|
|
9
9
|
open: boolean;
|
|
@@ -229,6 +229,26 @@ export interface ImagePickerResult {
|
|
|
229
229
|
errorCode?: string;
|
|
230
230
|
assets?: Array<ImagePickerAsset>;
|
|
231
231
|
}
|
|
232
|
+
/** `react-native-mmkv`: `createMMKV` from version 4, the `MMKV` class before. */
|
|
233
|
+
export interface MMKVModule {
|
|
234
|
+
createMMKV?: (config: {
|
|
235
|
+
id: string;
|
|
236
|
+
}) => ZeanMMKV;
|
|
237
|
+
MMKV?: new (config: {
|
|
238
|
+
id: string;
|
|
239
|
+
}) => ZeanMMKV;
|
|
240
|
+
}
|
|
241
|
+
/** `expo-application`: the app's Bundle ID on iOS, its Package name on Android. */
|
|
242
|
+
export interface ExpoApplicationModule {
|
|
243
|
+
applicationId: string | null;
|
|
244
|
+
}
|
|
245
|
+
/** `react-native-device-info`, its named exports or its default one. */
|
|
246
|
+
export interface DeviceInfoModule {
|
|
247
|
+
getBundleId?: () => string;
|
|
248
|
+
default?: {
|
|
249
|
+
getBundleId?: () => string;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
232
252
|
export interface ImagePickerModule {
|
|
233
253
|
launchImageLibrary: (options: ImagePickerOptions) => Promise<ImagePickerResult>;
|
|
234
254
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChatColors, ScreenInsets } from './sdk.interface';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AppBundle, ChatStorage } from '@zean/sdk-core';
|
|
3
|
+
import type { ZeanColorScheme, ZeanStorage } from '../interfaces';
|
|
3
4
|
/** `{name}` in a text, filled from `values`. */
|
|
4
5
|
export declare function format(template: string, values: Record<string, string | number>): string;
|
|
5
6
|
/** The chat's colours: the App's, made for the screen's scheme, and the neutral ones around them. */
|
|
@@ -11,6 +12,19 @@ export declare function chatColors(color: string, scheme: ZeanColorScheme): Chat
|
|
|
11
12
|
* only one the app was translated into.
|
|
12
13
|
*/
|
|
13
14
|
export declare function deviceLanguages(): Array<string>;
|
|
15
|
+
/**
|
|
16
|
+
* The app the chat runs in, which the App must allow: its Bundle ID on iOS, its Package name on Android. Read through
|
|
17
|
+
* `expo-application`, else `react-native-device-info`. With neither, none: the chat stays hidden and says which to
|
|
18
|
+
* install.
|
|
19
|
+
*/
|
|
20
|
+
export declare function appBundle(): AppBundle | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Where the chat keeps what lasts across launches: the storage the app passed, else the one it has, found by itself:
|
|
23
|
+
* MMKV, then AsyncStorage, then Expo SQLite's `kv-store`, then the browser's on the web. With none, memory: the chat
|
|
24
|
+
* starts over at each launch. A read or a write that fails, as when a native module is missing from the build, falls
|
|
25
|
+
* back to memory too.
|
|
26
|
+
*/
|
|
27
|
+
export declare function chatStorage(storage?: ZeanStorage): ChatStorage;
|
|
14
28
|
/** "iOS 18.2" or "Android 15", for the Contact panel. */
|
|
15
29
|
export declare function deviceOs(): string | undefined;
|
|
16
30
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zean-chat/react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "In-app support chat for React Native and Expo, iOS and Android. Pure JS, no native module. A free Intercom, Crisp and Zendesk mobile SDK alternative.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -56,17 +56,37 @@
|
|
|
56
56
|
"test": "jest --coverage"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
+
"@react-native-async-storage/async-storage": "*",
|
|
60
|
+
"expo-application": "*",
|
|
59
61
|
"expo-image-picker": "*",
|
|
62
|
+
"expo-sqlite": "*",
|
|
60
63
|
"react": ">=19",
|
|
61
64
|
"react-native": ">=0.78",
|
|
62
|
-
"react-native-
|
|
65
|
+
"react-native-device-info": "*",
|
|
66
|
+
"react-native-image-picker": "*",
|
|
67
|
+
"react-native-mmkv": "*"
|
|
63
68
|
},
|
|
64
69
|
"peerDependenciesMeta": {
|
|
70
|
+
"expo-application": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"react-native-device-info": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
65
76
|
"expo-image-picker": {
|
|
66
77
|
"optional": true
|
|
67
78
|
},
|
|
68
79
|
"react-native-image-picker": {
|
|
69
80
|
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@react-native-async-storage/async-storage": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"expo-sqlite": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"react-native-mmkv": {
|
|
89
|
+
"optional": true
|
|
70
90
|
}
|
|
71
91
|
},
|
|
72
92
|
"devDependencies": {
|