0.1.2 • Published 2 months ago

expo-temi v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Expo-Temi

expo-temi provides an interface to communicate with Temi hardware using Temi SDK.

Currently still under development, PRs are welcomed.

Installation

You need to use JDK 17 for this module, otherwise Android compilation might fail.

npx expo install expo-temi

For your application to show up in the temi OS, you need to create an Expo plugin to inject the following metadata into the AndroidManifest.xml of your build.

<meta-data
    android:name="com.robotemi.sdk.metadata.SKILL"
    android:value="@string/app_name" />

API documentation

We are currently on Temi SDK 1.131.4, and we hope to port every method from the official Temi Robot API.

As of the time being, only the speak(text: string) has been implemented as a POC.

Contributing

PRs are welcomed! The source code is available at https://github.com/strengthless/expo-temi.

The only three files that you'd likely be interested in are /android/src/main/java/expo/modules/temi/ExpoTemiModule.kt, /src/index.ts and /example/App.tsx, which are respectively responsible for native code implementation, Expo module API definitions and Expo module testing.

npm run build
cd ./example
npx expo run:android
0.1.2

2 months ago

0.1.1

8 months ago

0.1.0

8 months ago