const auth = require('./utils/auth'); App({ onLaunch() { auth.ensureLogin().catch(() => {}); }, globalData: { token: '', user: null } });