[plugin] firebase

Post your completed addons to share with the community

Post » Mon Jul 18, 2016 7:09 am

@AndreasR

Thanks , I will put them in this page, and the document page of related plugins.
You could also provide the product link in the (scirra) store, too.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Mon Jul 18, 2016 8:08 am

rexrainbow wrote:@AndreasR

Thanks , I will put them in this page, and the document page of related plugins.
You could also provide the product link in the (scirra) store, too.



@rexrainbow

thank you! Here is the first link of the docs. It will be extended.
https://shatter-box.com/knowledgebase/f ... ct-2-game/

I'll send you the link to the capx examples once I'm done with them.

Thank you!

P.S. I hope it's fine that I linked to your plugins, if not let me know.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Mon Jul 18, 2016 10:17 am

@AndreasR

Added into my website. Templates are welcome, too.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Mon Jul 18, 2016 10:40 am

rexrainbow wrote:@METR1C

According to @AndreasR said,
It should work for WebView(+) on CocoonIO and Intel XDK (install the inapp browser plugin), however it will not work with CocoonIO's canvas+ engine due to the fact that Canvas+ do not support websockets.


@rexrainbow
@AndreasR

Thanks for the reply Rex, and once again thanks to Andreas who has helped me before with other issues. But WebView+ isnt allowing the Auth popup to login. Is there any other way around the issue? Or a sample capX that shows this working on mobile?

Thanks guys
B
9
S
3
Posts: 45
Reputation: 805

Post » Mon Jul 18, 2016 10:46 am

METR1C wrote:
rexrainbow wrote:@METR1C

According to @AndreasR said,
It should work for WebView(+) on CocoonIO and Intel XDK (install the inapp browser plugin), however it will not work with CocoonIO's canvas+ engine due to the fact that Canvas+ do not support websockets.


@rexrainbow
@AndreasR

Thanks for the reply Rex, and once again thanks to Andreas who has helped me before with other issues. But WebView+ isnt allowing the Auth popup to login. Is there any other way around the issue? Or a sample capX that shows this working on mobile?

Thanks guys


@METR1C

You must add the domain to the OAuth Redirection list first. Otherwise you'll get this error.

Image

Find out more here:
https://shatter-box.com/knowledgebase/f ... edirection

I'm not sure what the domain of the Intel XDK/CocoonIO build is, but I guess it's the bundle id. So try to add your Bundle ID to the OAuth Redirection list.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Mon Jul 18, 2016 11:08 am

@AndreasR

Hi Andy, i am not getting any error. Basically you click on the facebook button to login and nothing at all happens :( Works fine in Chrome/Firefox ect.
B
9
S
3
Posts: 45
Reputation: 805

Post » Mon Jul 18, 2016 11:12 am

METR1C wrote:@AndreasR

Hi Andy, i am not getting any error. Basically you click on the facebook button to login and nothing at all happens :( Works fine in Chrome/Firefox ect.


Yes you only see the error if you log it. Canvas+ lets access you the error log in the developer app. That doesn't apply to the Webview engines.
So just use a text object and add following actions.

"Authenticaction - On login error - Set text to "Authenticaction.ErrorMessage"

Then tell us the error you got.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Mon Jul 18, 2016 11:16 am

@AndreasR

Awesome, will do. In work atm so will try again when home. Thank you very much Andy
B
9
S
3
Posts: 45
Reputation: 805

Post » Mon Jul 18, 2016 11:17 am

METR1C wrote:@AndreasR

Awesome, will do. In work atm so will try again when home. Thank you very much Andy


Sure, you're welcome as always :)
Let me know once you have got new information.
I'll work on my Firebase Template, I'll keep you posted once it's done.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Mon Jul 18, 2016 4:57 pm

@AndreasR
@rexrainbow

Hi Andy,

I am not getting a message when i hit the Fb button. Nothing at all happens when i tap on it yet in Chrome it works perfectly. Im building it on Cocoon as WebView+ Ive attached a screen shot of the code, any ideas?

Imagepost a picture
B
9
S
3
Posts: 45
Reputation: 805

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests