@elizaos/capacitor-talkmode 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,18 @@
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = 'ElizaosCapacitorTalkmode'
7
+ s.version = package['version']
8
+ s.summary = package['description']
9
+ s.license = package['license'] || { :type => 'MIT' }
10
+ s.homepage = 'https://elizaos.ai'
11
+ s.authors = { 'elizaOS' => 'dev@elizaos.ai' }
12
+ s.source = { :git => 'https://github.com/elizaOS/eliza.git', :tag => s.version.to_s }
13
+ s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.ios.deployment_target = '13.0'
15
+ s.dependency 'Capacitor'
16
+ s.swift_version = '5.1'
17
+ s.frameworks = 'AVFoundation', 'Speech'
18
+ end
@@ -0,0 +1,46 @@
1
+ ext {
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
6
+ }
7
+
8
+ apply plugin: 'com.android.library'
9
+ android {
10
+ namespace = "ai.eliza.plugins.talkmode"
11
+ compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
12
+ defaultConfig {
13
+ minSdk project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
14
+ targetSdk project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
15
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
+ }
17
+ buildTypes {
18
+ release {
19
+ minifyEnabled false
20
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
21
+ }
22
+ }
23
+ compileOptions {
24
+ sourceCompatibility JavaVersion.VERSION_17
25
+ targetCompatibility JavaVersion.VERSION_17
26
+ }
27
+ }
28
+
29
+ repositories {
30
+ google()
31
+ maven {
32
+ url = uri(rootProject.ext.mavenCentralMirrorUrl)
33
+ }
34
+ mavenCentral()
35
+ }
36
+
37
+ dependencies {
38
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
39
+ implementation project(':capacitor-android')
40
+ implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
41
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
42
+
43
+ testImplementation "junit:junit:$junitVersion"
44
+ androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
45
+ androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
46
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <!-- Microphone permission for speech recognition -->
4
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
5
+ <!-- Internet permission for ElevenLabs TTS API -->
6
+ <uses-permission android:name="android.permission.INTERNET" />
7
+ </manifest>