[ios] iOS 9 not opening Instagram app with URL SCHEME

In Swift 4.2 and Xcode 10.1

In info.plist need to add CFBundleURLSchemes and LSApplicationQueriesSchemes.

--> Select info.plist in your project,

--> right click,

--> Select Open As Source Code

See the below screen shot

enter image description here

--> xml file will be opened

--> copy - paste below code and replace with your ID's

CFBundleURLSchemes and LSApplicationQueriesSchemes for gmail, fb, twitter and linked in.

<key>CFBundleURLTypes</key>
    <array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>li5****5</string>
            <string>com.googleusercontent.apps.8***************5f</string>
            <string>fb8***********3</string>
            <string>twitterkit-s***************w</string>
        </array>
    </dict>
</array>
<key>FacebookAppID</key>
<string>8*********3</string>
<key>FacebookDisplayName</key>
<string>K************ app</string>
<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fbapi</string>
    <string>fb-messenger-share-api</string>
    <string>fbauth2</string>
    <string>fbshareextension</string>

    <string>twitter</string>
    <string>twitterauth</string>

    <string>linkedin</string>
    <string>linkedin-sdk2</string>
    <string>linkedin-sdk</string>

</array>

See below screen your final info.plist file is

enter image description here