Viswanathan Munisamy fb6ab1c338 Remove unused methods. 3 жил өмнө
..
ProtoSupport e9b5de62d8 Add development environment to the proto message ApplicationInfo. 3 жил өмнө
Protogen e9b5de62d8 Add development environment to the proto message ApplicationInfo. 3 жил өмнө
Sources fb6ab1c338 Remove unused methods. 3 жил өмнө
Tests d23b7dbcd7 Address comments from @samedson. 3 жил өмнө
README.md c7386ca33c [Sessions] Update README with development procedures (#10429) 3 жил өмнө
generate_project.sh 5d9f06a4d3 [Sessions] Setup Sessions SDK Class Structure and Tests (#10297) 3 жил өмнө
generate_protos.sh ba0f4f2693 Combine nanopb scripts into a single location (#10439) 3 жил өмнө
generate_testapp.sh 9876601e14 [Sessions] Add Test App and Integration tests for the Sessions SDK (#10396) 3 жил өмнө

README.md

Firebase Sessions SDK

Prerequisites

Follow the Main Firebase Readme

Development

Generating the Project and Test Project

  • generate_project.sh uses cocoapods-generate to create an Xcode Workspace that has the SDK installed for all the SDK's supported platforms. This is useful for test-based development.
  • generate_testapp.sh generates and opens a test app with the Sessions SDK included. This is useful for developing the Sessions SDK against a real app.

Debugging

Command Line Arguments

You can access command line parameters by following: Press CMD-Shift-, => Run => Arguments.

  • -FIRSessionsDebugEvents will print Session Start events to the console for debugging purposes.

Updating the Proto

Prerequesites

To update the Sessions Proto, Protobuf is required. To install run:

brew install protobuf

Procedure

  1. Follow the directions in sessions.proto for updating it
  2. Run the following to regenerate the nanopb source files: ./FirebaseSessions/ProtoSupport/generate_protos.sh
  3. Update the SDK to use the new proto fields