File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ registerNativeHandlers({
7373 title : 'Photos Access' ,
7474 } ,
7575 ) ;
76- if ( granted !== PermissionsAndroid . PERMISSIONS . GRANTED ) {
76+ if ( granted !== PermissionsAndroid . RESULTS . GRANTED ) {
7777 throw new Error ( 'getPhotos Error' ) ;
7878 }
7979 }
@@ -175,22 +175,22 @@ registerNativeHandlers({
175175 activityItemSources :
176176 Platform . OS === 'ios'
177177 ? [
178- {
179- item : {
180- default : {
178+ {
179+ item : {
180+ default : {
181+ content : url ,
182+ type : 'url' ,
183+ } ,
184+ } ,
185+ linkMetadata : {
186+ icon : url ,
187+ } ,
188+ placeholderItem : {
181189 content : url ,
182190 type : 'url' ,
183191 } ,
184192 } ,
185- linkMetadata : {
186- icon : url ,
187- } ,
188- placeholderItem : {
189- content : url ,
190- type : 'url' ,
191- } ,
192- } ,
193- ]
193+ ]
194194 : undefined ,
195195 excludedActivityTypes : [ ] ,
196196 failOnCancel : false ,
You can’t perform that action at this time.
0 commit comments