When I edit or delete an activity on Garmin Connect, they are still visible in my application. When you log back in, the name is updated, but deleted activities are still visible.
When I edit or delete an activity on Garmin Connect, they are still visible in my application. When you log back in, the name is updated, but deleted activities are still visible.
When I edit or delete an activity on Garmin Connect, they are still visible in my application
You did not specify what you mean by "my application", and you also did not tell whether you deleted the activity in Garmin Connect Web or in Garmin Connect Mobile, so let me assume that deleted the activity in GC Web, but still see it in GC Mobile.
When deleting or editing an activity in GC Web, you have to sync the GC Mobile app in order to load new data from the server. Deleted activities should then disappear, and edited values mostly change too, but I already saw some data more persistent. It may take longer time to get the update on the phone. Forcing the app to stop (swiping away from the App Switcher) and restarting may help.
Well, we do not know anything about your app, and you also did not tell which API you use in it. Garmin has a number of them. If the API automatically syncs the activity data only during the sync of the watch to GC, then you will probably need to poll the GC database regularly and checking for changes.
However, this user forum is not the best place for asking questions about the API. Most users here know nothing about it. If you use the FIT SDK in your app, then rather try asking on the Developer FIT SDK forum. If it is the another of the many Garmin's APIs, then rather search the help directly at Garmin - contacts are listed at each of them at https://developer.garmin.com/