mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-07-02 09:26:01 -04:00
chore(deps): update appfunctions to v1.0.0-alpha10 (#6048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: James Rich <james.a.rich@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -314,7 +314,6 @@ dependencies {
|
||||
googleImplementation(libs.mlkit.genai.prompt)
|
||||
|
||||
googleImplementation(libs.androidx.appfunctions)
|
||||
googleImplementation(libs.androidx.appfunctions.service)
|
||||
add("kspGoogle", libs.androidx.appfunctions.compiler)
|
||||
|
||||
fdroidImplementation(libs.osmdroid.android)
|
||||
|
||||
@@ -28,6 +28,50 @@
|
||||
<property
|
||||
android:name="android.app.appfunctions.app_metadata"
|
||||
android:resource="@xml/app_metadata" />
|
||||
|
||||
<!--
|
||||
AppFunctions 1.0.0-alpha10 discontinued the appfunctions-service artifact whose
|
||||
manifest used to contribute these two delegate services; apps must now declare
|
||||
them (mirrors the alpha09 appfunctions-service AAR manifest, classes relocated
|
||||
to the androidx.appfunctions package).
|
||||
-->
|
||||
<service
|
||||
android:name="androidx.appfunctions.PlatformAppFunctionService"
|
||||
android:enabled="@bool/enablePlatformAppFunctionService"
|
||||
android:exported="true"
|
||||
android:permission="android.permission.BIND_APP_FUNCTION_SERVICE"
|
||||
tools:targetApi="36">
|
||||
<property
|
||||
android:name="android.app.appfunctions"
|
||||
android:value="app_functions.xml" />
|
||||
<property
|
||||
android:name="android.app.appfunctions.schema"
|
||||
android:value="app_functions_schema.xsd" />
|
||||
<property
|
||||
android:name="android.app.appfunctions.v2"
|
||||
android:value="app_functions_v2.xml" />
|
||||
<intent-filter>
|
||||
<action android:name="android.app.appfunctions.AppFunctionService" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
<service
|
||||
android:name="androidx.appfunctions.ExtensionAppFunctionService"
|
||||
android:enabled="@bool/enableExtensionAppFunctionService"
|
||||
android:exported="true"
|
||||
android:permission="android.permission.BIND_APP_FUNCTION_SERVICE">
|
||||
<property
|
||||
android:name="android.app.appfunctions"
|
||||
android:value="app_functions.xml" />
|
||||
<property
|
||||
android:name="android.app.appfunctions.schema"
|
||||
android:value="app_functions_schema.xsd" />
|
||||
<property
|
||||
android:name="android.app.appfunctions.v2"
|
||||
android:value="app_functions_v2.xml" />
|
||||
<intent-filter>
|
||||
<action android:name="android.app.appfunctions.AppFunctionService" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
package org.meshtastic.app
|
||||
|
||||
import androidx.appfunctions.service.AppFunctionConfiguration
|
||||
import androidx.appfunctions.AppFunctionConfiguration
|
||||
import org.koin.java.KoinJavaComponent.getKoin
|
||||
import org.meshtastic.app.ai.appfunctions.AppFunctionStateSync
|
||||
import org.meshtastic.app.ai.appfunctions.MeshtasticAppFunctions
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
*/
|
||||
package org.meshtastic.app.ai.appfunctions
|
||||
|
||||
import androidx.appfunctions.AppFunction
|
||||
import androidx.appfunctions.AppFunctionContext
|
||||
import androidx.appfunctions.AppFunctionElementNotFoundException
|
||||
import androidx.appfunctions.AppFunctionIntValueConstraint
|
||||
import androidx.appfunctions.AppFunctionInvalidArgumentException
|
||||
import androidx.appfunctions.AppFunctionNotSupportedException
|
||||
import androidx.appfunctions.service.AppFunction
|
||||
import kotlinx.coroutines.TimeoutCancellationException
|
||||
import org.meshtastic.core.data.ai.AiFunctionProvider
|
||||
import org.meshtastic.core.data.ai.SendMessageResult
|
||||
|
||||
@@ -5,7 +5,7 @@ xmlutil = "1.0.0"
|
||||
agp = "9.2.1"
|
||||
appcompat = "1.7.1"
|
||||
car-app = "1.7.0"
|
||||
appfunctions = "1.0.0-alpha09"
|
||||
appfunctions = "1.0.0-alpha10"
|
||||
|
||||
# androidx
|
||||
datastore = "1.2.1"
|
||||
@@ -112,7 +112,6 @@ androidx-annotation = { module = "androidx.annotation:annotation", version = "1.
|
||||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
||||
androidx-appfunctions = { module = "androidx.appfunctions:appfunctions", version.ref = "appfunctions" }
|
||||
androidx-appfunctions-compiler = { module = "androidx.appfunctions:appfunctions-compiler", version.ref = "appfunctions" }
|
||||
androidx-appfunctions-service = { module = "androidx.appfunctions:appfunctions-service", version.ref = "appfunctions" }
|
||||
androidx-camera-core = { module = "androidx.camera:camera-core", version.ref = "camerax" }
|
||||
androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
|
||||
androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
|
||||
|
||||
Reference in New Issue
Block a user