Instagram-ANE icon indicating copy to clipboard operation
Instagram-ANE copied to clipboard

instagram.isInstalled() always returns false on iOS & AIR 20

Open inaffect-ag opened this issue 10 years ago • 10 comments

when i try to check if instagram is installed on iOS 9, i always get a return "false" - even if instagram is installed. does anybody have this issue as well?

inaffect-ag avatar Jan 15 '16 09:01 inaffect-ag

No, it's working fine on my iOS 9.2 with latest Instagram app.

alamboley avatar Jan 15 '16 09:01 alamboley

thanks! but i just reinstalled instagram, added the fresh ane but still i get "false" when checking... can you think of some restrictions??

inaffect-ag avatar Jan 15 '16 09:01 inaffect-ag

Unfortunately, I'm not aware of any restrictions... Are you using AIR 20 ?

alamboley avatar Jan 15 '16 09:01 alamboley

yes, air 20 as i understand, there's nothing in the app description xml, right?

inaffect-ag avatar Jan 15 '16 09:01 inaffect-ag

Yes nothing to add, just the ANE. I didn't test with AIR 20, due to all its issues I stayed on AIR 19. Would you mind to test on that previous version?

alamboley avatar Jan 15 '16 09:01 alamboley

that did the trick: air sdk 19 works. - thanks for taking your time!

inaffect-ag avatar Jan 15 '16 10:01 inaffect-ag

Ok I suppose that I will need to recompile the ANE with AIR 20, but I'll wait the SDK to be more stable... Probably AIR 21.

alamboley avatar Jan 15 '16 10:01 alamboley

Adding this code behind in the *-app.xml seems to do the trick (thanks Paul)!

<iPhone>
    <InfoAdditions><![CDATA[
        <key>LSApplicationQueriesSchemes</key>
        <array>
            <string>instagram</string>
        </array>
    ]]></InfoAdditions>
</iPhone>

alamboley avatar Feb 02 '16 09:02 alamboley

You're welcome : >

Paul-Ollivier avatar Feb 02 '16 11:02 Paul-Ollivier

added in the readme!

alamboley avatar Apr 08 '16 17:04 alamboley