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:
Ricky Reusser
2016-06-05 18:46:32 -07:00
committed by Facebook Github Bot 0
parent a966c85fce
commit c36430a0d6
6 changed files with 74 additions and 20 deletions

View File

@@ -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.