Skip to content
项目

rgommezz/timer-live-activity

在 GitHub 查看

关于

Seamless integration of iOS Live Activities into React Native with two-way communication 🎨

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Timer Live Activity

Example project designed to demonstrate the seamless integration between a React Native application and an iOS Live Activity. For a comprehensive guide that walks you through each step, check out this series:

What this project covers

  • 🍏 Swift Native Modules: Learn how to craft the essential bridging files, enabling the use of Swift, the leading-edge iOS programming language, in your Native Modules.
  • 🚀 Live Activity API: Discover how to initiate, update, and terminate an iOS Live Activity directly from React Native, bringing content to both your phone's dynamic island and lock screen.
  • 🖌️ SwiftUI: Delve into the SwiftUI framework, exploring its declarative composition model that simplifies UI development with a cleaner, more concise syntax.
  • 🔌 Bidirectional Communication: Uncover the power of invoking React Native code through user interactions within the live activity, enabling a two-way communication stream.

https://github.com/rgommezz/timer-live-activity/assets/4982414/65aea563-0618-450a-b37c-812baec3b6b0

Architecture

Getting Started

  1. Clone the repository
  2. Run npm install to install the dependencies
  3. Run npx pod-install to install the Pods for the iOS project
  4. Run npm run ios to start the application

探索相关项目

加载中…