APP extension restriction on Cordova – iOS8

Recently, I have been researching iOS 8 sharing extensions to understand how the system works and find out the limitations of these features.
I am aware of the current documentation https://developer. apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html is just a preliminary document.
I have some questions about general limitations/possibility of iOS8 app extension:

>Are some size restrictions specified by Apple for shared data?
>Can I be 100% sure that only my application can launch the specified application extension?
> Will phonegap support app expansion?

For your second question, we cannot be 100% sure that only your application can Start on designated application extensions controlled by the user
but we can control which documents you want to display your application extensions in, please follow Declaring Supported Data Types for a Share or Action Extension

Set a custom document type for the write predicate under the key NSExtensionActivationRule.
For example: For pdf, image and excel documents, I use a predicate with a maximum document volume of 1.

NSExtension

NSExtensionAttributes

NSExtensionActivationRule
SUBQUERY (
extensionItems,
$extensionItem,
SUBQUERY (
$extensionItem.attachments,
$attachment,

(
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"
| | ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "p ublic.plain-text"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.excel.xls"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.openxmlformats.spreadsheetml.sheet"
)
).@count == $extensionItem.attachments.@count
).@ count == 1

Recently, I have been researching iOS 8 sharing extensions to understand how the system works and find out the limitations of these functions.
I realize that the current document https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html is just a preliminary document.
I have some general restrictions on iOS8 app extensions/ Possibility question:

>Are some size restrictions specified by Apple for shared data?
>Can I be 100% sure that only my application can launch the specified application extension?
> Will phonegap support app expansion?

For your second question, we cannot be 100% sure that only your application can be launched on the specified application extension that is completely controlled by the user.
But we can control which documents you want to display your application extension in, please follow Declaring Supported Data Types for a Share or Action Extension

Under the key NSExtensionActivationRule, it is the write predicate Set a custom document type
For example: For pdf, image and excel documents, I use a predicate with a maximum document size of 1.

NSExtension 

NSExtensionAttributes

NSExtensionActivationRule
SUBQUERY (
extensionItems,
$extensionItem,
SUBQUERY (
$extensionItem.attachments,
$attachment,

(
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO " public.plain-text"
|| ANY $attac hment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.excel.xls"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org .openxmlformats.spreadsheetml.sheet"
)
).@count == $extensionItem.attachments.@count
).@count == 1

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3726 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.