diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 860b16b..ec0a0df 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -26,6 +26,13 @@ + + + + + + + AndroidFullScreen.immersiveMode()) .catch(console.warn); +if (window.plugins) { + window.plugins.intentShim.registerBroadcastReceiver( + { + filterActions: ['android.intent.action.VIEW'], + }, + function (intent: any) { + console.log({ + caller: 'Intent broadcast receiver', + intent, + }); + } + ); + window.plugins.intentShim.onIntent(function (intent: any) { + console.log({ caller: 'Intent receiver', intent }); + }); +} else { + console.log({ + caller: 'Intent', + message: "window.plugins doesn't exist", + window, + }); +} + const App: Component = () => { return (