The InterApp API allows you to launch other apps, as well as respond to being launched via URI schemes.

This module is an EventEmitter, so the methods from EventEmitter can be used to listen to events.

You need to add a reference to "Fuse.Launcher" in your project file to use this feature.

Example

var InterApp = require("FuseJS/InterApp");

InterApp.on("receivedUri", function(uri) {
    console.log("Launched with URI", uri);
});

InterApp.launchUri("https://www.fusetools.com/");

In the above example we're using the EventEmitter on method to listen to the "receivedUri" event.

For the receivedUri event to be triggered, you need register a custom URI scheme for your app, as shown here.

Location

Namespace
Fuse.Reactive.FuseJS
Package
Fuse.Launcher.InterApp 1.8.0-rc2

Interface of InterApp

launchUri(uri) js

Requests the system to launch an app that handles the specified URI.

receivedUri js

Called when the app is launched via its own URI scheme.

Inherited from NativeEventEmitterModule

Emit(object[]) uno

Call emit with the given arguments on the underlying JS EventEmitter.

Inherited from NativeModule

Inherited from Module

GetFile : FileSource uno

Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces