Stay up to date
We'll highlight new content in your collectives with a blue activity indicator on navigation items and posts.
Manage preferences
Questions
Browse questions with relevant Mobile Development tags
2,085,518 questions
0
votes
0
answers
19
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 ...
0
votes
1
answer
15
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 ...
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....
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 ...
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 ...
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 ...
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 ...
-3
votes
0
answers
16
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 ...
-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 ...
-2
votes
0
answers
16
views
Ensure viewModel() works by relying on the lifecycle-viewmodel-compose dependency [closed]
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
...
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 ...
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'...
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 ...
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 ...
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. ...
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?
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,
"...
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 ...
0
votes
1
answer
27
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 ...
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 ...
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 ...
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....
0
votes
1
answer
38
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(
...
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 ...
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&...
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 ...
-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 ....
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 ...
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 ...
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 ...
-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 ...
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 ...
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: ...
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 ...
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: ...
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 ...
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....
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 ...
1
vote
1
answer
70
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 ...
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 ...
-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....
0
votes
0
answers
54
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 ...
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: ...
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(...
-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 ...
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 ...
0
votes
1
answer
60
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: - ...
-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 ...
Members can contribute articles
Simply submit a proposal, get it approved, and publish it.
See how the process works
Simply submit a proposal, get it approved, and publish it.
See how the process works