Facebook integration - interApp.onReceivedUri not being called

I have this JavaScript:

    <JavaScript>
        var interApp = require('FuseJS/InterApp');
        interApp.onReceivedUri = function (uri) {
            debug_log("received " + uri);
        }
    </JavaScript>

And this in my .uxl:

        <key>LSApplicationQueriesSchemes</key>
        <array>
            <string>fbauth2</string>
        </array>

This code is called in my AppDelegate:

-(BOOL)application:(UIApplication _)application openURL:(NSURL_ )url sourceApplication:(NSString _)sourceApplication annotation:(id)annotation_

_

But this is running the false part of _jsInitialized and I don’t understand why:

_

void InterApp::OnReceivedUri(uObject `sender, uString _uri)
{
InterApp_typeof()->Init();

if (InterApp::_jsInitialized())
    uPtr(InterApp::_onReceivedUri())->RaiseAsync(uArray::Init<uObject_>(::TYPES[3/_object[]_/], 1, uri));
else
    ::g::Uno::Collections::List__Add_fn(uPtr(InterApp::_cachedUris()), uri);

}`

I now suspect that InterApp is not working. Do you have working test-cases?

https://github.com/yupferris/fuse-example-uri-launching

Is not working for me.

There were some issues with InterApp in 0.9.4, they are fixed in 0.9.5, which can be downloaded from https://www.fusetools.com/downloads.