An open API service indexing awesome lists of open source software.

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.

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)