|
|
3 years ago | |
|---|---|---|
| .. | ||
| ProtoSupport | bcd9f76e79 [Sessions] Replace bundleID with appDisplayVersion (#10551) | 3 years ago |
| Sources | 077091a390 Add Sessions Internal API (#10665) | 3 years ago |
| SourcesObjC | 442efb874e [Sessions] Add Swift Package Manager tests for Sessions (#10572) | 3 years ago |
| Tests | 43b6e276bf Fix Sessions Test App with Fake Subscriber (#10684) | 3 years ago |
| README.md | 92667583bf Add steps to configure different environments for the test app. (#10491) | 3 years ago |
| generate_project.sh | 5d9f06a4d3 [Sessions] Setup Sessions SDK Class Structure and Tests (#10297) | 3 years ago |
| generate_protos.sh | 442efb874e [Sessions] Add Swift Package Manager tests for Sessions (#10572) | 3 years ago |
| generate_testapp.sh | 35ba5f3f1e Delete extra copies of the Crashlytics tools for testapps (#10657) | 3 years ago |
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