alan-ai / alan-sdk-reactnative

Conversational AI SDK for React Native to enable text and voice conversations with actions (iOS and Android)
https://alan.app/
591 stars 16 forks source link

setVisualState method does not support Array type data #15

Closed Somnus007 closed 2 years ago

Somnus007 commented 2 years ago

Versions: Device OS version: Android 9 React native version: 0.66.3 @alan-ai/alan-sdk-react-native: 1.8.0

Integrate code:

Subscribe

import {NativeEventEmitter, NativeModules} from 'react-native'; const {AlanManager, AlanEventEmitter} = NativeModules; const alanEventEmitter = new NativeEventEmitter(AlanEventEmitter); const alanSubscriber = alanEventEmitter.addListener('command', data => { console.log(got command event ${JSON.stringify(data)}); }); Alan Button

{alanKey && }

Description:

snyuryev commented 2 years ago

Fixed with version 1.10.0