Search code examples
cordovameteormeteor-cordova

Adding info.plist entries in Meteor?


How should an entry in the info.plist file be added in Meteor?

Is there a mobile-config setting or similar?

The Uber documentation has an example of why you would want to add an entry: https://developer.uber.com/docs/deep-linking


Solution

  • I've not used Meteor, but you might be able to use the cordova-custom-config plugin to define custom config in project/cordova-build-override/config.xml (see Meteor Advanced Build Customization) and have it applied to the platform config at build time:

    meteor add cordova:cordova-custom-config
    

    config.xml:

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