Commit 11314d5
authored
feat(react-native): sample app & voice transcription (#7)
This PR looks larger than it actually is because of the introduction of
the RN sample app in the repo. Realistically, it's whatever the app's
`App.tsx` file contains and then everything within
`packages/react-native-sdk`.
Everything else does not need to be reviewed and was generated with
`create-react-native-app` (with slight modifications for known issues as
well as library installations).
In addition, it also includes:
- Clipboard support for code blocks
- A rudimentary state layer for bottom sheet, dictation and the text
input
- Refactoring of the services API a bit so that it's easier to consume
TODO:
- [x] iOS voice dictation
- [x] Clean `useDictation` up a bit1 parent f7818f8 commit 11314d5
File tree
112 files changed
+10847
-593
lines changed- examples/ReactNativeChatGPTSample
- .bundle
- __tests__
- android
- app
- src/main
- java/com/reactnativechatgptsample
- res
- drawable
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- gradle/wrapper
- contexts
- http
- ios
- ReactNativeChatGPTSample.xcodeproj
- ReactNativeChatGPTSample.xcworkspace
- ReactNativeChatGPTSample
- Images.xcassets
- AppIcon.appiconset
- packages/react-native-sdk
- android/src/main
- java/com/streamio/aicomponents/renderkit
- jni
- ios
- src
- charts
- components
- components
- hooks
- contexts
- internal/icons
- markdown
- components
- utils
- message-composer
- utils
- native-specs
- native
- services
- clipboard-service
- media-picker-service
- hooks
- store
- bottom-sheet
- composer
- dictation
- transcription
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
112 files changed
+10847
-593
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments