AlanScottAgain
Members-
Content Count
37 -
Joined
-
Last visited
Community Reputation
1 NeutralTechnical Information
-
Delphi-Version
Delphi 12 Athens
-
Hi Dave, Thanks for responding. I must not have made sense. I have read that article several times and hope I'm following its recommendations: My app sets a notification and when this is activated my app is re-loaded or comes to the foreground. When it becomes active again I check the connection, Check to see if I need to refresh my login token and then post my results. It does not try to access anything whilst in the background. Interestingly, I just tested to see if a delay would make a difference and a five second delay before I attempt to save works error free, but 3 seconds does not. Does that make it any clearer?
-
Hi I'm using FB4D to access Firebase - works great. When I use my app on Android no problems. But, when it runs on iOS I get: "REST request failed: Error -1005 accessing to https://firestore.googleapis.com/v1beta1/projects/XXXXXX/databases/(default)/documents/Users/XX@XXXX.com? updateMask.fieldPaths=Last_Timer: The network connection was lost." This only happens if I allow the app to go to background. If I set SharedApplication.setIdleTimerDisabled(True); Then the app doesn't sleep and everything is fine. Obviously, when the app comes out of sleep, I check to ensure the phone is connected and it says it is, but I still get this error. I was hoping someone with a better understanding of what iOS is doing could shed some light on this. Thanks Alan
-
Hi Jon, Yes I have. I had issues that look like version incompatibility with sdks. I did not investigate further as Dave's hint to use the Console on iOS was perfect.
-
Hi, Given that debugging on iOS17 is not possible at this moment. I was looking at the Grijjy CloudLogger as an option. It hasn't been updated in a while and wondered if anyone had it running under D12 and iOS? Thanks Alan
-
Hi I'm trying to use SQLite with FDAC using Dynamic loading on Android and iOS. Unfortunately I'm not getting very far. Currently testing on Android 64. I'm getting an error: Project TestFDACDynamic.apk raised exception class EFDException with message '[FireDAC][Phys][SQLite]-314. Cannot load vendor library [/data/user/0/com.embarcadero.TestFDACDynamic/files/libsqliteX.so]. Hint: check it is in the PATH or application EXE directories, and has x86 bitness.'. libsqliteX.so is downloaded from the sqlite download page. and I deploy to .\assets\internal\. I have tried with other libsqlite.so's with the same issue. Am I using the wrong file? Or the wrong location? Many thanks for any advice. Alan
-
OK thanks
-
Thanks Dave, I'm running 16.61?
-
Hi I can compile and my app appears on the iPhone and I can run it. But I can't seem to step trough the code. However, I can step though code if I deploy to the simulator. I have read the documentation, but it hasn't helped. What could I be doing wrong? Thanks Alan
-
Hi How would I use RSA encryption on iOS? Is there a built in library or an external one that works on iOS? Thanks Alan
-
FB4D I've had no issues in VCL
-
Thanks Dave, I had not seen the FB4D Docs about iOS deployment. I will work through that and see if I can get a compile.
-
Hi I'm trying to compile FB4D for ios. FB4D is dependent the JOSE library. On Android everything is fine. On ios I get: [DCC Error] JOSE.OpenSSL.Headers.pas(168): E2003 Undeclared identifier: 'GetCryptLibHandle' and the relevant code is IFDEFed out due to - {$IFNDEF STATICLOAD_OPENSSL} How can I get this to work on iOS, please. Thanks Alan PS https://github.com/paolo-rossi/delphi-jose-jwt/issues/26
-
Thank you for the detailed answers. I think I was confused because the default notification icon is colored!
-
Hi Apps like YouTube have colored notification icons - but even when set my image the notification section to a colored png it still appears white. How can I have my icon show colored? Thanks Alan
-
thank you