https://github.com/hoaphantn7604/react-native-dynamic-island-master
The first version only supports taking hasDynamicIsland. We will extend other API in next version.
https://github.com/hoaphantn7604/react-native-dynamic-island-master
areactivitiesenabled detect-device dynamic-island hasdynamicisland live-activities react-native
Last synced: 12 months ago
JSON representation
The first version only supports taking hasDynamicIsland. We will extend other API in next version.
- Host: GitHub
- URL: https://github.com/hoaphantn7604/react-native-dynamic-island-master
- Owner: hoaphantn7604
- License: mit
- Created: 2022-09-20T15:49:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:25:13.000Z (over 3 years ago)
- Last Synced: 2025-07-20T04:41:49.868Z (about 1 year ago)
- Topics: areactivitiesenabled, detect-device, dynamic-island, hasdynamicisland, live-activities, react-native
- Language: Java
- Homepage:
- Size: 453 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-dynamic-island-master
Live Activities APIs.
## Support Only IOS
### Require Xcode 14.1 or Newer
- hasDynamicIsland: Detect device has Dynamic Island.
- areActivitiesEnabled: A Boolean value that indicates whether your app can start a Live Activities.
## Example
```js
import * as React from 'react';
import { View, Text } from 'react-native';
import { hasDynamicIsland, areActivitiesEnabled } from 'react-native-dynamic-island-master';
export default function App() {
return (
Has Dynamic Island: {hasDynamicIsland.toString()}
areActivitiesEnabled: {areActivitiesEnabled.toString()}
);
}
```
## Video tutorial:
#### [Build Dynamic Island For React Native - Tutorial Step-by-Step](https://www.youtube.com/playlist?list=PLpMCFmfT7cNeAJaCEJbKktudFyuxufr2c)
[
](https://www.youtube.com/playlist?list=PLpMCFmfT7cNeAJaCEJbKktudFyuxufr2c)