The Linking and BackHandler components are now both supported by react-native-web (#3494)

so there's no need to supply dummy replacements.
This commit is contained in:
Ron Arts
2018-02-13 21:23:26 +01:00
committed by Eric Vicenti
parent 4df9198979
commit 69bca191a7
3 changed files with 5 additions and 11 deletions

View File

@@ -1,9 +1,3 @@
export const Linking = {
addEventListener: () => {},
removeEventListener: () => {},
getInitialURL: () => Promise.reject('Unsupported platform'),
};
import { BackHandler } from 'react-native';
export const BackHandler = {
addEventListener: () => {},
};
export { BackHandler };