Stack Overflow Forum » Mobile Development
9 FOLLOWERS
The Stack Overflow Forum is helping people find the answers they need about development. Share your knowledge about app development with the largest online community for developers. Here you can share your questions about software development aimed specifically at the mobile environment.
Stack Overflow Forum » Mobile Development
21h ago
In our iOS app, we're encountering challenges with identifying unique users when they (users) click on links due to iOS privacy policies. Typically, when data is passed through URLs as parameters, we're unable to retrieve this data due to privacy restrictions.
We need a solution that allows us to uniquely identify each user who clicks on a link in our iOS app. This identification needs to be reliable and compliant with iOS privacy policies.
What We've Tried:
Passing parameters through URLs: This approach is restricted by iOS privacy policies, and we're unable to retrieve the data.
Cookies: Wh ..read more
Stack Overflow Forum » Mobile Development
2d ago
Certainly! In the React Native project I'm working on, I have a sign-up form component where I'm utilizing Axios to send a POST request to an API endpoint for user registration. Despite the functionality working flawlessly in the web environment, I'm facing a stumbling block when attempting to execute the same action in React Native. The error manifests specifically during the Axios call, throwing a "Network Error" despite my mobile device maintaining a stable internet connection. I'm seeking insights into why this discrepancy arises in a React Native context and how I can rectify it to ensure ..read more
Stack Overflow Forum » Mobile Development
3d ago
So i'm having a a chance for an internship for mobile development but i have to choose to work on
either native android development technology (Kotlin+XML) or
hybrid mobile development technology (Flutter) What do u guys think is the best for me as a beginner
I've done some research and i found out Flutter is easier to work on but doesn't have that big community to relay on when having troubles . Also i found out hybrid development advantage is the cost which is good for entreprises but not for me, on the other hand that might help me get a decent job if that's what the market is looking for ..read more
Stack Overflow Forum » Mobile Development
3d ago
struct ContentView: View {
@State var title = ""
var body: some View {
UITextFieldDesign(text: $title, placeholder: "Enter your name")
.padding()
}
}
struct UITextFieldDesign: UIViewRepresentable {
@Binding var text: String
var placeholder: String
func makeUIView(context: Context) -> MDCFilledTextField {
let textField = MDCFilledTextField()
textField.placeholder = placeholder
textField.textColor = .darkGray
return textField
}
func updateUIView(_ uiView: MDCFilledTextField, context: Context) {
uiView.text = text
}
func makeCoordinator() -> Coordinator ..read more
Stack Overflow Forum » Mobile Development
3d ago
i wanna ask about how can make Navigation bar became fully transparent, i've already tried many solution but so far all i can get is my navigation bar become white and still cropping small part of the UI at the bottom like this.
and this is my current code that i use ..read more
Stack Overflow Forum » Mobile Development
4d ago
I'm new to react native and I was wondering if anyone uses it for mobile dev? I'm currently using Zed IDE and its been absolutely incredible for web dev. However Mobile Dev requires a screen where you can see the changes being made in the UI in realtime. I've searched everywhere but I cant find a solution to this.
If yes, how do you get preview screens working?
I tried searching everywhere and I cant seem to find the solution to this ..read more
Stack Overflow Forum » Mobile Development
1w ago
I have a very basic nested for loop iterates over a 80K long string. This loop at most must take 2-3 miliseconds but it takes 10 seconds on my iphone. This is an inexplicable time for a smart phone. Why could this be happening? Here is the code.
let cyph_1 : [Character] = my_array1 // 65 characters
let cyph_2 : [Character] = my_array2 // 65 characters
var temp_2 = ""
var temp_1 = "80K long string, not that long"
for k in 0 ..< temp_1.count
{
var exists = false
let some_char = temp_1_characters[k]
for m in 0 ..< cyph_2.count
{
if (cyph_2[m] == some_char ..read more
Stack Overflow Forum » Mobile Development
1w ago
So I am working on an SDK , one of our users has an android app which runs in API Level 25. Now as soon as he adds our sdk as a dependency, the build fails with the following error
../../.gradle/caches/transforms-1/files-1.1/appcompat-v7-25.4.0.aar/724f3e33e3a015bf03bd0343723b0f2d/res/values/values.xml
error: resource android:attr/fontStyle not found. Message{kind=ERROR, text=error: resource android:attr/fontStyle not found., sources=[/Users/amanjn38/.gradle/caches/transforms-1/files-1.1/appcompat-v7-25.4.0.aar/724f3e33e3a015bf03bd0343723b0f2d/res/values/values.xml:214:5-69], original messag ..read more
Stack Overflow Forum » Mobile Development
1w ago
So I am working on an app which supports API Level 25 till date and we cannot upgrade the API Level as of now. I want to integrate a new dependency but when I try to build the app I am getting these errors
../../.gradle/caches/transforms-1/files-1.1/appcompat-v7-25.4.0.aar/724f3e33e3a015bf03bd0343723b0f2d/res/values/values.xml
error: resource android:attr/fontStyle not found. Message{kind=ERROR, text=error: resource android:attr/fontStyle not found., sources=[/Users/amanjn38/.gradle/caches/transforms-1/files-1.1/appcompat-v7-25.4.0.aar/724f3e33e3a015bf03bd0343723b0f2d/res/values/values.xml ..read more
Stack Overflow Forum » Mobile Development
1w ago
I've an activity in my Android App named as ChatActivity. Here is the xml layout:
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:windowSoftInputMode="adjustResize"
tools:context=".ui.home.ui.chat.ChatActivity">
<com.google.android.material.appbar ..read more