Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions apps/playground/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,27 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-performance (5.1.4):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-safe-area-context (5.5.2):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1598,6 +1619,27 @@ PODS:
- React-logger (= 0.76.0)
- React-perflogger (= 0.76.0)
- React-utils (= 0.76.0)
- RNCAsyncStorage (2.2.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNScreens (4.4.0):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1686,6 +1728,7 @@ DEPENDENCIES:
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- react-native-mmkv (from `../node_modules/react-native-mmkv`)
- react-native-performance (from `../node_modules/react-native-performance`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-nativeconfig (from `../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
Expand Down Expand Up @@ -1714,6 +1757,7 @@ DEPENDENCIES:
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
- ReactCodegen (from `build/generated/ios`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
- RNScreens (from `../node_modules/react-native-screens`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

Expand Down Expand Up @@ -1797,6 +1841,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-get-random-values"
react-native-mmkv:
:path: "../node_modules/react-native-mmkv"
react-native-performance:
:path: "../node_modules/react-native-performance"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
React-nativeconfig:
Expand Down Expand Up @@ -1853,6 +1899,8 @@ EXTERNAL SOURCES:
:path: build/generated/ios
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
RNCAsyncStorage:
:path: "../node_modules/@react-native-async-storage/async-storage"
RNScreens:
:path: "../node_modules/react-native-screens"
Yoga:
Expand Down Expand Up @@ -1896,6 +1944,7 @@ SPEC CHECKSUMS:
React-microtasksnativemodule: cf1584fdc26003a6e7bf02b9d591e2d8353f7b75
react-native-get-random-values: d16467cf726c618e9c7a8c3c39c31faa2244bbba
react-native-mmkv: d9af389b132ca3a56f93eb4225c92f397f435f33
react-native-performance: a98bf1c728aa26daae095f7a313153316016dce3
react-native-safe-area-context: bb9dd7ee24674663cc345a423409e4542eabd1a9
React-nativeconfig: 72c10ff34863148ef90df9c9c8eacba99d2faaaa
React-NativeModulesApple: 71fd2cce69bcd2c46673cf6afedb4935b47bf230
Expand Down Expand Up @@ -1924,6 +1973,7 @@ SPEC CHECKSUMS:
React-utils: e74516d5b9483c5530ec61e249e28b88729321d2
ReactCodegen: ff7512e124e3dc1363a4930a209d033354d2042a
ReactCommon: cde69a75746e8d7131f61c27155ee9dc42117003
RNCAsyncStorage: f27db574d8d0d56438ec4e9ba345872f2d0f29f4
RNScreens: 351f431ef2a042a1887d4d90e1c1024b8ae9d123
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: f8ec45ce98bba1bc93dd28f2ee37215180e6d2b6
Expand Down
2 changes: 2 additions & 0 deletions apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"@react-navigation/elements": "^2.5.2",
"@react-navigation/native": "^7.1.14",
"@react-navigation/native-stack": "^7.3.21",
"@react-native-async-storage/async-storage": "^2.2.0",
"@reduxjs/toolkit": "^2.8.2",
"@rozenite/async-storage-plugin": "workspace:*",
"@rozenite/expo-atlas-plugin": "workspace:*",
"@rozenite/mmkv-plugin": "workspace:*",
"@rozenite/network-activity-plugin": "workspace:*",
Expand Down
5 changes: 5 additions & 0 deletions apps/playground/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ import { MMKVPluginScreen } from './screens/MMKVPluginScreen';
import { NetworkTestScreen } from './screens/NetworkTestScreen';
import { ReduxTestScreen } from './screens/ReduxTestScreen';
import { PerformanceMonitorScreen } from './screens/PerformanceMonitorScreen';
import { AsyncStoragePluginScreen } from './screens/AsyncStoragePluginScreen';
import { ConfigScreen } from './screens/ConfigScreen';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { useTanStackQueryDevTools } from '@rozenite/tanstack-query-plugin';
import { useNetworkActivityDevTools } from '@rozenite/network-activity-plugin';
import { useMMKVDevTools } from '@rozenite/mmkv-plugin';
import { useAsyncStorageDevTools } from '@rozenite/async-storage-plugin';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { RootStackParamList } from './navigation/types';
import { Provider } from 'react-redux';
import { store } from './store';
Expand All @@ -27,6 +30,7 @@ const Wrapper = () => {
storages: mmkvStorages,
blacklist: /user-storage:sensitiveToken/,
});
useAsyncStorageDevTools(AsyncStorage);
usePerformanceMonitorDevTools();

return (
Expand All @@ -45,6 +49,7 @@ const Wrapper = () => {
name="PerformanceMonitor"
component={PerformanceMonitorScreen}
/>
<Stack.Screen name="AsyncStorage" component={AsyncStoragePluginScreen} />
<Stack.Screen
name="Config"
component={ConfigScreen}
Expand Down
1 change: 1 addition & 0 deletions apps/playground/src/app/navigation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export type RootStackParamList = {
NetworkTest: undefined;
ReduxTest: undefined;
PerformanceMonitor: undefined;
AsyncStorage: undefined;
Config: undefined;
};

Expand Down
Loading