1,075 questions
-1
votes
1
answer
528
views
Fatal Exception: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 5: TypedValue{t=0x2/d=0x7f040109 a=23}
I am facing an error message which triggers whenever I click in a MaterialDatePicker. I think it is related with the ThemeOverlay but I have no idea how can I get rid of it.
This is the error message:
...
-1
votes
2
answers
129
views
Getting java.lang.IndexOutOfBoundsException: Index 8 out of bounds for length 8 for my adapter code
My logcat looks like:
logcat for app crash
class ChatAdapter(private val currentUserId: Int) :
RecyclerView.Adapter<RecyclerView.ViewHolder>() {
private val messages = mutableListOf&...
6
votes
1
answer
3k
views
Updating Firebase Analytics for Flutter to avoid privacy manifest policy issues (after May 1, 2024)
I recently received a notification on Firebase recommending an update to the Google Analytics for Firebase (GA4F) iOS SDK (version 10.24.0 or later) to avoid potential issues related to privacy ...
0
votes
0
answers
42
views
Coordinate(lat/long) to pixel coordinate in image
Given:
an image of a map section that I cut from GOOGLE MAPS
coordinates of the 4 corners of the image (lat/long).
leftTopLat = 47.536
leftTopLon = 21.5203
rightTopLat = 47.554
rightTopLon = 21....
0
votes
1
answer
27
views
I get the error "_RenderInkFeatures object was given an infinite size during layout." in Flutter
I am trying to implement slider functionality in my code. Although I predefined a max value for the slider, it still says that the slider has an infinite value
I have given the code below:
The error:
...
0
votes
1
answer
441
views
Can anyone tell me the package name of Amazon Android App of USA ? Because package name of Amazon app is different for different countries
I need to fire an intent using the package name of Amazon app. But the feature I am building requires to target the amazon app of US region only.
I tried VPN and shared the app link from Google Play ...
0
votes
1
answer
56
views
Whenever i start a transparent activity from background, it opens on top of the already existing app
Whenever i start a transparent activity from broadcast reciever, if the app already has an activity in that is in the recent apps, instead of being transparent, over the current app, its transparent ...
1
vote
2
answers
184
views
I am trying to import valid packages, but they are not recognized by flutter
I am using VSCode, and I tried to use the sensors plus package as shown exactly in the documentation:
I tried to find a fix, but couldn't find any, would be glad if someone can help me..
I am trying ...
-1
votes
1
answer
109
views
react-native-qrcode-scanner at Empty QR code
I am developing react native app, there is a QR code scanner screen, i want to trigger an alert if the QR code which i try to scan is empty. QR code with data work fine.
i am using version :
"...
-1
votes
2
answers
215
views
setState not working as intended in a ConsumerStatefulWidget (Riverpod)
I have a custom appbar class where I pass the title as its constructor.
class MyAppBar extends StatelessWidget implements PreferredSizeWidget {
final String? title;
@override
Size get ...
0
votes
0
answers
628
views
Jetpack Compose Accessibility ClickableText vs BasicText with modifier.clickable
To enhance accessibility, I aim to make links within a “Terms and Privacy Policy” paragraph navigable via external keyboard input. Initially, I encountered challenges getting the focus behavior I want ...
3
votes
1
answer
1k
views
Android NavHost: "Navigation destination that matches request NavDeepLinkRequest cannot be found in the navigation graph"
Here's my relevant code, built in Kotlin + Jetpack Compose:
OutlookPlannerNavHost.kt
/**
* Provides Navigation graph for the application.
*/
@Composable
fun OutlookPlannerNavHost(
navController: ...
0
votes
1
answer
1k
views
Expo error: Uncaught Error: java.lang.Exception: Failed to load all assets
When I start expo server using npx expo start -c server starts. My mobile and laptop are also connected on the same network. Now when I scan expo qr code through expo go in mobile, it displays error ...
19
votes
3
answers
6k
views
How to create Preview function to ModalBottomSheet
I'm trying to create a @Preview function for a ModalBottomSheet in Jetpack Compose, but I'm only seeing a white screen. Here's my SomeModalBottomSheet composable:
@OptIn(ExperimentalMaterial3Api::...
1
vote
1
answer
385
views
Updating to react native 0.73 , UI is freezing and becomes unresponsive with react-native-maps in use
I have updated an app to latest react native 0.73.x , Production app UI on iOS starts to freeze and becomes unresponsive , I load react-native-maps with lots of markers as the main screen , There was ...
1
vote
1
answer
263
views
How to Achieve Safari-like Scaling in WKWebView
I am currently developing an iOS app that needs to embed a third-party website. On this website, the best view is achieved in the standard Safari app by pressing the 'Aa' button on the left side of ...
0
votes
0
answers
18
views
How to add multiple fields in headers of a post api request [duplicate]
I'm new to SwiftUI and having trouble in sending a post API request, I want to add "User-Agent" field to my headers like this:
{"headers": {"User-Agent": "Mozilla/5....
2
votes
0
answers
199
views
Error with iOS permissions in React Native: 'RNPermissions' module not found
I'm developing a React Native app using TypeScript, and I'm currently implementing permissions handling, particularly for iOS. However, I keep encountering the following error:
Invariant Violation: ...
1
vote
0
answers
81
views
Manage UI for android Tablets & Foldable devices
res/drawable-(default)
res/drawable-ldpi/
res/drawable-mdpi/
res/drawable-hdpi/
res/drawable-xhdpi/
res/drawable-xxhdpi/
res/drawable-xxxhdpi/
res/drawable-sw600dp/
res/drawable-sw720dp/
I am ...
1
vote
0
answers
70
views
When app restarts I don't get active activities on iOS
I have a problem with iOS live activities. After the app was restarted, I didn't get active activities.
I create a live activity using this code:
do {
let activity = try Activity<...
1
vote
0
answers
27
views
How to retrieve data from specific node related to another node by checking in Firebase-Real time Database?
Here is my firebase structure
Firebase Structure
When user makes an item favourite,its key will store under users ID along with category in the Favourite Node (for my easiness i stored category along ...
1
vote
0
answers
43
views
Fatal error: Unexpectedly found nil while unwrapping an Optional value while uploading file to firebase storage from flutter in IOS only
i'm facing some problems while uploading file to firebase storage the issue is in IOS only and working fine in android.
plugin used:
firebase_storage: 11.0.7 firebase_auth: 4.2.0 firebase_core: 2.9....
1
vote
1
answer
590
views
react native with Expo Android Problem with react-native-signature-canvas
i tried to implement a signature for my react native app that i am running on Expo Android but i got an Error
this is the error :
ERROR Invariant Violation: Failed to call into JavaScript module ...
-2
votes
1
answer
387
views
how to access secugen hamster 20 pro , capture fingerprint image in android application
I am creating an Android application in which I want to access the thumb impression of the user. I want to integrate the Secugen Hamster 20 Pro device into my Android application for thumb scanning.
1
vote
1
answer
313
views
React Native Text Not Showing
import { StyleSheet, Text, View, Image } from 'react-native';
import React, { Component } from 'react';
interface AvatarProps {
fullName: string;
membership: string;
}
export default class ...
-1
votes
1
answer
696
views
drawing a curved custom line in compose
I am new to Android Development and am trying to draw a custom curved line in compose. I am able to draw a straight line but the curved line is not coming as expected.
i have stored the node data as :
...
1
vote
1
answer
67
views
Listview - Getting error while linking the items correctly in Android Java
I have linked properly the List-Adapter and the other list-item components.
It didn't getting the android:id of activity_main_cake_items.xml and giving this error.
Cannot resolve symbol 'listviewCakes'...
0
votes
1
answer
56
views
After progressbar load website is not loading in android webview
In my webview application start with progress bar after progress bar hide screen is totally black and not loading website in android webview hedgehog version.
Here is my MainActivity.java code,
public ...
1
vote
0
answers
31
views
Using MediaPlayer slows down SoundPool sound effect
I'm using MediaPlayer for background song and SoundPool for onButtonClick sound effects. I've noticed that while MediaPlayer playing background song SoundPool starts to give slow response for method ...
0
votes
1
answer
151
views
Use Intent.resolveActivity to check if Waze app is exist in device is not working in Android 13 and above
I try to use this code to check if Waze app is in device, and it always returns false even if I have Waze in my device (it's in Android 13 and above).
fun isWazeExist(): Boolean {
val intent = ...
0
votes
1
answer
119
views
Sticky Filters Bar Flutter
I'm completely new to flutter, doing a small project to get the hang of it. I'm trying to figure out how to implement a sticky filters section for a list, hence my initial instinct was to just place ...
0
votes
0
answers
45
views
there are some issue in fragment
I created an app.
It was running well for 1 month, but today I see that it crashes.
When I created the app, I used targetSdkVersion=30, and minSdkVersion=16.
But now there are some issues.. I think it ...
0
votes
1
answer
53
views
Can I get from push notifications which SIM card the SMS was sent to?
I am using NotificationListenerService. Can I get information from the StatusBarNotification on which SIM card the message was received, if i have a dual sim phone ? Or do I still need to use some ...
0
votes
1
answer
30
views
Problem with Scrollview Layout Android Studio
I'm new on mobile dev, so i started with android studio XML/Java and i have a litle problem with my main page. Like i will show you, i want to put my scrollview just after my first LinearLayout which ...
2
votes
0
answers
38
views
How can I ignore a file and specific line of code during build in react native application (Android)
In my React Native code base, there is a file named
network_security_config.xml
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config ...
0
votes
1
answer
120
views
How to transform lazycolumn itself
I am learning lazycolumn, I can't transform lazycolumn without effecting scrolling.
My code is
var offset by remember { mutableStateOf(Offset.Zero) }
var rotationAngle by remember { ...
5
votes
2
answers
4k
views
Unable to Build React Native Expo project using EAS: Pod install exited with non-zero code: 1
I have an expo react native app built and published on App & Google Stores. After a minor update, I've been trying to build and publish the new version, but I have been having a "pod install ...
0
votes
1
answer
1k
views
expo emulator says warn No apps connected. Sending "reload" to all React Native apps failed but open well
I am working on a React Native project with Expo for Android, using an Android emulator. However, when I use the development build, the emulator automatically opens my app. But when I try to restart ...
0
votes
1
answer
621
views
how to use flutter curve value from high to low
hi guys I just started learning flutter animation and using flutter curves from flutter curve website
using tween value which goes like
_animation = Tween<double>(begin: -100, end: 0)....
1
vote
1
answer
63
views
Can i set a image as a back ground in theme in flutter?
I want to create a custom back ground image for every scaffold created how can i achieve it?
I want to use it as theme with image
class MyApp extends StatelessWidget {
const MyApp({super.key});
//...
0
votes
1
answer
115
views
React native Expo bottom navigation (controls)
Is there a way i can remove this black bottom controls on Android?
Can i control immersive mode or full Screen mode with only react-native or expo?
I want to either remove it or at least not see black ...
0
votes
0
answers
143
views
How to use 'ThreeLib' NuGet package for 3D objects in .NET MAUI and show the Canvas/Scene on the screen
I want to implement 3D in my Maui app. I tried many ways but failed. Currently I am using 'ThreeLib" NuGet package created by McNeel which you can find the reference for here: ThreeLib GitHub ...
0
votes
1
answer
91
views
How to limit attempts to send an authorization request on react native
I am using React Native. I have an application for a store. I want to add a login limit. A user can try to log in x times and then wait 30 seconds. I have used asyncStorage to store the number of ...
-1
votes
1
answer
1k
views
Xcode 15.3 build failed
I have ionic project with the following details:
ionic v4.12.0
cordova v12.0.0
Jnode v14.20.0
Cordova IOS v6.1.0
Xcode v15.3
Deployment target 11.0
All my code work perfect untill I upgrade xcode to ...
-1
votes
1
answer
151
views
How to Prevent Foreground Service from Stopping on Clear All from Recent Apps on MI, Redmi, Xiaomi Devices?
When [tag:Foreground Service] is running and User taps on Clear all from recent Apps then it is stopping the service.It's happening only in specific devices Such as MI, Redmi, Xiaomi etc.
I couldn't ...
0
votes
1
answer
274
views
Not able to redirect to MAUI app after google Authentication
I am trying to implement google authentication in my MAUI app and following this Microsoft tutorial
var response = await WebAuthenticator.AuthenticateAsync(new WebAuthenticatorOptions()
{
Url = ...
0
votes
1
answer
1k
views
FATAL EXCEPTION: MQTT Rec: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively
FATAL EXCEPTION: MQTT Rec:
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
I am getting fatal exception ...
-1
votes
1
answer
145
views
React Native App Not Loading After Splash Screen on IOS
I am trying to run a React Native application in my iPhone but after the application gets build from XCode and installed to my device, it opens up with Splash Screen but after that nothing happens.
...
-1
votes
1
answer
272
views
Animate an image or a view along the curved path created using 'Path' imported from "react-native-svg"
I need to create a page to show the progress of an user for a program based on the milestones. To achieve that a curve path is created using 'Path' imported from "react-native-svg" and now ...
1
vote
1
answer
271
views
Error : Android.Content does not exists Web authenticator
I am trying to implement Authentication in MAUI Android App (.NET8)
I am following the steps mentioned here:
https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/communication/...