-
Content Count
1489 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
createdirectory 10.4 firemonkey 10.4 failed to create folder on android
Dave Nottage replied to PavelX's topic in FMX
It will not work if you do not have the permissions checked in the project options. -
Can you give a link to the app on Play Store?
-
createdirectory 10.4 firemonkey 10.4 failed to create folder on android
Dave Nottage replied to PavelX's topic in FMX
The following worked fine for me: procedure TForm1.Button1Click(Sender: TObject); begin PermissionsService.RequestPermissions(['android.permission.READ_EXTERNAL_STORAGE', 'android.permission.WRITE_EXTERNAL_STORAGE'], procedure(const APermissions: TArray<string>; const AGrantResults: TArray<TPermissionStatus>) begin // NOTE: I am assuming the user granted permission, here! CreateFolder; end ); end; procedure TForm1.CreateFolder; var fn: string; begin fn := TPath.Combine(TPath.GetSharedDocumentsPath, 'OLA'); ForceDirectories(fn); if TDirectory.Exists(fn) then Button1.Text := 'OK' else Button1.Text := 'Failed'; end; Delphi 10.4.1, Android 11 device (Pixel3a) -
From Android 6 you cannot change private secure settings, and "show_touches" is one of them.
-
10.4.1 Released today
Dave Nottage replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
If you mean in relation to a bunch of API imports, that would have happened in 10.4.0 -
10.4.1 Released today
Dave Nottage replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
2 days ago according to App Store app on my Mac. Haven't installed it yet - perhaps that's the issue for Sherlock? -
10.4.1 Released today
Dave Nottage replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Worked OK here. What actually happens when you try? -
Problem with Delphi RIO 10.3.3 and Google API Level 29
Dave Nottage replied to Massimiliano S's topic in Cross-platform
You may need to add: android:requestLegacyExternalStorage="true" To the <application> tag in AndroidManifest.template.xml- 20 replies
-
- api
- play store
-
(and 1 more)
Tagged with:
-
Problem with Delphi RIO 10.3.3 and Google API Level 29
Dave Nottage replied to Massimiliano S's topic in Cross-platform
What's the exact message?- 20 replies
-
- api
- play store
-
(and 1 more)
Tagged with:
-
Did you resolve the apparent permissions issue?
-
For 10.3.3 or earlier, please refer to: For 10.4, simply add the fonts to the deployment, with a remote path of assets\internal
-
Problem with Delphi RIO 10.3.3 and Google API Level 29
Dave Nottage replied to Massimiliano S's topic in Cross-platform
For anyone following this thread, the relevant QP report is here: https://quality.embarcadero.com/browse/RSP-27218 As per my comment on the report (dated Aug 24), it would be possible to recompile System.pas (it needs a change to ICU.inc), however unfortunately, the files ex.android.arm.inc and ex.android.arm64.inc are not supplied, thus making it impossible without help from Embarcadero.- 20 replies
-
- api
- play store
-
(and 1 more)
Tagged with:
-
That's the plan. I have some other controls coming that will be included.
-
Did you follow the instructions in the ReadMe.txt file?
-
Yes, I have an implementation for it, and a while ago was seeking people to try it out. I haven't done anything to it for a while, however I have attached the work-in-progress to this reply. The plan is to include the final result into Kastri: https://github.com/DelphiWorlds/Kastri AppleSignin.zip
-
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
The best way forward is to download the repository: https://github.com/DelphiWorlds/KastriFree Either via the download link (from the green "Code" button), or preferably use a Git client, like Fork: https://git-fork.com/ Once you have the repository: Unzip Firebase.6.16.0.zip in the ThirdParty/Firebase/iOS folder. Put your GoogleServices.info.plist from your Firebase Console project in the Resources folder of the demo Load the demo and compile -
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
It has been, yes. I'll help where I can -
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
Push notifications using Firebase for iOS is yet to be implemented in Delphi. I have an implementation using Embarcadero's infrastructure, described here: https://delphiworlds.com/2020/01/expanding-embarcaderos-fcm-implementation-revisited/ -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
Yes, in both cases, and thanks! I need to write more carefully 😉 Thanks for your input. I hope to have an answer in the next couple of days or so. -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
The picture does not show the folder that I am asking about. Please read my answers carefully. -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
Are you saying that the /usr/lib/system folder exists in your iOS 13.6 SDK? i.e. the full path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneIS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/system No, I did a normal upgrade. Why would I need to completely uninstall? -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
My Xcode was updated to 11.6 via the App Store app on my Mac. It includes the iOS 13.6 SDK. fastlane verified Xcode as OK. Not as yet -
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
In the IDE menu: Project|Deployment -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
As per the article: "The /usr/lib/system folder underneath simply does not exist" -
XCode 11.6 (and 11.5) doesn't recognize iPhone XS anymore
Dave Nottage replied to Rollo62's topic in Cross-platform
Have you opened the Devices and Simulators window in Xcode, and selected the device?