/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2019
 */

import React from 'react';
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import { ErrorHandler } from 'redux-persist-error-handler';
import { Client as BugsnagClient } from 'bugsnag-react-native';
import { name as appName } from '../app.json';
import { store, persistedStore } from './Store';
import MSupplyMobileApp from './mSupplyMobileApp';

// eslint-disable-next-line no-unused-vars
const bugsnagClient = new BugsnagClient();

function App() {
  return (
    <ErrorHandler persistedStore={persistedStore}>
      <Provider store={store}>
        <MSupplyMobileApp />
      </Provider>
    </ErrorHandler>
  );
}

AppRegistry.registerComponent(appName, () => App);

/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2019
 */

import React from 'react';
import { AppRegistry, YellowBox } from 'react-native';
import { Provider } from 'react-redux';
import { ErrorHandler } from 'redux-persist-error-handler';
import { Client as BugsnagClient } from 'bugsnag-react-native';
import { name as appName } from '../app.json';
import { store, persistedStore } from './Store';
import MSupplyMobileApp from './mSupplyMobileApp';

// eslint-disable-next-line no-unused-vars
const bugsnagClient = new BugsnagClient();

function App() {
  return (
    <ErrorHandler persistedStore={persistedStore}>
      <Provider store={store}>
        <MSupplyMobileApp />
      </Provider>
    </ErrorHandler>
  );
}

YellowBox.ignoreWarnings(['Setting a timer']);
AppRegistry.registerComponent(appName, () => App);

Add ignore warnings for setting a timer
Add ignore warnings for setting a timer
