Gaëtan Renaudeau 7 years ago
parent
commit
bad64c7a2c

+ 2
- 0
android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java View File

3
 import javax.annotation.Nullable;
3
 import javax.annotation.Nullable;
4
 
4
 
5
 import android.app.Activity;
5
 import android.app.Activity;
6
+import android.content.Intent;
6
 import android.graphics.Bitmap;
7
 import android.graphics.Bitmap;
7
 import android.graphics.Canvas;
8
 import android.graphics.Canvas;
8
 import android.net.Uri;
9
 import android.net.Uri;
11
 import android.widget.ScrollView;
12
 import android.widget.ScrollView;
12
 
13
 
13
 import com.facebook.react.bridge.Promise;
14
 import com.facebook.react.bridge.Promise;
15
+import com.facebook.react.bridge.ReactApplicationContext;
14
 import com.facebook.react.uimanager.NativeViewHierarchyManager;
16
 import com.facebook.react.uimanager.NativeViewHierarchyManager;
15
 import com.facebook.react.uimanager.UIBlock;
17
 import com.facebook.react.uimanager.UIBlock;
16
 
18