CommunityToolkit / CommunityToolkit/Windows

SettingsCard not showing with uno project for iOS or Android exception method not found

Offen
#361 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug components::controls::settingscontrols Uno ux 🖌️
Vorherrschende Sprache
C#
Sterne
1.1k
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Describe the bug

I created a sample project using Uno 5.1 and CommunityTooklit 8 focusing on trying to use the SettingsCard. This project seems to work correctly on windows but throws an exception when i try to run in iOS or Android.

Attached is the sample program that shows the error
TestSettingsCard.zip

Steps to reproduce
Unzip the attached file, open in a IDE on mac, (rider or visual code) and run, the error will show when the main page tries to init.
Expected behavior

Show the controls on iOS and Android

Screenshots

No response

Code Platform
  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 10 21H2 (Build 19044)
  • Windows 10 22H2 (Build 19045)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)
Other Windows Build number

No response

App minimum and target SDK version
  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Windows 10, version 2104 (Build 20348)
  • Windows 11, version 22H2 (Build 22000)
  • Other (specify)
Other SDK version

No response

Visual Studio Version

Preview

Visual Studio Build Number

No response

Device form factor

Desktop, Mobile

Additional context

No response

Help us help you

Yes, but only if others can assist.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, TestSettingsCard.zip zu entpacken und das Beispiel unter iOS oder Android in einer IDE auf macOS auszuführen; vergleiche den Initialisierungsfehler mit Windows. Verfolge die Initialisierung von SettingsCard und die Ausnahme „method not found“ und überprüfe anschließend, dass das Steuerelement auf beiden mobilen Zielplattformen ohne die Ausnahme gerendert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
frontend, mobile-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.