Firebase Functions Plugin
This Firebase Functions plugin allows you call Cloud Functions with in your app for iOS(8+) and Android(6+)
Functions:
firebaseFunctions.init()
-- initialize firebase functions
firebaseFunctions.call(functionName, [data], callback)
-- call function
functionName(string) name of function to call
data(table)(optional) data to send to the function
callback(function) trigger callback with event.data(table,string,number,boolean) return data from function, event.isError(boolean), and event.error(string)
Make sure you download and include GoogleServices-Info.plist and put in root folder of solar2d project. Also add your google-services.json to your root folder and useGoogleServicesJson = true in build.settings.