@nickspag, I was able to get it going on our end. When you create your user, you create a non-admin user. The non-admin user is not allowed to write to the base directory of the Realm instance -- meaning they will not have access to this path.
internal static readonly Uri DataUrl = new Uri("realms://" + instanceHostName + "/app");
So either A) make them an admin user or B) write to their user path like:
internal static readonly Uri DataUrl = new Uri("realms://" + instanceHostName + "~/app");
You also need to set your config variable that you pass into
authenticate function will have:
syncConfigForActiveUser = new SyncConfiguration(debugUser, dataUrl, "notDefault");
Additionally, I saw some strange behavior with your authentication code and the
needsCreated variable, so you may need to look into how that variable is set.
Go ahead and try that change and let me know if that gets you syncing