File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import RNRK from 'react-native-replaykit'
3131
3232RNRK.initialize() // you need to call this before using RNRK and only once during app's life.
3333
34- RNRK.startRecording((recordings, error) => console.log(recordings)) // starts the recording
34+ RNRK.startRecording((recordings, error) => console.log(recordings)) // starts the recording. The callback is fired when the recording is completed.
3535
3636RNRK.stopRecording(recordings => console.log(recordings)) // stops the recording and saves it <- Same as pressing Stop in blue bar up top
3737
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-replaykit" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments