On Android,
engine.rootContext()->setContextProperty(QLatin1String("platformShim"), &shim);

//platformshim.h
signals:
        void pushTokenReceived(QString token);

//native JNI function calls
        PlatformShim::instance()->pushTokenReceived(token);

//in main.qml
Connections {
        target: platformShim
        onPushTokenReceived: {
                console.debug("pushTokenReceived:", token)
                pushToken.text = token
        }
}

I cannot figure out why the onPushTokenReceived never gets called?

Anyone have any ideas?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to