|
|
|
|
73
|
#### Android
|
73
|
#### Android
|
74
|
|
74
|
|
75
|
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
|
75
|
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
|
76
|
- - Add `import com.reactlibrary.RNViewShotPackage;` to the imports at the top of the file
|
|
|
|
|
76
|
+ - Add `import fr.greweb.reactnativeviewshot.RNViewShotPackage;` to the imports at the top of the file
|
77
|
- Add `new RNViewShotPackage()` to the list returned by the `getPackages()` method
|
77
|
- Add `new RNViewShotPackage()` to the list returned by the `getPackages()` method
|
78
|
2. Append the following lines to `android/settings.gradle`:
|
78
|
2. Append the following lines to `android/settings.gradle`:
|
79
|
```
|
79
|
```
|