Open31

Expo Modules API

katayama8000katayama8000

What is the Expo Modules API
The Expo Modules API allows you to write Swift and Kotlin to add new capabilities to your app with native modules and views. The API is designed to take advantage of modern language features, to be as consistent as possible on both platforms, to require minimal boilerplate, and provide comparable performance characteristics to React Native's Turbo Modules API. Expo Modules all support the New Architecture and are automatically backwards compatible with existing React Native apps using the old architecture.
We believe that using the Expo Modules API makes building and maintaining nearly all kinds of React Native modules about as easy as it can be, and we think that the Expo Modules API is the best choice for the vast majority of developers building native modules for their apps.

katayama8000katayama8000

Expo Modules APIは、SwiftとKotlinを使用してネイティブモジュールとビューをアプリに追加できるAPIであり、最新の言語機能を活用し、React NativeのTurbo Modules APIと同等のパフォーマンスを提供するよう設計されています。Expo Modules APIを使用することで、新旧アーキテクチャの両方をサポートし、React Nativeアプリとの後方互換性を実現できます。開発者にとって、Expo Modules APIはほとんどすべての種類のReact Nativeモジュールを簡単に構築・保守できるため、最適な選択肢とされています。

katayama8000katayama8000

brew 経由で install すればできそうな記事がちらほら
https://medium.com/@sama3l/cocoapods-pod-install-error-on-apple-mac-m1-54ffdb576caa

katayama8000katayama8000
t-katayama@MacBook-Pro priv % gem list --local | grep cocoapods
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
cocoapods-try (1.2.0)
katayama8000katayama8000
sudo gem uninstall cocoapods-deintegrate
sudo gem uninstall cocoapods-downloader
sudo gem uninstall cocoapods-plugins
sudo gem uninstall cocoapods-search
sudo gem uninstall cocoapods-trunk
sudo gem uninstall cocoapods-try
katayama8000katayama8000
katayama8000katayama8000

t-katayama@MacBook-Pro priv % gem list --local | grep cocoapods

cocoapods-deintegrate (1.0.5)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
cocoapods-try (1.2.0)
katayama8000katayama8000
sudo gem uninstall cocoapods-deintegrate
sudo gem uninstall cocoapods-downloader
sudo gem uninstall cocoapods-plugins
sudo gem uninstall cocoapods-search
sudo gem uninstall cocoapods-trunk
sudo gem uninstall cocoapods-try