Jump to content
Sign in to follow this  
Anto90

app crash on ios

Recommended Posts

hello,

 

i want to use sqllite with my app. I use also fcm notification with kastri

 

FCM.ShowBannerIfForeground := True;

FCM.OnMessageReceived := FCMMessageReceivedHandler;
FCM.OnStarted := FCMStartedHandler;
FCM.OnTokenReceived := FCMTokenReceivedHandler;
FCM.Start;

 

I add the line above on form create ok it goes.

 

I add datamodule with fdconnection and driver id sqllite the app on startup crash. I rem the fcm.start and app does not crash anymore.

 

if i remove FireDAC.Phys.SQLite from uses of datamodule app does not crash

 

Can be a correlation with fcm and sqllite ? In Android is ok. The form is not created at application startup.

If i removed all uses related to sqlite from datamodule the app starts normally with fcm.start not rem.

i use delphi 12.2

 

Thank you

 

 

Share this post


Link to post

thank you.

I set from FDPhysSQLiteDriverLink1 EngineLinkage slStatic i saw in delphi lib installation libsqlite.a is correct but i still having crash. There is some other configuration that i had to do?

Thank you

Edited by Anto90

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×