Firstly, I am a little bit puzzled by the behaviour of expungeNoteWithGuid: and expungeNotebookWithGuid: Is it allowed to use them now in 3rd party apps?
Secondly, I'm trying to grasp what syncChunk.expungedNotes contains. In my app, I was sort-of mirroring the Evernote behaviour of first moving items to the trash. I thought I could then delete them permanently when the user has expunged them via Evernote itself. However, I noticed that my EDAMSyncChunkFilter doesn't return any guid's for expunged notes. For reference, here's how the filter is generated (in ObjC):
filter = [[EDAMSyncChunkFilter alloc] initWithIncludeNotes:YES includeNoteResources:YES includeNoteAttributes:YES includeNotebooks:NO includeTags:NO includeSearches:NO includeResources:YES includeLinkedNotebooks:NO includeExpunged:YES includeNoteApplicationDataFullMap:YES includeResourceApplicationDataFullMap:YES includeNoteResourceApplicationDataFullMap:YES requireNoteContentClass:@"com.myapp.app"];
For some reason, the test note that I trashed and then expunged doesn't show up in there. Any ideas?