Rocket.Chat.ReactNative/ios/Pods/Crashlytics
Diego Mello 9e4a4d2454
[CHORE] Use react-native-firebase (#928)
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.
2019-05-28 10:03:08 -03:00
..
Crashlytics.framework [CHORE] Use react-native-firebase (#928) 2019-05-28 10:03:08 -03:00
iOS/Crashlytics.framework [CHORE] Use react-native-firebase (#928) 2019-05-28 10:03:08 -03:00
README.md [CHORE] Use react-native-firebase (#928) 2019-05-28 10:03:08 -03:00
submit [CHORE] Use react-native-firebase (#928) 2019-05-28 10:03:08 -03:00

README.md

Crashlytics Header

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

  1. Visit https://fabric.io/sign_up to create your Fabric account and to download Fabric.app.

  2. Open Fabric.app, login and select the Crashlytics SDK.

    Fabric Plugin

  3. The Fabric app automatically detects when a project uses CocoaPods and gives you the option to install via the Podfile or Xcode.

    Fabric Installation Options

  4. 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'
    
  5. Run pod install

  6. Add a Run Script Build Phase and build your app.

    Fabric Run Script Build Phase

  7. Initialize the SDK by inserting code outlined in the Fabric.app.

  8. Run your app to finish the installation.

Resources