ohh2ahh / AppAvailability

This Cordova / PhoneGap plugin allows you to check if an app is installed.
229 stars 116 forks source link

Can't this plugin create the whitelist for us? #37

Closed pke closed 7 years ago

pke commented 8 years ago

Doesn't cordova plugins support a mechanism to have config.xml variables iterated and inserted into the plist like this?

<platform name="ios">
    <config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
      <array>
        <string>$SCHEME</string>
      </array>
    </config-file>
  </platform>

But I am not sure if plugins can do that?

ohh2ahh commented 7 years ago

This should work but the schemes would be hard-coded in the plugin's code. Since everyone need other schemes I find this approach suboptimal.