Skip to content

elasoshi/react-native-live-activities

Repository files navigation

react-native-live-activities

IOS Live Activities for react native

Installation

npm install react-native-live-activities
npx pod-install

Usage

import { createActivity, endAllActivity } from 'react-native-live-activities';

// ...

export default function App() {
  return (
    <View style={styles.container}>
      <Button title="start activity" onPress={() => createActivity()} />
      <Button title="end" onPress={() => endAllActivity()} />
    </View>
  );
}

Contributing

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

License

MIT


Made with create-react-native-library