[plugin] firebase

Post your completed addons to share with the community

Post » Tue Mar 14, 2017 10:53 am

@sudeep98
for facebook login, you can use Cordova facebook login from Cranberry to login, then use this access_token to login to firebase.
B
51
S
8
G
2
Posts: 40
Reputation: 3,305

Post » Tue Mar 14, 2017 1:12 pm

mickeyboy wrote:@sudeep98
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?
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Tue Mar 14, 2017 5:14 pm

@sudeep98

Only facebook has access token login action, in my plugin.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Wed Mar 15, 2017 7:33 am

rexrainbow wrote:@sudeep98

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.
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Wed Mar 15, 2017 8:09 am

@sudeep98

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.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Wed Mar 15, 2017 8:36 am

rexrainbow wrote:@sudeep98

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. :)
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Thu Mar 16, 2017 11:39 am

@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. :)
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Fri Mar 17, 2017 2:31 am

@sudeep98

I did not see that message, in my facebook login , nor facebook access token login capx.
Try update rex_firebase_apiv3 plugin.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Sun Mar 19, 2017 11:53 am

rexrainbow wrote:@sudeep98

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. :(
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Mon Mar 20, 2017 5:56 pm

@rexrainbow Do you know how to send a confirmation email to a user when he/she registers? Because is working properly on a mobile device, I would like to setup normal user authentication. I'm able to register and loginin but I'm receiving any confirmation email. Do I need to do anything to make it work?

I contacted firebase team on the same. They asked me whether "sendEmailVerification()" is included in the code.
B
24
S
7
Posts: 337
Reputation: 2,224

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests