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

Extansion not showing on share screen #316

Open
LukasB-DEV opened this issue Apr 24, 2024 · 4 comments
Open

Extansion not showing on share screen #316

LukasB-DEV opened this issue Apr 24, 2024 · 4 comments

Comments

@LukasB-DEV
Copy link

I followed this guide:
https://github.com/Expensify/react-native-share-menu/blob/master/IOS_INSTRUCTIONS.md

But my App is not shown on the share screen on IOS.
My Target settings for the extansion:
image

My info.plist for the extansion:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>HostAppBundleIdentifier</key>
	<string>org.shema</string>
	<key>HostAppURLScheme</key>
	<string>shema:// </string>
	<key>NSExtension</key>
	<dict>
	    <key>NSExtensionAttributes</key>
	    <dict>
	        <key>NSExtensionActivationRule</key>
	        <string>TRUEPREDICATE</string>
	    </dict>
	    <key>NSExtensionMainStoryboard</key>
	    <string>MainInterface</string>
	    <key>NSExtensionPointIdentifier</key>
	    <string>com.apple.share-services</string>
	</dict>
</dict>
</plist>
@AlejoBidari
Copy link

I'm having the same issue. It's weird because it used to work just fine but it suddenly stopped showing my app icon on the share menu. Here are some details on my case to maybe get a conclusion as to what could be happening:

  • The downloaded version from the app store works just fine
  • When rolling back to the commit from to match the production version it still doesn't work
  • I tried changing iOS deployment target to see if maybe it has to do with latest versions of the operating system an executing pod install
  • I tried reinstalling the extension following the same guide
  • Neither the debug or release version show the app icon in the share menu
  • In android it works just fine
  • Tried reinstalling the library and upgrading it
  • Using react native 0.66.4

I hope this gets resolved because I can't release an update removing this feature 🙏

@mhpc0909
Copy link

same issue. spent a whole day to solve it but I can't. Anyone?

@Bournegit
Copy link

upgraded to react-native 0.74.4 . Not showing for me also. Any thing i am missing?

@AlejoBidari
Copy link

AlejoBidari commented Nov 22, 2024

@Bournegit read #172 (comment)
This is all I managed to get. Hope it helps.
I just recently upgraded to react native 0.76.1 and instead of fixing it again or relying in production testing I just straight up removed the library completely, removing the feature.

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

4 participants