|
|
há 2 anos atrás | |
|---|---|---|
| .. | ||
| ProtoSupport | 484ca20270 Add os_version and app_build_version to Sessions (#11205) | há 2 anos atrás |
| Sources | 1af0bf0728 Update to SwiftFormat 0.53.5 (#12665) | há 2 anos atrás |
| SourcesObjC | cb2f6e901a Sending authentication token for crashlytics and session (#12383) | há 2 anos atrás |
| Tests | 1af0bf0728 Update to SwiftFormat 0.53.5 (#12665) | há 2 anos atrás |
| CHANGELOG.md | 98be605f34 Free nanopb mallocs when losing references to them (#11139) | há 2 anos atrás |
| README.md | 562a93a350 Add comments outlining the worries against using FirebaseSessionsEnabled (#10784) | há 3 anos atrás |
| generate_project.sh | 5d9f06a4d3 [Sessions] Setup Sessions SDK Class Structure and Tests (#10297) | há 3 anos atrás |
| generate_protos.sh | 442efb874e [Sessions] Add Swift Package Manager tests for Sessions (#10572) | há 3 anos atrás |
| generate_testapp.sh | 35ba5f3f1e Delete extra copies of the Crashlytics tools for testapps (#10657) | há 3 anos atrás |
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.open Package.swift in the root of the firebase-ios-sdk repo. You can run tests using the FirebaseSessionsUnit Schemegenerate_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.You can override the Settings values fetched from the server using the app's Info.plist. The full list of override plist keys can be found in LocalOverrideSettings.swift.
To update the Sessions Proto, Protobuf is required. To install run:
brew install protobuf
sessions.proto for updating it./FirebaseSessions/ProtoSupport/generate_protos.shThe Sessions SDK uses the following strategy when determining log level:
-FIRSessionsDebugEvents will log under info because we don't want to require it be paired with -FIRDebugEnabled)