playMaker

Author Topic: Playmaker and Firebase  (Read 1503 times)

Padenlee

  • Junior Playmaker
  • **
  • Posts: 63
  • You can't hit what you don't shoot for!
Playmaker and Firebase
« on: February 26, 2020, 10:13:43 PM »
Ok, I'm doing it... I'm finally bitting the bullet and getting Firebase and Unity/Playmaker working together! Wish me luck!

Ok community! I'm going to be updating people on progress here and hopefully we all can work together to make this happen!

Why Firebase? Because all my friends in Silicon Valley say "It's the best and to not worry about anything else."

The Plan:
1. Start with getting a REST API up and working
2. Create a tutorial for other PM users to follow
3. Get custom actions and the Firebase SDK working
4. Make a tutorial on how to use the actions with the Firebase SDK

Any suggestions are insanely welcome! Let's all pretend I was not on Apple's first TV show with an app coded entirely in PM, please treat me like I'm 5 years old and have no idea what I'm doing when it comes to REST API's and hooking up the Firebase SDK with Playmaker actions... Because I totally am 5 years old when it comes to this stuff XD

For anyone wanting to follow along, here is the documentation I'm starting with:
https://firebase.google.com/docs/reference/rest/database

All suggestions welcome!

Here we go!
-Paden Pierry
@padenpierry
Apple inc.'s first TV show, EP 1.
Game Dev since 2007
Coolest client: Bridgestone

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and Firebase
« Reply #1 on: February 28, 2020, 01:20:09 AM »
Hi,

 that's a huge task ahead :)

your biggest issue will be how to let the user go through the data being returned. I would say that using datamaker and the json actions could help indeed. also there is this jpath from netwonsoft that mimic the xpath for xml, which could make it even better.

also, don't use WWW class, go straight for the new unity way: https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html


Bye,

 Jean

Infamous

  • Playmaker Newbie
  • *
  • Posts: 24
Re: Playmaker and Firebase
« Reply #2 on: March 02, 2020, 07:02:03 AM »
Wish you all the best and looking forward to your success.

I think this would help a lot of people including myself.


Edit: If you could include GameCenter/Google Play authentication in your research that would be greatly appreciated. 

Thanks and goodluck....
« Last Edit: March 02, 2020, 07:04:37 AM by Infamous »

mrphilipjoel

  • Playmaker Newbie
  • *
  • Posts: 48
Re: Playmaker and Firebase
« Reply #3 on: February 26, 2024, 10:26:44 AM »
So, how did this go?