Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Plugins Support › Firebase desktop support

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19659

    Edward

    Hey guys,

    The app i’m currently working on is aimed primarily at android/iOS devices, but I would like it to support desktop also for those without access to smartphones.

    Will Vplay support firebase on desktop in the future, or is there a workaround I could use for this?

    Thanks

    Edd

    #19667

    Günther
    Felgo Team

    Hi Edward,

    our main focus for Felgo Plugins lies on the mobile platforms – though in case of Firebase, we agree that a Desktop integration would be a cool addition. We do not have Firebase for Desktop planned in the near future though. A possible workaround would be to add the logic for working with the Web APIs of Firebase in addition to your existing Firebase Plugin code (to create a desktop fallback).

    To execute different code on Desktop, you can check the system.desktopPlatform context property:

    if (system.desktopPlatform) {
      // desktop ... use custom firebase code with Web APIs
    }
    else {
     // mobiles ... use Felgo Plugins
    }

    Best,
    Günther

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

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded