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


source to share





All Articles