Refactor CrashReporter plugin
Summary: This diff refactors CrashReporter Plugin. The business logic of crash reporter plugin was placed in the `iOSDevice.js` as it gets the hook to the initialisation of iOSDevice. This diff moves the business logic to the Crash Reporter plugin files under the plugins folder. To get the hook, so that we can add our watcher, I have added a static function over `FlipperBasePlugin`, which if exists, will be called once `REGISTER_PLUGIN` event is dispatched Reviewed By: danielbuechele Differential Revision: D13529035 fbshipit-source-id: 28216b273b4032727859107d8a6751c6465af9ac
This commit is contained in:
committed by
Facebook Github Bot
parent
780ac863b8
commit
9d4bb45dbc
@@ -19,6 +19,9 @@ export * from './fb-stubs/constants.js';
|
||||
export * from './utils/createPaste.js';
|
||||
export {connect} from 'react-redux';
|
||||
export {selectPlugin} from './reducers/connections';
|
||||
export {getPluginKey, getPersistedState} from './utils/pluginUtils.js';
|
||||
export {default as BaseDevice} from './devices/BaseDevice.js';
|
||||
export type {Store} from './reducers/index.js';
|
||||
|
||||
export {
|
||||
default as SidebarExtensions,
|
||||
|
||||
Reference in New Issue
Block a user