New Realm.App({ id: appId }) produces an empty object

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