mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Add cross-platform Linking module
Summary: A promise based API for handling Link for Android and iOS. Refer #4971 The iOS part doesn't handle errors. Will need someone with iOS knowledge to do that. cc skevy ide brentvatne mkonicek vjeux nicklockwood Closes https://github.com/facebook/react-native/pull/5336 Reviewed By: svcscm Differential Revision: D2866664 Pulled By: androidtrunkagent fb-gh-sync-id: 67e68a827e6b85886bfa84e79b897f079e78b1b5
This commit is contained in:
committed by
facebook-github-bot-5
parent
affd6230fe
commit
e33e6ab1f0
1
Libraries/react-native/react-native.js
vendored
1
Libraries/react-native/react-native.js
vendored
@@ -73,6 +73,7 @@ var ReactNative = {
|
||||
get IntentAndroid() { return require('IntentAndroid'); },
|
||||
get InteractionManager() { return require('InteractionManager'); },
|
||||
get LayoutAnimation() { return require('LayoutAnimation'); },
|
||||
get Linking() { return require('Linking'); },
|
||||
get LinkingIOS() { return require('LinkingIOS'); },
|
||||
get NetInfo() { return require('NetInfo'); },
|
||||
get PanResponder() { return require('PanResponder'); },
|
||||
|
||||
@@ -85,6 +85,7 @@ var ReactNative = Object.assign(Object.create(require('React')), {
|
||||
IntentAndroid: require('IntentAndroid'),
|
||||
InteractionManager: require('InteractionManager'),
|
||||
LayoutAnimation: require('LayoutAnimation'),
|
||||
Linking: require('Linking'),
|
||||
LinkingIOS: require('LinkingIOS'),
|
||||
NetInfo: require('NetInfo'),
|
||||
PanResponder: require('PanResponder'),
|
||||
|
||||
Reference in New Issue
Block a user