React Native example questions

Use code from github example, after create session redirect to browser for signing in, but after nothing happens

DeviceEventEmitter.addListener(“url”) doesnt work

Why in the example in MainApplication are this lines

        sendEvent(reactContext, "onNewEvent", params);

seems that app triger “onNewEvent” event not ‘url’, but if I add listener to this event also nothing happens,

    config = {
        appDomain: "https://{my domain}",
        scopes: ["store_write"],
        redirectUrl: "/redirect.html"

get code there -