Skip to content

Commit

Permalink
[Test] #13 - 인스타 앱으로 사진 직접 업로드 부분 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
sayyyho committed Sep 23, 2024
1 parent 815325e commit 60c6d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/shareInsta.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const captureAndShare = (element, buttons) => {
// 1초 대기 후 인스타그램으로 이동
setTimeout(() => {
if (isIOS || isAndroid) {
const storyUri = `instagram-stories://share?background_image=${imageUri}`;
const storyUri = `instagram-stories://share?source_application=your.app.package?background_image=${imageUri}`;
window.location.href = storyUri;
} else {
// 인스타그램 웹으로 리디렉션
Expand Down

0 comments on commit 60c6d41

Please sign in to comment.