question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instagram Share Failing On iOS After Latest Instagram Update

See original GitHub issue

Steps to reproduce

  1. Update instagram to latest version
  2. Log in to Instagram, or ensure you are logged in
  3. Attempt to share an image with shareSingle such as (exact code follows):

Share.shareSingle({title:"Share On Instagram", url: "file://" + res.url, social: Share.Social.INSTAGRAM})

res.url in the above returns a path to an image saved to tmp.

Expected behaviour

Users share directly to instagram. This code was working perfectly well until this latest Instagram update (yesterday). I have verified on three separate iPhones that the code works before the Instagram update and fails immediately after.

Actual behaviour

Instagram opens, with message “Unable to open file. You must be logged in.” img_2552

As previously stated, I have verified on three separate iPhones that the code works before the Instagram update and fails immediately after.

No errors or issues are appearing in debug.

Environment

  • React Native 0.56.0
  • iOS 12

react-native-share

Version 1.1.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
shannalericommented, Oct 17, 2018

I think you’re right, @jgfidelis . I just checked and sharing directly from Spotify to stories (Spotify has a direct IG share feature) has a similar issue. It brings me to a login screen, and I never end up being able to share the song even after logging in (no “unable to share, must be logged in” message in this case though).

You can bet that if it’s breaking Spotify’s sharing that it’s a bug.

4reactions
shannalericommented, Oct 22, 2018

The latest instagram update (v 68.0) fixes this issue. The instagram sharing is working as expected again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Instagram Keeps Crashing After iOS 16.1 Update ...
If you don't know how to fix Instagram Crashing after the iOS 16 Update on iPhone & iPad, this video can help you....
Read more >
Instagram bug affecting some users causing iOS app to crash
An Instagram bug that causes the iOS app to crash on opening has been affecting a number of users on Wednesday. On the...
Read more >
Instagram On iPad Not Working, Cannot Post Stories? (Fix?)
Instagram on iPad not working properly? You cannot post stories since updating to iPadOS 16? App is displayed very small and crashing often?...
Read more >
Troubleshooting - Instagram Help Center
1. From the Home screen, tap and hold the Instagram app icon until it shakes. · 2. Tap on the app to delete...
Read more >
10 ways to fix Instagram if it's not working properly
1. Start the Settings app. · 2. Scroll down to the list of apps and tap Instagram. The Settings app on an iPhone....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found