IOS App Extensions: Share or Action?

I wonder if the new iOS app extension feature supports my case? If so, do I use Share

or Action

?

My case is similar Share

, but not actually a split, just a request for my service. Here's a use case:

  • From an item in the main application, the user enters a button for my extension which the application developer has placed there

  • The host application opens my extension, passing in a couple of bits of relevant data from the element the user was on.

  • Check if the user is allowed to use my API (has an API authentication token)

  • If allowed, enter a very simple form (possibly two picklists) with Submit and Cancel buttons. No content or text editing.

  • After submitting, posting to my API and receiving a response that the request was accepted, or errors with validation data. In case of errors, ask the user to try again or cancel. After success, go back to the main application

  • If you are not logged in, ask if they are already my service

  • If you are already a member, submit a login form and authorize through the API while keeping the returned authentication token, skip to step # 4

  • If you are not a member, enter the registration form with an email request and some minimal settings, keeping the authentication token, then proceed to step # 4

+3
ios8 ios-app-extension


source to share


No one has answered this question yet

See similar questions:

4
IOS App Extension - Action - User Data

or similar:

74
Using Cocoapods with an app extension
60
Sharing data between iOS 8 sharing extension and main app
48
Today App Extension Widget Click to open Contains App
40
openURL doesn't work in Action Extension
28
IOS Share Extension vs Action App Extension
ten
Link to / Open Contains app from Share extension
8
Ios8 extension and container data exchange app
1
iOS 8: options for providing Action Extensions to users?
0
Sharing extensions in iOS apps
0
IOS Sharing Propagation NSUserDefaults Issue with Stored Authentication Token



All Articles
Loading...
X
Show
Funny
Dev
Pics