Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Delphi 10.3 TBluetoothLE unter iOS (https://www.delphipraxis.net/204935-delphi-10-3-tbluetoothle-unter-ios.html)

Hofix2004 22. Jul 2020 18:04

AW: Delphi 10.3 TBluetoothLE unter iOS
 
Ich dachte es reicht, wenn man unter Optionen-> Versionsinformationen die Schlüssel

-NSBluetoothAlwaysUsageDescription

-NSBluetoothPeripheralUsageDescription

einfügt?

philipp.hofmann 22. Jul 2020 18:22

AW: Delphi 10.3 TBluetoothLE unter iOS
 
Liste der Anhänge anzeigen (Anzahl: 1)
Sieht bei mir nach ein paar anderen Einträgen aus.

Hofix2004 22. Jul 2020 18:30

AW: Delphi 10.3 TBluetoothLE unter iOS
 
Liste der Anhänge anzeigen (Anzahl: 1)
Bei mir sieht das nach dem Einfügen so aus:

Anhang 52834

Rollo62 22. Jul 2020 19:56

AW: Delphi 10.3 TBluetoothLE unter iOS
 
Sorry, hab das ios übersehen.
Läuft denn überhaupt eine App, z.b. leeres Projekt auf deinem ios?
Da muss Einiges vorbereitet sein.

Hofix2004 23. Jul 2020 06:37

AW: Delphi 10.3 TBluetoothLE unter iOS
 
Generell läuft alles auf iOS. Nur bei BLE habe ich jetzt Probleme vom User die Permissions zu bekommen, da keine Abfrage angezeigt wird.

Alles an Permissions in den Beispielprojekten ist Android-spezifisch und kann für iOS nicht verwendet werden.

Auf iOS läuft das über info.plist , jedoch klappt das bei mir noch nicht.

EDIT

Jetzt klappt es!

Folgende Keys in info.plist

<key>NSBluetoothPeripheralUsageDescription</key>
<string>The app needs bluetooth access to be able to process data from a HR device</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>The app needs bluetooth access to be able to process data from a HR device</string>


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:53 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz