For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Simple

Installation Instructions

To integrate Onairos into your project, you can use the following installation methods for different platforms.

Install

npm install onairos@latest
npm install @onairos/react-native@latest    
dart pub install onairos

Import

import { Onairos, initializeApiKey} from 'onairos';
import { Onairos, initializeApiKey} from '@onairos/react-native';
import 'package:onairos/onairos.dart';

Note: Verify the package name, as it may be onairos depending on your setup. Ensure React Native is configured in your project. Initialization

await initializeApiKey({
    apiKey: API_KEY, 
});
await initializeApiKey({
    apiKey: API_KEY, 
});
import 'package:onairos/onairos.dart';

Setup/Usage

Last updated