Skip to content

Commit

Permalink
[CHORE] No need to change URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo San Jose committed Nov 29, 2017
1 parent 9d6d239 commit 55c685f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVInstagramPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ - (void)shareAsset:(CDVInvokedUrlCommand*)command {
NSLog(@"open asset in instagram");

NSString *localIdentifierEscaped = [localIdentifier stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
NSURL *instagramShareURL = [NSURL URLWithString:[NSString stringWithFormat:@"instagram://library?OpenInEditor=0&LocalIdentifier=%@", localIdentifierEscaped]];
NSURL *instagramShareURL = [NSURL URLWithString:[NSString stringWithFormat:@"instagram://library?&LocalIdentifier=%@", localIdentifierEscaped]];

[[UIApplication sharedApplication] openURL:instagramShareURL];

Expand Down

0 comments on commit 55c685f

Please sign in to comment.