Hello,
I want to receive an event when the user forcefully shuts down the app.
But, The code I wrote doesn't work.
Isn't there a good way?
code :
func applicationWillTerminate(_ application: UIApplication) {
print("applicationWillTerminate")
AmplitudeHelper.shared.sendEvent(eventString: "app_exit")
}