Skip to main content

Mobile Development Collective

Questions

Browse questions with relevant Mobile Development tags

2,085,518 questions

0 votes
0 answers
17 views

SwiftData crash: "Passed nil for a non-optional keypath" when using non-optional struct with optional properties in @Model

I’ve run into a reproducible issue when using SwiftData with @Model classes that contain non-optional value type properties (struct) with optional properties inside. After creating a new model, the ...
MohAliBou's user avatar
  • 111
0 votes
1 answer
14 views

SwiftData: sheet(item:) closes and reopens automatically after inserting @Model with @Query

I’m running into a strange behavior when using SwiftData, @Model, and @Query in combination with sheet(item:). After inserting a new model and presenting a sheet, the sheet stays up for around 13 ...
MohAliBou's user avatar
  • 111
0 votes
1 answer
12 views

Animate CALayer Contents Change

I have a CALayer that I update the contents with a CGImage of a UIImage self.imageLayer.contents = newImage.cgImage I want to animate this change. First I tried this and did not work: CATransaction....
Gizmodo's user avatar
  • 3,234
0 votes
0 answers
8 views

Flutter/IOS: What could cause a single user to get a "No route to host" error?

One user in particular is struggling to use my app on a new iPhone. We've confirmed other devices on the same wifi network work with the same app totally fine, and we've also confirmed that switching ...
Austin Witherspoon's user avatar
0 votes
0 answers
9 views

Flutter run stuck on splash screen after configuring flavors

I recently added flavors to my existing flutter app referencing official documentation. Everything works fine with android, everything is fine also with iOS if its being installed first time via an ...
Murat's user avatar
  • 1
0 votes
0 answers
11 views

How do I deep link to iOS Settings Page?

I'm trying to figure out how to deep link to a specific settings page within the iOS Message app settings. Here is the page. Settings > Apps > Messages > Unknown & Spam I can only get as ...
Gregg Guzman's user avatar
1 vote
1 answer
38 views

Android Studio -- Need to read a CSV outside the /src/ folder

So, I'm doing a project for a class, and I need to open a CSV file for reading only. The rubric specifies as follows: "Your application will read in data from text files placed in the assets ...
mrak-p's user avatar
  • 11
-2 votes
0 answers
15 views

Android image view zoom feature

I have an activity that is something like Instagram reels page. But only for images. I wanna know how to add zoom feature for imageviews. Something like Instagram posts. With java and xml in android ...
ahmadreza gh's user avatar
-1 votes
1 answer
13 views

Get Appirater to work with Storekit2 and 2025 versions of IOS such as 18?

I am updating an app that used Appirater to prompt the user for reviews. Appirater was introducted before SKStoreReviewController but according to the documentation from six years ago, it ...
user6631314's user avatar
  • 2,002
-1 votes
0 answers
15 views

Ensure viewModel() works by relying on the lifecycle-viewmodel-compose dependency

import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* ...
GettingStarted's user avatar
0 votes
0 answers
18 views

Expo Go crashing after starting expo

after I start the expo in my vscode terminal using this command npx expo start, it displays the QrCode in the vscode terminal normally and some other lines, but when I launch the app that I developed ...
Sam's user avatar
  • 25
0 votes
1 answer
23 views

TaskGroup is not running in parallel with iOS 15

Background My app is a puzzle game for number puzzles that are derived from a Latin square. The puzzles are not Sudoku puzzles, but similar in some ways. Currently, the app runs on iOS 15 and later. I'...
Benzy Neez's user avatar
0 votes
0 answers
10 views

The AOTCompile task failed unexpectedly in .NET Maui iOS on MacOs. Why?

I recently moved from an x86 Intel Macbook to an Apple Silicon Macbook. I'm working on a .NET9 iOS app in Maui using JetBrains Rider. The app builds but won't deploy. The error states that the ...
CYAD's user avatar
  • 1,297
0 votes
0 answers
14 views

I can't launch my app because my in app purchases are not supported in the entitlements, but I don't understand how

I did everything, I thought, to include in app purchases, and they are in the app's capabilities, but not entitlement, but I don't know where to handle them , because when I try to create an ...
Melchior Rufenacht's user avatar
0 votes
1 answer
31 views

System bar paddings are not applied to FloatingActionButton in landscape orientation - how to fix it?

System bar paddings are not applied to FloatingActionButton in landscape orientation even though composable is placed into Scaffold and contentWindowInsets of Scaffold set to WindowInsets.safeDrawing. ...
Raheem's user avatar
  • 654
0 votes
0 answers
22 views

How to enable predictive back gesture animation between composable screens when using Compose Destinations?

I'm using Compose Destinations for navigation between composable screens. Is it possible to enable predictive back gesture animations between screens using Compose Destinations?
Raheem's user avatar
  • 654
1 vote
0 answers
21 views

ForegroundServiceStartNotAllowedException when handling phone calls

I'm experiencing issues with starting a foreground service from a broadcast receiver when handling phone calls in my Android application. Details: I have a BroadcastReceiver that listens for call ...
0 votes
0 answers
10 views

