Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13782

spec attribute for framework element doens't take into account preferences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • cordova@7.1.0
    • None
    • cordova-lib
    • None

    Description

      Please,

      consider the following snippet from plugin.xml

      <platform name="ios"> <preference name="IOS_VERSION" default="> 0" /> <framework src="Google-Mobile-Ads-SDK" type="podspec" spec="$IOS_VERSION" /> </platform>
      

      If I install such a plugin I get the following podfile

      # DO NOT MODIFY -- auto-generated by Apache Cordova platform :ios, '8.0' target 'App' do project 'App.xcodeproj' pod 'Google-Mobile-Ads-SDK', '$IOS_VERSION' end
      

      I think that, unlikely the src attribute of the framework element, it is not possible to use a preference value for the spec attribute.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adriano.digiovanni Adriano Di Giovanni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: