This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react'; | |
import { ActivityIndicator, View } from 'react-native'; | |
import { WebView } from 'react-native-webview'; | |
import { AuthHeaders, getCognitoHeaders } from '@root/cognito/cognitoSessionInfo'; | |
import { useAppSelector } from '@hooks/hooks'; | |
export interface IAuthenticatedWebviewProps { | |
url: string; | |
injectedJavaScript?: any; | |
onShouldStartLoadWithRequest: any; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using Amazon.Polly; //nuget AWSSDK.Core AWSSDK.Polly | |
using Amazon.Polly.Model; | |
using NAudio.Wave; //nuget NAudio | |
public class SpeechGenerator | |
{ | |
public string awsAccessKey = ""; |