Skip to content

Commit

Permalink
Revert "Drop dependency on cordova-plugin-cocoapodsx to install pod d…
Browse files Browse the repository at this point in the history
…ependencies. Instead set min supported versions to cordova@9 and cordova-ios@5 and update plugin.xml to use podspec formatting as required by cordova-ios@5. Remove iOS plugin variables as these are not (currently) supported by cordova-ios@5 Resolves dpa99c#22."

This reverts commit ec66a5b.
  • Loading branch information
tom-hartz committed Nov 22, 2019
1 parent 56d7a7e commit 9a75996
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<license>MIT</license>

<dependency id="cordova-plugin-cocoapod-supportx" version="^1.7.3" />
<dependency id="cordova-plugin-androidx" version="^1.0.2" />
<dependency id="cordova-plugin-androidx-adapter" version="^1.1.0" />

Expand Down Expand Up @@ -112,20 +113,26 @@
<header-file src="src/ios/FirebasePlugin.h" />
<source-file src="src/ios/FirebasePlugin.m" />

<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="Firebase/Core" spec="6.11.0"/>
<pod name="Firebase/Auth" spec="6.11.0"/>
<pod name="Firebase/Messaging" spec="6.11.0"/>
<pod name="Firebase/Performance" spec="6.11.0"/>
<pod name="Firebase/RemoteConfig" spec="6.11.0"/>
<pod name="Fabric" spec="1.10.2"/>
<pod name="Crashlytics" spec="3.14.0"/>
</pods>
</podspec>

<preference name="IOS_MIN_VERSION" default="9.0" />
<preference name="IOS_STRIP_DEBUG" default="false" />
<pods-config ios-min-version="$IOS_MIN_VERSION" use-frameworks="true" strip-debug="$IOS_STRIP_DEBUG"/>

<preference name="IOS_FIREBASE_CORE_VERSION" default="6.3.0" />
<preference name="IOS_FIREBASE_AUTH_VERSION" default="6.3.0" />
<preference name="IOS_FIREBASE_MESSAGING_VERSION" default="6.3.0" />
<preference name="IOS_FIREBASE_PERFORMANCE_VERSION" default="6.3.0" />
<preference name="IOS_FIREBASE_REMOTECONFIG_VERSION" default="6.3.0" />
<preference name="IOS_FABRIC_VERSION" default="1.9.0" />
<preference name="IOS_CRASHLYTICS_VERSION" default="3.12.0" />

<pod name="Firebase/Core" spec="$IOS_FIREBASE_CORE_VERSION" />
<pod name="Firebase/Auth" spec="$IOS_FIREBASE_AUTH_VERSION" />
<pod name="Firebase/Messaging" spec="$IOS_FIREBASE_MESSAGING_VERSION" />
<pod name="Firebase/Performance" spec="$IOS_FIREBASE_PERFORMANCE_VERSION" />
<pod name="Firebase/RemoteConfig" spec="$IOS_FIREBASE_REMOTECONFIG_VERSION" />
<pod name="Fabric" spec="$IOS_FABRIC_VERSION" />
<pod name="Crashlytics" spec="$IOS_CRASHLYTICS_VERSION" />

</platform>

Expand Down

0 comments on commit 9a75996

Please sign in to comment.