Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17117

SDKBOX_CORE: Checking plugin status for unknown plugin: Firebase

$
0
0

Hello
I am going to integrate Firebase to my cocos2d-x lua game
I am using SDKBOX and have done one by one from this manual

https://docs.sdkbox.com/en/plugins/firebase/v3-lua/#sdk-version

The build is success and I am now checking if Firebase analytics is working or not.
But it seems not working.

Here is code of lua

print("before firebase event")
sdkbox.firebase.Analytics:init()
print("finish init firebase event")

local evt = {
	[sdkbox.firebase.Analytics.Param.kFIRParameterItemID] = 'id123456',
	[sdkbox.firebase.Analytics.Param.kFIRParameterItemName] = 'name123456',
	[sdkbox.firebase.Analytics.Param.kFIRParameterItemCategory] = 'category123456',
	[sdkbox.firebase.Analytics.Param.kFIRParameterPrice] = '123.4'
}
sdkbox.firebase.Analytics:logEvent(sdkbox.firebase.Analytics.Event.kFIREventViewItem, evt)
print("sent firebase event")

But I am getting this log from logcat

Lua: before firebase event
SDKBOX_CORE: Checking plugin status for unknown plugin: Firebase                                
SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/firebase/Analytics/Analytics'
Lua: finish init firebase event
Lua: sent firebase event

And I can’t see any analytics logs from Firebase console.

Could you please check which case this problem occur?
I did everything step by step in https://docs.sdkbox.com/en/plugins/firebase/v3-lua/#sdk-version

BTW When I write code like below(get version info of firebase)

local firebaseVersion = sdkbox.firebase.Analytics:getVersion()
print("firebase version:"..firebaseVersion )

Then logcat shows version info

Lua: firebase version:3.6.0

Thank you

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 17117


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>