Skip to content

Commit

Permalink
Updating Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel8874 committed Jul 5, 2016
1 parent cf44a7d commit 79ac803
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,22 +160,21 @@ Make sure you also follow the steps described in [`Android`](#android).
* RN 0.29+ - Edit your `MainApplication.java` (deep in `android/app/src/main/java/...`) to look like this (note **two** places to edit):

```diff
+ import android.os.Bundle;
+ import com.crashlytics.android.Crashlytics;
+ import io.fabric.sdk.android.Fabric;
+ import com.crashlytics.android.Crashlytics;
+ import io.fabric.sdk.android.Fabric;

public class MainApplication extends Application implements ReactApplication {
public class MainApplication extends Application implements ReactApplication {

+ @Override
+ protected void onCreate() {
+ super.onCreate();
+ Fabric.with(this, new Crashlytics());
+ }
+ @Override
+ protected void onCreate() {
+ super.onCreate();
+ Fabric.with(this, new Crashlytics());
+ }

[...]
[...]

}
```
}
```

* Edit your `AndroidManifest.xml` (in `android/app/src/main/`) to look like this. Make sure to enter your fabric API key after `android:value=`, you can find your key on your fabric organisation page.

Expand Down

0 comments on commit 79ac803

Please sign in to comment.