| 
				
			 | 
			
			
				@@ -39,45 +39,45 @@ Returns a Promise of the image URI. 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				39
			 | 
			
			
				  - **`quality`** *(number)*: the quality. 0.0 - 1.0 (default). (only available on lossy formats like jpeg) 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				40
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				41
			 | 
			
				41
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				42
			 | 
			
				
			 | 
			
			
				- ## Getting started 
			 | 
		
	
		
			
			| 
				
			 | 
			
				42
			 | 
			
			
				+## Getting started 
			 | 
		
	
		
			
			| 
				43
			 | 
			
				43
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				44
			 | 
			
				
			 | 
			
			
				- ``` 
			 | 
		
	
		
			
			| 
				45
			 | 
			
				
			 | 
			
			
				- npm install --save react-native-view-shot 
			 | 
		
	
		
			
			| 
				46
			 | 
			
				
			 | 
			
			
				- ``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				44
			 | 
			
			
				+``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				45
			 | 
			
			
				+npm install --save react-native-view-shot 
			 | 
		
	
		
			
			| 
				
			 | 
			
				46
			 | 
			
			
				+``` 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				47
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				48
			 | 
			
				
			 | 
			
			
				- ### Mostly automatic installation 
			 | 
		
	
		
			
			| 
				
			 | 
			
				48
			 | 
			
			
				+### Mostly automatic installation 
			 | 
		
	
		
			
			| 
				49
			 | 
			
				49
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				50
			 | 
			
				
			 | 
			
			
				- ``` 
			 | 
		
	
		
			
			| 
				51
			 | 
			
				
			 | 
			
			
				- react-native link react-native-view-shot 
			 | 
		
	
		
			
			| 
				52
			 | 
			
				
			 | 
			
			
				- ``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				50
			 | 
			
			
				+``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				51
			 | 
			
			
				+react-native link react-native-view-shot 
			 | 
		
	
		
			
			| 
				
			 | 
			
				52
			 | 
			
			
				+``` 
			 | 
		
	
		
			
			| 
				53
			 | 
			
				53
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				54
			 | 
			
				
			 | 
			
			
				- ### Manual installation 
			 | 
		
	
		
			
			| 
				
			 | 
			
				54
			 | 
			
			
				+### Manual installation 
			 | 
		
	
		
			
			| 
				55
			 | 
			
				55
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				56
			 | 
			
				
			 | 
			
			
				- #### iOS 
			 | 
		
	
		
			
			| 
				
			 | 
			
				56
			 | 
			
			
				+#### iOS 
			 | 
		
	
		
			
			| 
				57
			 | 
			
				57
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				58
			 | 
			
				
			 | 
			
			
				- 1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 
			 | 
		
	
		
			
			| 
				59
			 | 
			
				
			 | 
			
			
				- 2. Go to `node_modules` ➜ `react-native-view-shot` and add `RNViewShot.xcodeproj` 
			 | 
		
	
		
			
			| 
				60
			 | 
			
				
			 | 
			
			
				- 3. In XCode, in the project navigator, select your project. Add `libRNViewShot.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 
			 | 
		
	
		
			
			| 
				61
			 | 
			
				
			 | 
			
			
				- 4. Run your project (`Cmd+R`)< 
			 | 
		
	
		
			
			| 
				
			 | 
			
				58
			 | 
			
			
				+1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				59
			 | 
			
			
				+2. Go to `node_modules` ➜ `react-native-view-shot` and add `RNViewShot.xcodeproj` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				60
			 | 
			
			
				+3. In XCode, in the project navigator, select your project. Add `libRNViewShot.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				61
			 | 
			
			
				+4. Run your project (`Cmd+R`)< 
			 | 
		
	
		
			
			| 
				62
			 | 
			
				62
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				63
			 | 
			
				
			 | 
			
			
				- #### Android 
			 | 
		
	
		
			
			| 
				
			 | 
			
				63
			 | 
			
			
				+#### Android 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				64
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				65
			 | 
			
				
			 | 
			
			
				- 1. Open up `android/app/src/main/java/[...]/MainActivity.java` 
			 | 
		
	
		
			
			| 
				66
			 | 
			
				
			 | 
			
			
				-   - Add `import com.reactlibrary.RNViewShotPackage;` to the imports at the top of the file 
			 | 
		
	
		
			
			| 
				67
			 | 
			
				
			 | 
			
			
				-   - Add `new RNViewShotPackage()` to the list returned by the `getPackages()` method 
			 | 
		
	
		
			
			| 
				68
			 | 
			
				
			 | 
			
			
				- 2. Append the following lines to `android/settings.gradle`: 
			 | 
		
	
		
			
			| 
				69
			 | 
			
				
			 | 
			
			
				-   	``` 
			 | 
		
	
		
			
			| 
				70
			 | 
			
				
			 | 
			
			
				-   	include ':react-native-view-shot' 
			 | 
		
	
		
			
			| 
				71
			 | 
			
				
			 | 
			
			
				-   	project(':react-native-view-shot').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-view-shot/android') 
			 | 
		
	
		
			
			| 
				72
			 | 
			
				
			 | 
			
			
				-   	``` 
			 | 
		
	
		
			
			| 
				73
			 | 
			
				
			 | 
			
			
				- 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: 
			 | 
		
	
		
			
			| 
				74
			 | 
			
				
			 | 
			
			
				-   	``` 
			 | 
		
	
		
			
			| 
				75
			 | 
			
				
			 | 
			
			
				-       compile project(':react-native-view-shot') 
			 | 
		
	
		
			
			| 
				76
			 | 
			
				
			 | 
			
			
				-   	``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				65
			 | 
			
			
				+1. Open up `android/app/src/main/java/[...]/MainActivity.java` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				66
			 | 
			
			
				+ - Add `import com.reactlibrary.RNViewShotPackage;` to the imports at the top of the file 
			 | 
		
	
		
			
			| 
				
			 | 
			
				67
			 | 
			
			
				+ - Add `new RNViewShotPackage()` to the list returned by the `getPackages()` method 
			 | 
		
	
		
			
			| 
				
			 | 
			
				68
			 | 
			
			
				+2. Append the following lines to `android/settings.gradle`: 
			 | 
		
	
		
			
			| 
				
			 | 
			
				69
			 | 
			
			
				+ 	``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				70
			 | 
			
			
				+ 	include ':react-native-view-shot' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				71
			 | 
			
			
				+ 	project(':react-native-view-shot').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-view-shot/android') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				72
			 | 
			
			
				+ 	``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				73
			 | 
			
			
				+3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: 
			 | 
		
	
		
			
			| 
				
			 | 
			
				74
			 | 
			
			
				+ 	``` 
			 | 
		
	
		
			
			| 
				
			 | 
			
				75
			 | 
			
			
				+     compile project(':react-native-view-shot') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+ 	``` 
			 | 
		
	
		
			
			| 
				77
			 | 
			
				77
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				78
			 | 
			
				
			 | 
			
			
				- #### Windows 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+#### Windows 
			 | 
		
	
		
			
			| 
				79
			 | 
			
				79
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				80
			 | 
			
				
			 | 
			
			
				- No support yet. Feel free to PR. 
			 | 
		
	
		
			
			| 
				
			 | 
			
				80
			 | 
			
			
				+No support yet. Feel free to PR. 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				81
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				82
			 | 
			
				82
			 | 
			
			
				 ## Notes 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				83
			 | 
			
			
				  
			 |