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

Same issue here. After analysis, I guess this is import issue where no modules from realm is actually imported. if I do import like

import Realm, {App} from 'realm';

and try creating app with

new App(appconfig);

throws undefined is not constructor.

Checked the source of realm, seems to be fine. but not mapping to declarations/exports ?