try {
  // tslint:disable-next-line
  const modules = require('.').default;
  modules.triggerOnAppCreate();
} catch (e) {
  if (typeof ErrorUtils !== 'undefined') {
    (ErrorUtils as any).reportFatalError(e);
  } else {
    console.error(e);
  }
}

try {
  // tslint:disable-next-line
  const modules = require('./modules').default;
  modules.triggerOnAppCreate();
} catch (e) {
  if (typeof ErrorUtils !== 'undefined') {
    (ErrorUtils as any).reportFatalError(e);
  } else {
    console.error(e);
  }
}

Fix wrong path to modules for mobile
Fix wrong path to modules for mobile
