0.34.0 • Published 3 years ago

zipyai-react-native-staging v0.34.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

zipyai-react-native-staging

Zipy Screen Recorder SDK react native

Installation

npm install zipyai-react-native-staging

Android

AndroidManifest

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>  
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

android:allowBackup="true"
android:requestLegacyExternalStorage="true"

project level build.gradle

minSdkVersion = 21

How to use

Using class component

import React from 'react';
import ZIPY from 'zipyai-react-native-staging';

ZIPY.setJSExceptionHandler((err, isfatle) => {
  ZIPY.crashFileOnServer(err.message)
}, true)

export default class App extends React.Component {

  componentDidMount() {
    ZIPY.startRecordingScreen()
  }

  render(){
    return(
        <View> </View>
    )
  }
}

Using Hooks

import React,{useEffect} from 'react';
import ZIPY from 'zipyai-react-native-staging';


ZIPY.setJSExceptionHandler((err, isfatle) => {
  ZIPY.crashFileOnServer(err.message)
}, true)

function App(props){

    useEffect(()=>{
        ZIPY.startRecordingScreen()
    },[])

    return(
        <View> </View>
    )
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.34.0

3 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.28.0

3 years ago

0.27.0

3 years ago

0.26.0

3 years ago

0.25.0

3 years ago

0.24.0

3 years ago

0.19.0

3 years ago

0.23.0

3 years ago

0.16.0

3 years ago

0.17.0

3 years ago

0.18.0

3 years ago

0.14.0

3 years ago

0.15.0

3 years ago

0.10.0

4 years ago

0.11.0

4 years ago

0.9.0

4 years ago

0.12.0

4 years ago

0.13.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago