|
|
3 lat temu | |
|---|---|---|
| .. | ||
| ProtoSupport | c66588d948 Add development environment to the proto message ApplicationInfo. (#10452) | 3 lat temu |
| Protogen | c66588d948 Add development environment to the proto message ApplicationInfo. (#10452) | 3 lat temu |
| Sources | 1e01fa5b8a Fix the style issues. | 3 lat temu |
| Tests | 1e01fa5b8a Fix the style issues. | 3 lat temu |
| README.md | 987093a23e Add steps to configure different environments for the test app. | 3 lat temu |
| generate_project.sh | 5d9f06a4d3 [Sessions] Setup Sessions SDK Class Structure and Tests (#10297) | 3 lat temu |
| generate_protos.sh | ba0f4f2693 Combine nanopb scripts into a single location (#10439) | 3 lat temu |
| generate_testapp.sh | 9876601e14 [Sessions] Add Test App and Integration tests for the Sessions SDK (#10396) | 3 lat temu |
Follow the Main Firebase Readme
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.SDK is configured to send events to different environments. To enforce different environments for sending events, we use an environment variable to configure the specific environment. Since environment variables are enforced in the context of the App, use the TestApp to send events to different environments after using the following configuration steps.
NOTE: Default is PROD. Not configuring any flags would mean the events are sent to PROD environment.
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.To update the Sessions Proto, Protobuf is required. To install run:
brew install protobuf
sessions.proto for updating it./FirebaseSessions/ProtoSupport/generate_protos.sh