Anto90 0 Posted 10 hours ago 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
Rollo62 560 Posted 10 hours ago Have you also added the featured file "Sqlite driver" in the deployment? https://youtu.be/--HfSCnp24o?t=163 Share this post Link to post
Dave Nottage 590 Posted 10 hours ago 10 hours ago, Anto90 said: Can be a correlation with fcm and sqllite ? Yes, you need to use static linking: https://docwiki.embarcadero.com/RADStudio/Athens/en/Connect_to_SQLite_database_(FireDAC)#Driver_Linkage Share this post Link to post
Anto90 0 Posted 5 hours ago (edited) 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 3 hours ago by Anto90 Share this post Link to post