How can run Share Extension in safari and chrome?
<p>After running app, if i open the share extension in safari it's not working. But if i run on chrome,then open in safar it is working. Can you give me  solution for running share extension in  both browsers. In .plist i'm using this code.</p>

<pre><code>&lt;key&gt;NSExtension&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;NSExtensionAttributes&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;NSExtensionActivationRule&lt;/key&gt;
            &lt;dict&gt;
                &lt;key&gt;NSExtensionActivationSupportsText&lt;/key&gt;
                &lt;true/&gt;
                &lt;key&gt;NSExtensionActivationSupportsWebPageWithMaxCount&lt;/key&gt;
                &lt;integer&gt;1&lt;/integer&gt;
                &lt;key&gt;NSExtensionActivationSupportsWebURLWithMaxCount&lt;/key&gt;
                &lt;integer&gt;1&lt;/integer&gt;
            &lt;/dict&gt;
            &lt;key&gt;NSExtensionJavaScriptPreprocessingFile&lt;/key&gt;
            &lt;string&gt;DemoPreprocessor&lt;/string&gt;
        &lt;/dict&gt;
        &lt;key&gt;NSExtensionMainStoryboard&lt;/key&gt;
        &lt;string&gt;MainInterface&lt;/string&gt;
        &lt;key&gt;NSExtensionPointIdentifier&lt;/key&gt;
        &lt;string&gt;com.apple.share-services&lt;/string&gt;
    &lt;/dict&gt;
</code></pre>