All Projects → FirebaseExtended → Cocos2dx Cpp Sample

FirebaseExtended / Cocos2dx Cpp Sample

Licence: mit
Firebase Cocos2d-x samples

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Cocos2dx Cpp Sample

Firebase Admin Node
Firebase Admin Node.js SDK
Stars: ✭ 1,050 (+2400%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Firebase Js Sdk
Firebase Javascript SDK
Stars: ✭ 3,844 (+9052.38%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Laravel Firebase
A Laravel package for the Firebase PHP Admin SDK
Stars: ✭ 369 (+778.57%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Internalappstore
📦 Manage your own internal Android App Store.
Stars: ✭ 295 (+602.38%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Quickstart Cpp
Firebase Quickstart Samples for C++
Stars: ✭ 123 (+192.86%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Laqul
A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL queries language. And ready to use the Google Firebase features.
Stars: ✭ 110 (+161.9%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Rxfirebase
Rxjava 2.0 wrapper on Google's Android Firebase library.
Stars: ✭ 509 (+1111.9%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Firebase Php
Unofficial Firebase Admin SDK for PHP
Stars: ✭ 1,657 (+3845.24%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Zooshi
Multi-platform game where you feed well dressed animals with sushi
Stars: ✭ 281 (+569.05%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Mechahamster
Mecha Hamster is a game where you roll through customizable environments that you can share with your friends.
Stars: ✭ 314 (+647.62%)
Mutual labels:  firebase, firebase-cloud-messaging, firebase-auth
Messenger Ios Chat Swift Firestore
Messenger Clone - Real-time iOS Chat with Firebase Firestore written in Swift
Stars: ✭ 405 (+864.29%)
Mutual labels:  firebase, firebase-auth
Meal Prep
Source code for a 4-part series I wrote about Vue, Vue Router, Vuex and Vuetify
Stars: ✭ 496 (+1080.95%)
Mutual labels:  firebase, firebase-auth
Quickstart Unity
Firebase Quickstart Samples for Unity
Stars: ✭ 553 (+1216.67%)
Mutual labels:  firebase, firebase-cloud-messaging
React Gatsby Firebase Authentication
🐣🔥Starter Project / Boilerplate for Authentication with Firebase and plain React in Gatsby.js
Stars: ✭ 356 (+747.62%)
Mutual labels:  firebase, firebase-auth
Firebase Admin Java
Firebase Admin Java SDK
Stars: ✭ 345 (+721.43%)
Mutual labels:  firebase, firebase-auth
Firebase Admin Go
Firebase Admin Go SDK
Stars: ✭ 651 (+1450%)
Mutual labels:  firebase, firebase-auth
Pyfcm
Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)
Stars: ✭ 674 (+1504.76%)
Mutual labels:  firebase, firebase-cloud-messaging
Firebase Admin Python
Firebase Admin Python SDK
Stars: ✭ 591 (+1307.14%)
Mutual labels:  firebase, firebase-auth
Whatsup
**Deprecated** Real time chat app written in Swift 4 using Firebase and OTP Authentication
Stars: ✭ 39 (-7.14%)
Mutual labels:  firebase, firebase-cloud-messaging
Abapfire
ABAP Firebase Client
Stars: ✭ 11 (-73.81%)
Mutual labels:  firebase, firebase-auth

Firebase Cocos2d-x Samples

iOS and Android cocos2d-x samples for the Firebase C++ SDK.

Status

Status: Archived

This sample is no longer actively maintained and is left here for reference only.

Introduction

Prerequisites

  • The setup_firebase_sample.py script requires Python to be installed locally. Visit the Python download page for more information.

  • If you are running this script on a Mac, you will need CocoaPods installed. See the CocoaPods Getting Started guide for more details.

Getting Started

  • Clone the Firebase Cocos2d-x Samples GitHub repo.
    git clone https://github.com/firebase/cocos2dx-cpp-sample.git
    
  • Navigate to the directory that you just cloned and run the Firebase setup script, where FIREBASE_FEATURE is one of the following: AdMob, Analytics, Auth, Invites, Messaging, Remote_Config
    python setup_firebase_sample.py FIREBASE_FEATURE
    
  • If you haven't done so already, you will need to add the cocos2d-x environment variables to the operating system's PATH variable. Navigate to the sample_project/cocos2d directory and run the cocos2d-x setup script:
    python setup.py
    

iOS

  • Follow the steps in Set up your app in Firebase console.
    • Bundle ID: org.cocos2dx.hellocpp
  • Open the sample_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.
  • In the top left corner, set the active scheme to HelloCpp-mobile and choose the device that you want to run the app on. Then, click the run button to build and run the app.

Android

  • Follow the steps in Set up your app in Firebase console.
    • Package Name: org.cocos2dx.hellocpp
  • Add the google-services.json file that you downloaded in step 1 to the sample_project/proj.android-studio/app directory.
  • In the terminal from the sample_project directory, compile the Cocos project for Android:
    cocos compile -p android --ap ## --android-studio --app-abi armeabi-v7a
    
    Where ## is the Android platform used for building the apk, for example, android-22.
  • Open the sample_project/proj.android-studio project in Android Studio and run the app. To install the APK on a device, navigate to sample_project/bin/debug/android.

Support

https://firebase.google.com/support/

License

Copyright 2017 Google Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].