react-native-ios-share-extension icon indicating copy to clipboard operation
react-native-ios-share-extension copied to clipboard

Problematically to run

Open pkantsedalov opened this issue 7 years ago • 3 comments

Hi @andrewsardone Thank you a lot for the PoC.

BTW I stuck with several problems trying to run it locally. I thinks it because the README info is out of date.

My platform: OSX: MacOS High Sierra 10.13.3 (17D47) XCode: 9.2

My steps:

  1. git clone the repo
  2. yarn in the root dir
  3. open ios/ShareExtensionExample.xcodeproj
  4. Run the app:
    1. Error occurs: react-native-ios-share-extension/node_modules/react-native/Libraries/WebSocket/RCTSRWebSocket.m:459:3: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] SecRandomCopyBytes(kSecRandomDefault, keyBytes.length, keyBytes.mutableBytes);
    2. Fixed by this comment
  5. Then when the app is running I'm already able to switch the extension on while sharing from safari. It appears in "Activities" and can be switched on/off.

I hope this info will help other people to deploy the package locally.

pkantsedalov avatar Feb 07 '18 11:02 pkantsedalov

Hi there, @pkantsedalov! Apologies for my delayed reply; this email got lost in my queue.

I'm not maintaining this project since it was posted as a simple proof-of-concept. I'm not familiar with the error so I'm unable to help at this time. When I have a chance, I'll reclone the project, see if I can recreate the problem, and attempt to solve. Unfortunately, I can't give an estimated time as to when I'll be able to look at it.

Cheers!

andrewsardone avatar Feb 26 '18 22:02 andrewsardone

@andrewsardone Thank you for your reply! The issue was opened just FYI and for other developers to inform them.

Cheers!

pkantsedalov avatar Feb 26 '18 22:02 pkantsedalov

The issue was opened just FYI and for other developers to inform them.

Well thank you for opening it! 💖

andrewsardone avatar Feb 26 '18 22:02 andrewsardone