alinz/react-native-share-extension

Share extension doesn't shows up in whatsapp ios

Closed this issue · 1 comments

Thanks for the great lib. I am able to see the extension in the safari browser in real device. However i can't see the extension in the apps like photos, whatsapp.
I have added build phrase

export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh

Please help.

By adding the property in info plist fixed the issue hence closing this issue.

<dict>
		<key>NSExtensionAttributes</key>
		<dict>
			<key>NSExtensionActivationRule</key>
			<dict>
				<key>NSExtensionActivationSupportsImageWithMaxCount</key>
				<integer>1</integer>
				<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
				<integer>1</integer>
			</dict>
		</dict>
		<key>NSExtensionMainStoryboard</key>
		<string>MainInterface</string>
		<key>NSExtensionPointIdentifier</key>
		<string>com.apple.share-services</string>
	</dict>