mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-19 13:08:11 +08:00
Hook up Android intent to Linking.js #7079
Summary: Fixed #7118 by rreusser Closes https://github.com/facebook/react-native/pull/7940 Differential Revision: D3391586 fbshipit-source-id: f7e572a91347fb0629602374cb6944eabf5b0e8f
This commit is contained in:
committed by
Facebook Github Bot 0
parent
a966c85fce
commit
c36430a0d6
@@ -88,6 +88,11 @@ public abstract class ReactInstanceManager {
|
||||
*/
|
||||
public abstract void onBackPressed();
|
||||
|
||||
/**
|
||||
* This method will give JS the opportunity to receive intents via Linking.
|
||||
*/
|
||||
public abstract void onNewIntent(Intent intent);
|
||||
|
||||
/**
|
||||
* Call this from {@link Activity#onPause()}. This notifies any listening modules so they can do
|
||||
* any necessary cleanup.
|
||||
|
||||
Reference in New Issue
Block a user