mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
import {
|
|
AppRegistry,
|
|
} from 'react-native';
|
|
|
|
import example from './src/app';
|
|
|
|
import registerEarlyCrashIfNeeded from './registerEarlyCrashIfNeeded';
|
|
|
|
class exampleAndroid extends example {
|
|
async componentDidMount() {
|
|
await super.componentDidMount();
|
|
registerEarlyCrashIfNeeded();
|
|
}
|
|
}
|
|
|
|
AppRegistry.registerComponent('example', () => exampleAndroid);
|