Forums

OverviewFelgo 2 Support (Qt 5) › OneSignal – platform specific registration Id

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17060

    filipeagg

    Good afternoon,

    I’d like to use OneSignal plugin, nice dashboard, api, multiplatform…

    But I already have a custom backend service, using platform specific ids (gcm and apn) so I’d like to retrieve that id from a OneSignal’s QML element.

    I’m trying this:

     

     

    OneSignal{

    id: onesignal

    appId: “1c016…” // replace with your OneSignal appId

    googleProjectNumber: “75…” // replace with your googleProjectNumber

    }

    function getRegId(){

    console.log(“regId:”, onesignal.registrationId)

    }

    and I get this on console: I/OneSignal(13053): Device registered, Google Registration ID = APA91bGMNLe6r5QLxptA . . .

    but when I try to call getRegId() all I see is an empty string: (getRegId): qml: regId:

    Is there anything I am missing?

     

     

    #17096

    Günther
    Felgo Team

    For anyone who experiences this problem as well:
    We already had a look at this issue and prepared a fix to be shipped with the next Felgo Update.

    Best,
    Günther

    #17099

    filipeagg

    Yes they did, all I have to say here is to confirm Günther words.

    They prepared the fix, we tested it and my problem was solved.

    Couldn’t find better support, great job Felgo team!

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support