[plugin] firebase

From the Asset Store
Firebase Analytics Web App, ( Firebase SDK version 10.0.0 )
  • rexrainbow The email login and registration is working fine but the google and facebook logins aren't working. I'm talking about the desktop browser and not on mobile. When I call for facebook login or google login I'm getting a blank popup and then I get this message

    Javascript error!

    Uncaught Error: Network Error

    http://localhost:50000/firebase.js, line 88 (col 1962)

    Should I do anything? I enabled google login and facebook login on firebase but still I'm having this issue.

    Please help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Try this Sample capx which login by facebook or google. It worked fine in my testing now.

  • Try this Sample capx which login by facebook or google. It worked fine in my testing now.

    Somehow I figured it out and made the facebook and google signin work on a desktop but they aren't working on mobile devices. The email registrations and logins are working fine but the fb and google signins aren't working on mobile devices. I'm not sure why. Do you have any idea on this issue?

  • Google or facebook login will pop up a sign-in window first, it might be the reason of building failed.

    Email & password does not need that kind of pop-up window,

  • Google or facebook login will pop up a sign-in window first, it might be the reason of building failed.

    Email & password does not need that kind of pop-up window,

    Okay. Do I need to something to make it work?

    I will check if redirect option would work.

  • Sorry I have no idea about popping-up window on intelXDK.

  • for facebook login, you can use Cordova facebook login from Cranberry to login, then use this access_token to login to firebase.

  • for facebook login, you can use Cordova facebook login from Cranberry to login, then use this access_token to login to firebase.

    Hey thanks for the response. If you don't mind could please explain me step by step.

    Is there a way to setup Google login also?

  • Only facebook has access token login action, in my plugin.

  • Only facebook has access token login action, in my plugin.

    mickeyboy

    Could you please tell me how should I use it? I setup facebook login through cranberryfacebook then I should say something like On login success -> link to fb access token: "access_token"? This is not working I'm receiving login error.

    I tired with Authentication token login and Connect facebook as well but so far no output.

    Please help.

  • Here is a sample capx which login facebook by official facebook plugin (fill properties of this facebook plugin before run it), replace it by other plugin.

  • Here is a sample capx which login facebook by official facebook plugin (fill properties of this facebook plugin before run it), replace it by other plugin.

    Thanks alot. I will take a look at it.

  • rexrainbow Thanks. It works great.

    Thought to inform you this. Earlier When I tried to authenticate with fb through your plugin it used work great but now I'm receiving a message in the browser log - something like "firebase has depreciated this feature to provide better service to users". I don't remember the message correctly but I found something like that and then I'm getting firebase log errors. I tired with your facebook or google .capx as well. It gives the same output but the connect facebook works great.

    I hope this helps you in the plugin development.

  • I did not see that message, in my facebook login , nor facebook access token login capx.

    Try update rex_firebase_apiv3 plugin.

  • I did not see that message, in my facebook login , nor facebook access token login capx.

    Try update rex_firebase_apiv3 plugin.

    Thanks. It is working fine now. The fb login and firebase authentication is working fine on desktop but I don't understand it isn't working on my phone. I could login to fb on my phone but firebase is not getting connected. I'm not sure why.

    I've been working on this from such a long time. Still I could't setup fb login in my game.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)