const transport = require('./utils/ble-transport') App({ onShow() { transport.handleAppShow() }, onHide() { transport.handleAppHide() } })