{"size": 740, "ext": "js", "max_stars_repo_path": "locomotion-sdk/src/LocomotionRouter.js", "max_stars_repo_name": "luxn/locomotion", "max_stars_repo_stars_event_min_datetime": "2020-08-10T10:44:53.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-10T10:44:53.000Z", "max_issues_repo_path": "locomotion-sdk/src/LocomotionRouter.js", "max_issues_repo_name": "luxn/locomotion", "max_issues_repo_issues_event_min_datetime": "2020-08-18T10:22:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-31T10:58:22.000Z", "max_forks_repo_path": "locomotion-sdk/src/LocomotionRouter.js", "max_forks_repo_name": "luxn/locomotion", "max_forks_repo_forks_event_min_datetime": "2019-07-22T08:53:41.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-07T19:21:55.000Z"}
{"max_stars_count": 1, "max_issues_count": 6, "max_forks_count": 2, "avg_line_length": 28.4615384615, "max_line_length": 78, "alphanum_fraction": 0.6783783784}
import React from 'react';
import params from 'react-native-config';

import { MainProvider } from './context/main';
// import StorybookUI from './storybook';
import Router, { MainRouter } from './pages';
import NavigationService from './services/navigation';
// import Firebase from './src/services/firebase';

import RidePopups from './popups/RidePopups';
import SettingsContext from './context/settings'

export default props => (
  <MainProvider {...props}>
    <SettingsContext.Provider>
      <MainRouter
        ref={navigation => NavigationService.setTopLevelNavigator(navigation)}
        {...props}
        />
      {props.children}
      {/* Popups */}
      <RidePopups />
      </SettingsContext.Provider>
  </MainProvider>
);
