skip to Main Content

why is on_call firebase function returning INTERNAL exception

firebase local emulation side: initialize_app() @https_fn.on_call( cors=options.CorsOptions( cors_origins="*", cors_methods=["get", "post", "options"],)) def validateEmail(req: https_fn.CallableRequest) -> Any : return {"text":{"valid:":"true"}} The android app side. val func = Firebase.functions private fun validateEmail(str:String): Task<String> { val data = hashMapOf( "email" to str )…

VIEW QUESTION

Facing issue when using onesignal_flutter: ^5.2.2 with Flutter SDK 3.24.0

I found issue when attempting to build my Flutter application in release mode using the onesignal_flutter: ^5.2.2 package. This issue occurs after upgrading to Flutter SDK 3.24.0. ERROR: ../build/onesignal_flutter/intermediates/merged_res/release/mergeReleaseResources/values/values.xml:2657: AAPT: error: resource android:attr/lStar not found. I try follow this steps…

VIEW QUESTION

Gradle build fails in Flutter project

I'm working on a Flutter project and trying to run it on an Android emulator. However, I'm encountering an issue when I try to build the project using Gradle. The build fails with the following error: enter image description here…

VIEW QUESTION

Android Studio – pass method to Composable as parameter inside clickable lambda. The expression is unused

I have the following Composable @Composable fun ClickableBar(text: String, action: () -> Unit) { Row( modifier = Modifier .height(40.dp) .background(color = AppPrimaryGreen) .fillMaxWidth() .clickable { action }, verticalAlignment = Alignment.CenterVertically ) { Text(text = text) Icon( painter = painterResource(R.drawable.icon_arrow_right), contentDescription…

VIEW QUESTION
Back To Top
Search