Created
October 10, 2018 15:13
-
-
Save michaeltys/a8613e5aea9db8e4684bf85568e40160 to your computer and use it in GitHub Desktop.
Sharing an image to instagram stories or create a post
Hey @gokmenbayram ...i meant that I understood your shareInstagram(Uri uri method ) but I want to know what you actually passed as uri while calling this method???? Please do let me know..
with provider.
public Uri getImageUri() {
File directory = new File(Files.statisticsSSPath());
File file = new File(directory, 0 + ".png");
return FileProvider.getUriForFile(Application.context(), Application.context().getPackageName() +".provider",file);
}
Is there a way to get a callback that post/story shared successfully?
Is there any way around for react native/expo ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i didnt understand this comment.