it is not about the empty object. The Realm.App constructor is not working. throws “undefined is not a constructor” error.