9e4a4d2454
We need to migrate from deprecated react-native-fabric to react-native-firebase. This PR enables following Firebase features: * Analytics * Crashlytics * Performance It also tracks screen view without the necessity of HOC. Future work: I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc. |
||
---|---|---|
.. | ||
Crashlytics.framework | ||
iOS/Crashlytics.framework | ||
README.md | ||
submit |
README.md
Part of Google Fabric, Crashlytics offers the most powerful, yet lightest weight crash reporting solution for iOS. Crashlytics also provides real-time analytics through Answers and app distributions to testers using Beta.
Setup
-
Visit https://fabric.io/sign_up to create your Fabric account and to download Fabric.app.
-
Open Fabric.app, login and select the Crashlytics SDK.
-
The Fabric app automatically detects when a project uses CocoaPods and gives you the option to install via the Podfile or Xcode.
-
Select the Podfile option and follow the installation instructions to update your Podfile. Note: the Crashlytics Pod includes Answers. If you have Answers included as a separate Pod it should be removed from your Podfile to avoid duplicate symbol errors.
pod 'Fabric' pod 'Crashlytics'
-
Run
pod install
-
Add a Run Script Build Phase and build your app.
-
Initialize the SDK by inserting code outlined in the Fabric.app.
-
Run your app to finish the installation.
Resources
- Documentation
- Forums
- Website
- Follow us on Twitter: @fabric and @crashlytics