IOS Live Activities for react native
npm install react-native-live-activities
npx pod-install
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>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library