react-native-live-activities
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i react-native-live-activities

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

51.6 kB

Total Files

26

Last publish

Collaborators

  • elasoshi