Help me (TT) About introducing the Firebase C ++ SDK

58 views
Skip to first unread message

coco

unread,
Apr 23, 2017, 11:48:43 PM4/23/17
to Firebase Google Group
I am developing an iOS application. This time I am about to transplant it to Android. For that, I am using cocos2dx which runs in C ++.
The thing that I want to do is to install Firebase C ++ SDK to Android Studio and build "admobScene.cpp" written by Firebase C ++ on Xcode from Android Studio side.
I am new to Android Studio and I do not know how to install Firebase C ++ SDK. I am worrying while watching a guide.

My development environment is.....
MacOSX Sierra, Xcode8, Android Studio2.3

Please tell me how to write this image code.I am writing this now, are there?


Secondly, I copy it as I guided, but I get an error. Please tell me how to write correctly.

Thanks.

Stewart Miles

unread,
Apr 24, 2017, 12:55:54 PM4/24/17
to fireba...@googlegroups.com
We have sample integrations of the Firebase C++ SDK with Cocos2d-x in this github repo:

You can follow our instructions to get setup or if you want to integrate into your existing Cocos2d-x project the logic to do so is documented in our setup script here:

Cheers,
Stewart


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/3e2afcd3-afdd-4511-9981-45b2d9ff39a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted
Message has been deleted

coco

unread,
Apr 25, 2017, 9:35:22 AM4/25/17
to Firebase Google Group
Thank you Stewart for your reply.
I finished up to Getting Started. It is crowded with the following items.


I tried ....

step1 cocos new Hello -p com.Hello -l cpp -d ~/Desktop

step2 console.firebase.google.com

step3 Add Project > Project Name "Hello", Country Name

step4 Add Firebase in ios

step5 iOS bundle ID "orgxcocos2dx.hellocpp"

step6 GoogleService-Info.plist DL

step7 Add Firebase SDK using cocoa pods

step8 Swift or OBJ-C I do not know this. Because I am using C ++. I tried putting the OBJ-C code in AppController.mm but it failed.

I want a more comfortable explanation.


2017年4月25日火曜日 1時55分54秒 UTC+9 Stewart Miles:
We have sample integrations of the Firebase C++ SDK with Cocos2d-x in this github repo:

You can follow our instructions to get setup or if you want to integrate into your existing Cocos2d-x project the logic to do so is documented in our setup script here:

Cheers,
Stewart

On Sun, Apr 23, 2017 at 2:20 PM, coco <tezuka....@gmail.com> wrote:
I am developing an iOS application. This time I am about to transplant it to Android. For that, I am using cocos2dx which runs in C ++.
The thing that I want to do is to install Firebase C ++ SDK to Android Studio and build "admobScene.cpp" written by Firebase C ++ on Xcode from Android Studio side.
I am new to Android Studio and I do not know how to install Firebase C ++ SDK. I am worrying while watching a guide.

My development environment is.....
MacOSX Sierra, Xcode8, Android Studio2.3

Please tell me how to write this image code.I am writing this now, are there?


Secondly, I copy it as I guided, but I get an error. Please tell me how to write correctly.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

Stewart Miles

unread,
Apr 25, 2017, 4:44:44 PM4/25/17
to fireba...@googlegroups.com
You really need to follow the steps on https://github.com/firebase/cocos2dx-cpp-sample/blob/master/readme.md rather than the iOS or Android guides.

Setup the most simple sample first (Analytics) and it will show you how to get a project up and running.  You can check out the generated xcode project to see how to integrate with Cocos2d-x.

The code to get started is very simple, for to initialize the analytics API and start using it see

Cheers,
Stewart

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

coco

unread,
Apr 26, 2017, 9:28:32 AM4/26/17
to Firebase Google Group

I advanced while reading "readme.md".


"Follow the steps in Set up your app in Firebase console.Bundle ID: org.cocos2dx.hellocpp"

I registered the project and downloaded "GoogleService - Info.plist", I did not go further and went back to "readme.md" again.

"From the Project_project / proj.ios_mac / HelloCpp.xcworkspace with Xcode. From the Project Navigator, right click on HelloCpp and select" Add files to HelloCpp. "Find the GoogleService-Info.plist file that you downloaded in step 1 and click the Add button. "

My project does not have "HelloCpp.xcworkspace". How should I proceed?


p.s. To me this procedure "readme.md" is too simplified and is difficult. (T T) Are there any videos or images that performed this procedure?


Thanks.


2017年4月26日水曜日 5時44分44秒 UTC+9 Stewart Miles:
Reply all
Reply to author
Forward
0 new messages