I am trying to implement syncing from my iOS app to the sync url.But in sync ( beta) , I have sync enabled but I don’t see the sync url or credentials for it. What is the credentials and serverURL that I need to provide below?
let app = App(id: “application-0-iiii”)
let user = app.currentUser()!
let partitionValue = “myPartition”
Realm.asyncOpen(configuration: user.configuration(partitionValue: partitionValue),
callback: { (maybeRealm, error) in
guard error == nil else {
fatalError(“Failed to open realm: (error!)”)
}
guard let realm = maybeRealm else {
fatalError(“realm is nil!”)
}
// realm opened
})