21 lines
477 B
JavaScript
21 lines
477 B
JavaScript
![]() |
/**
|
||
|
* Copyright (c) Nicolas Gallagher.
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
function emptyFunction() {}
|
||
|
|
||
|
var BackHandler = {
|
||
|
exitApp: emptyFunction,
|
||
|
addEventListener: function addEventListener() {
|
||
|
return {
|
||
|
remove: emptyFunction
|
||
|
};
|
||
|
},
|
||
|
removeEventListener: emptyFunction
|
||
|
};
|
||
|
export default BackHandler;
|