Android Management Password policy: "RequirePasswordUnlock cannot be set inside a deprecated field"

I was trying out the Android management Password policy. This is the payload I applied: "passwordRequirements": { "passwordMinimumLowerCase": 5, "...
Armour's user avatar
  • 1
0 votes
0 answers
21 views

App Distribution: Download button not visable - iOS

I am currently trying to distribute to my testers. I been able to install the profiles on all the devices. However, on some devices the download button is not visible. The application is visible in ...
Janne van Seggelen's user avatar
0 votes
1 answer
26 views

Testing library for 16kb page size

As native libraries soon need to support 16KB page size I would like to test existing .so libraries. According to the Google documentation this can be done using atest: You can run atest ...
Robert's user avatar
  • 43k
0 votes
0 answers
15 views

My Flutter Webview doesnt refresh when pull down, cant see any indicator or log

I am trying to implement a refresh webview on pull down but it isn't working. Im not even getting the "hi refresh" log, and Im not getting any errors when Im logging them. Idk how or what is ...
Clara's user avatar
  • 1
0 votes
0 answers
12 views

Angular + Ionic APK can't connect to Node.js backend from Android device (status 0 error)

I'm developing a mobile app using Angular + Ionic + Capacitor, which consumes a Node.js (Express) REST API. Everything works perfectly when running the app in the browser on PC or mobile, but when I ...
ANGEL MUNOZ CORTES's user avatar
0 votes
1 answer
14 views

How to download screenshots created using androidx.test.core.graphics.writeToTestStorage

I'm in the process of changing the Screenshots created by my Android instrumentation tests androidx.test.runner.screenshot.ScreenCaptureProcessor (which worked) to the new androidx.test.core.app....
Martin's user avatar
  • 11.9k
0 votes
1 answer
37 views

Flutter - Textfield Selection Handle show in AppBar

In Flutter I have created a Texfield When I tap on Curser the Selection handle shows up then I scroll. The curser hide below the AppBar but the Selection Handle show above the Appbar. TextFormField( ...
ARPIT PATEL's user avatar
0 votes
0 answers
26 views

Cannot move TextView that is constraint to RecyclerView when RecyclerView items are dissapearing

I have 2 recycler views and one text view. What I am trying to do is when I click from top recyclerview(recyclerViewNotClickedItems) the items, they will disappear and they will appear in the bottom ...
Alex's user avatar
  • 1,936
1 vote
1 answer
16 views

Validation failed Invalid Executable. The executable 'AppName.app/Frameworks/AgoraRtmKit.framework/AgoraRtmKit' contains bitcode. (ID: 4f12f7b1-769e8)

I'm getting this issue when Upload the app to AppStore using Xcode 16 I'm already disable bitcode in the Build Settings "agora-react-native-rtm": "^1.5.1", "agora-rn-uikit&...
The Scalion's user avatar
0 votes
1 answer
27 views

Apk sign with both v1 and v2 schema

I am having problem to sign my apk with both v1 and v2 version but in the dialog box of generating signed apk, in no step I get the checkboxes foe choosing version1 or version 2 schema. I am using ...
Christoforos's user avatar
-4 votes
1 answer
67 views

Anyone know how properly deal with safe area of the screen?

Anyone know how to properly deal with the blur section at the bottom of the screen? I tried using ZStack but It did not work. The HomePageView() is a ScrollView without any modifier like ....
Parama Artha's user avatar
0 votes
0 answers
34 views

Cannot Hit C++ Breakpoints on Samsung S23

As the title says, I am unable to debug C++ code on an S23 Ultra. We have a Vulkan bug that only exhibits on the Adreno chipset that the S23 uses. I can build the app in Android Studio, have it load ...
Chris Welton's user avatar
0 votes
0 answers
24 views

kotlinx.serialization.SerializationException: Serializer for subclass 'ParcelableDate' is not found in the polymorphic scope of 'Parcelable'

I'm trying to find a way to use Android Compose SafeArgs Navigation. My class involes a date. I'm currently @Parcelize @Serializable data class ModelExerciseEvent( val id: Int? = null, val ...
Cate Daniel's user avatar
0 votes
0 answers
33 views

Why apk size and performance are different even though I'm building them for the same abi

Recently I needed to build an apk for a client, as the abi we usually use for testing didn't run on their device. Everything would be fine if the app didn't become noticeably slower. I thought it ...
Bannyk's user avatar
  • 11
-1 votes
1 answer
33 views

App crashing when updating listviews in Android Kotlin

My code below fails when I call adapter.notifyDataSetChanged(). I got this code from an example. Not important to the question but I am filling an editText box with a scanned barcode. I then try to ...
user15108413's user avatar
0 votes
0 answers
14 views

Getting errors when starting dotnet-dsrouter

I am in a powershell window on my PC and I am attempting to run 'dotnet-dsrouter android' in order to set up profiling of my app on my android device. After hitting enter, I am seeing several errors ...
George M Ceaser Jr's user avatar
1 vote
0 answers
25 views

Flutter iOS build error (Xcode 16): Undefined symbols related to gRPC (e.g., _GRPC_ASN1_STRING_to_UTF8, _GRPC_BIO_free)

I'm getting the following error when trying to build my Flutter app for iOS in Xcode 16 : symbol(s) not found for archiecture arm64 Undefined symbol: _GRPC_ASN1_STRING_to_UTF8 Undefined symbol: ...
Alex's user avatar
  • 11
0 votes
0 answers
39 views

SwiftUI Sheet dismissal

I'm building a SwiftUI + Firebase Firestore app where users can log completions toward a goal. When the final completion is submitted (the one that reaches the goal), the view gets stuck loading and ...
pwdwhereami's user avatar
0 votes
1 answer
20 views

Launching Outlook from iOS app but not creating draft email

When a user taps the "email support" button, the default email client (which is set to Outlook) is launched. After Outlook launches, a draft email appears with the to:, subject: and body: ...
ijhowle's user avatar
  • 13
0 votes
1 answer
16 views

save files to the default download folder react native

I'm downloading a file and I want Android to save it to the downloads folder by default. But when the download finishes, nothing is done. I'm on Android 16 API 33. This is my function const ...
anonimo's user avatar
  • 21
0 votes
0 answers
16 views

Fused Location Client: Location turns stale, provider repeating coordinates, coordinates get stuck

Not a question. More of an observation if this happens to anyone using the Fused Location Client, while using the fusedLocationClient.requestLocationUpdates and getting the locationResult....
Carlos E's user avatar
1 vote
0 answers
18 views

Deep linking to specific timestamps in Spotify podcasts from external app

I'm developing an application that needs to direct users to specific timestamps within podcast episodes on Spotify. For example, I want a button in my app that when pressed, opens the Spotify app and ...
Petar Pan's user avatar
1 vote
1 answer
69 views

iOS custom Operation for Operation Queue gives warning Class must restate inherited '@unchecked Sendable' conformance

I am using Xcode 16.2. I have the below Operation: import Foundation import UIKit typealias ParsingCompletionHandler = ((ParsedRecord) -> ()) class RecordParseOperation: Operation {//THIS GIVES ...
sudoExclamationExclamation's user avatar
0 votes
0 answers
19 views

Sharing cookies between two webviews

I am developing an app in react native . I am using webview to interact with different stores available . For example flipkart , samsung and many more. It opens in webviews. When i try to ...
Hamza Hamal's user avatar
-1 votes
0 answers
18 views

I'm new to react-native and that error shows up but the build is successful [closed]

The supplied phased action failed with an exception. A problem occurred configuring root project 'mediGarde'. A problem occurred evaluating root project 'mediGarde'. Failed to apply plugin 'com....
itachi1503's user avatar
0 votes
0 answers
53 views

Samsung One UI 7 System UI overlays Flutter App

A customer has updated their Samsung S24 Ultra to these versions: One UI-Version: 7.0 Android-Version: 15 after this update the Samsung system UI is displayed over the flutter app. Bevore the update ...
BluePalmTree's user avatar
0 votes
0 answers
15 views

com.samsung.android.sdk.health.data.error.AuthorizationException: 2003

Good afternoon! I develop Android application for educational purposes. What I want to do is to integrate it with Samsung Health App to retrieve some biomedical data, such as heart rate e.g. I created ...
0 votes
0 answers
19 views

Flutter: Android ANR issue in production

android.os.MessageQueue.nativePollOnce Root cause for this ANR is unknown Log from Firebase: main (native):tid=1 systid=30202 #00 pc 0xf14fc libc.so (__epoll_pwait + 12) (BuildId: ...
Animesh Banerjee's user avatar
0 votes
1 answer
29 views

service.function is not a function in Angular 19 with Ionic (Capacitor)

I am creating an Ionic app with Angular 19 and using Capacitor. I am facing an issue only on iOS in web and android it works like a clock. The code: Login Component: notificationService = inject(...
Ibraheem Yasir's user avatar
-5 votes
0 answers
22 views

Camera spacing for a dyi VR project in unity [closed]

So, I am a huge beginner with unity and VR in general. I have a project that I made in blender and want to implement in unity. The idea is, that I have like a camera that moves on its own inside the ...
Fool.'s user avatar
  • 1
0 votes
2 answers
40 views

How to root an Android device without restarting?

We are implementing the Play Integrity API to check for rooted devices and block users accordingly. However, we are discussing the most efficient point to implement this API, as there are limited ...
Nitin Prakash's user avatar
0 votes
1 answer
59 views

How to wait until async function finish the job and then call it again from non async method?

The case: class ApplicationDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCenterDelegate { private let cloudAssistant = CloudAssistant.shared // MARK: - ...
Bartłomiej Semańczyk's user avatar
-1 votes
0 answers
25 views

Flow from use case requires explicit .invoke() to access operators

I have a use case class like this Class TestUseCase @Inject constructor (private val repo: repository){ operator fun invoke(): Flow<List<MyItem>> = repo.getAllItem() } Then I call the use ...
anastasya's user avatar


15 30 50 per page
1
2 3 4 5
41711