(iOS) autoComplete="cc-number" is not doing anything to allow autofill
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 127k
- Fork
- 25.3k
- Merge medio
- 1g 23h
- PR unite (30g)
- 4
Descrizione
Description
I've been trying to implement an TextInput for Credit Card Number that allows the users to autofill it using whatever password manager they use on their device.
I've tried different variations and props but its not working.
In my Snack it works when its running in web.
Tested on a physical android devices it works.
Tested on a physical iOS device it did not work.
Is this how its supposed to work or am I doing something wrong?
Version
0.76.1
Output of npx react-native info
System:
OS: macOS 15.1
CPU: (10) arm64 Apple M1 Pro
Memory: 494.67 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.7.0
path: /opt/homebrew/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.8.2
path: /opt/homebrew/bin/npm
Watchman:
version: 2024.10.28.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/keatonroux/.rvm/gems/ruby-3.3.5/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.21829.142.2421.12409432
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /Users/keatonroux/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 3.3.5
path: /Users/keatonroux/.rvm/rubies/ruby-3.3.5/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.0
wanted: 15.0.0
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.1
wanted: 0.76.1
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Steps to reproduce
- Init blank template
- Create TextInput
- Set autoComplete prop to "cc-number"
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/x9JtUAYkj
snack.expo.dev/@tushetv/adequate-orange-tortillas
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dallo Snack collegato e riproduci il TextInput con autoComplete="cc-number" su un dispositivo iOS fisico, confrontando il comportamento segnalato sul web e su Android. Determina se questa prop dovrebbe abilitare il completamento automatico delle carte di credito su iOS; il lavoro è concluso quando il comportamento della piattaforma e qualsiasi modifica necessaria a React Native sono stati stabiliti chiaramente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, react-native
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100