Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React native 60 issue with share extensions, 'openURL:options:completionHandler:' is unavailable: not available on iOS (App Extension) #168

Open
mahmoudfelfel opened this issue Jul 26, 2019 · 5 comments

Comments

@mahmoudfelfel
Copy link

Hi,
I'm getting this error whenever I try to build the app, it was working fine on 0.57.3, but after upgrading to the latest version (0.60.4), I started getting this error.

I've opened an issue here facebook/react-native#25792 on the react-native repo but with no response.

does anyone have a workaround to make this work with share extensions?

Thanks

@alexkuttig
Copy link

Same problem here. Did you find a solution? I was trying to exclude RCTLinking from my extension but that didn't work.

@djorkaeffalexandre
Copy link

@ccorcos
Copy link

ccorcos commented Aug 15, 2019

Add this to the bottom of your Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
    end
  end
end

@ajith-ab
Copy link

use react-native-file-share-intent

@frenberg
Copy link

use react-native-file-share-intent

perhaps add a disclaimer about that it is your project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants