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

When adding custom list of actions, default Share App disappears. #18

Closed
waparty opened this issue Oct 4, 2016 · 7 comments
Closed

Comments

@waparty
Copy link

waparty commented Oct 4, 2016

When adding custom list (i.e. static list via .plist file) of actions, default 'Share App' button disappears.

@EddyVerbruggen
Copy link
Owner

What do the Apple docs say about this behaviour?

@waparty
Copy link
Author

waparty commented Oct 4, 2016

As I checked, there is no any examples for that share button, but I see some apps has it with together with other items.
In my case, if there is no any custom items on force touch, then Share App appears as a default, but when I add my items to .plist, then Share App is not available. Any ideas?

@waparty
Copy link
Author

waparty commented Oct 4, 2016

<dict> <key>UIApplicationShortcutItemIconType</key> <string>UIApplicationShortcutIconTypeShare</string> <key>UIApplicationShortcutItemTitle</key> <string>Share the app</string> <key>UIApplicationShortcutItemType</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER).Share</string> </dict>

I tried this, but it just opens app, not sharing...

@EddyVerbruggen
Copy link
Owner

That's all very clear, but the question remains: what's Apple's spec regarding this? It's not that this plugin tries to actively add or remove that default button.

@waparty
Copy link
Author

waparty commented Oct 4, 2016

@EddyVerbruggen
Copy link
Owner

Ah, so that makes sense - it's not the for local builds but will be added when downloaded from the AppStore (since iOS 10), right?

@waparty
Copy link
Author

waparty commented Oct 4, 2016

Seems like yes... :) Interesting why there are only a few people that facing this issue...

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

2 participants