METR1C's Forum Posts

  • blackhornet

    Hi Blackhornet,

    Awesome plugin, thank you. Quick question, when creating the spritefont in your editor and adding boarders it looks perfect and as it should. However in game i dont think its possible to achieve what i am trying. Is it possible to get it looking like it does in the your editor in game?

  • rexrainbow

    mickeyboy

    AndreasR

    Just thought i would let you all know that using the Intel XDK resolves this issue and FIREBASE works perfect with it.

    Thanks again for those that tried to help

  • This happens on Android too. Both Cocoon and Intel XDK. Watch a video add ( Tried Chartboost and Admob ) and ALL sound effects bar the music stops when the video finishes. I opened a bug about this before but it was closed because i didnt upload a .capx / my bad i know!

    Goin back to the main menu ect doesnt fix it. The app needs to be forced closed, and the second you watch a video ad again you lose all sound effects again.

    Ashley - Any ideas of a work around we can do on our end even?

  • mickeyboy

    Hi Mickey,

    I set up exactly how you explained. I used Cranberrys Facebook plugin to login to Facebook ( which worked ), however, Firebase Authentication did NOT take the login details from the Token generated.

    On a side note, Cocoon Admob doesnt work when using Cranberrys Facebook plugin so im trying to avoid using his Facebook Login.

    Somebody suggested using Intel XDK - i will give that a go later. Thank you for the offer of a skype call. I would greatly appreciated your help

    Thanks,

    Peter

  • rexrainbow

    I didnt think so

    Thanks anyway Rex, and thanks again for the awesome plugins.

  • rexrainbow

    I will pay you 100euro to make Firebase work on mobile :D:D

    Its so damn hard to get Facebook login to work and Leaderboards!!!

  • Would it be possible to create a Facebook login with this? That would be AWESOME

  • rexrainbow

    AndreasR

    mickeyboy

    I opted to use WebView+ and InAppBrowser and while i do get a facebook login page to popup, after logging in i get this error.

    "firebase there are no login transports available for the requested method"

    After looking on the FireBase docs i came across this:

    "TRANSPORT_UNAVAILABLE - The requested login method is not available in the user's browser environment. Popups are not available in Chrome for iOS, iOS Preview Panes, or local, file:// URLs. Redirects are not available in PhoneGap / Cordova, or local, file:// URLs."

    Please tell me one of yous have a magic work around

    Thanks guys,

  • Hi.

    You can try this

    THANK YOU!!!!!!!!!! Gotta love this community!

  • > rexrainbow

    > METR1C

    >

    > I just tested it on WebView+ and got this error message.

    >

    > [quote:19vsk0ol]This operation is not supported in the environment this application is running on. "location.protocol" must be htttp or https.

    >

    Regards

    Andy

    Hi guys.

    I was facing problem like this.

    Here is my solution:

    i use Cordova FB plugin from cranberrygame to login to facebook, then use this token to login using Rex's firebase plugin. It work fine on webview+, not sure about cocoon.io

    Hope this can help.

    Hi Mikeyboy,

    Thank you for your help! But i have no idea how to go about this, could you post a screenshot of the login behaviours/actions from Construct used in conjunction with cranberrys plugin? I am sorry to be a pain in the ass

    Thanks again Mikey

  • AndreasR

    rexrainbow

    Thanks Andy, hopefully Rex can help with your issue and you can get this working on mobile. Il pop both of you in teh "Special Thanks" credits.

  • 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?

    post a picture

  • AndreasR

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • METR1C

    According to AndreasR said,

    [quote:3i3oggv8]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