1.2.2 • Published 2 months ago
expo-reference-lib v1.2.2
Expo Reference Lib (Word Dictionary)
Use IOS lookup and Android define by given string
https://github.com/VidocqH/expo-reference-lib/assets/16725418/098015e1-1a19-4a0d-a27f-71f25308d400
Support
IOS - use
UIReferenceLibraryViewController
Android - use
android.content.Intent.ACTION_DEFINE
Expo
Installation
Using npm
npm i expo-reference-lib
Using yarn
yarn add expo-reference-lib
Usage
import * as ExpoReferenceLib from "expo-reference-lib";
ExpoReferenceLib.presentReferenceLibraryAsync("Utopia");
ExpoReferenceLib.dismissReferenceLibraryAsync(); // IOS only, close lookup modal