I have a standard Xamarin Forms application for Android and iOS. I have a file that we generate that is xml inside with a file extension of .PV4
I would like to have my app open when the user taps on it or opens it in any way on Android and iOS.
I have Android working. I am trying to get iOS to work.
I created the following int he info.plist:
<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>PV4</string>
        <key>CFBundleTypeExtensions</key>
        <array>
            <string>pv4</string>
        </array>
        <key>LSHandlerRank</key>
        <string>Owner</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.content</string>
        </array>
    </dict>
</array>
At first I tried it without the com.content type. I am not sure what I am missing. I have the file saved on an iPhone 13 and am trying to use the Files app to open it.
When I tap on it it just bring up a view inside the files app giving the name and how many bytes are inside the file.
I have done many searches to try to find the answer and am not finding anything that has helped. I formulated the above from things I found here and there.
Can someone tell me what I need to do in order to have my app open on iOS when the user tries to open a file the the extension .PV4?
