Skip to content

Commit

Permalink
Merge pull request #811 from gillycheesesteak/use-product-pods
Browse files Browse the repository at this point in the history
Use product CocoaPods for firebase packages
  • Loading branch information
dpa99c authored May 26, 2023
2 parents c7b177b + 172d78e commit c8f137a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,16 @@
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="Firebase/Core" spec="10.10.0"/>
<pod name="Firebase/Auth" spec="10.10.0"/>
<pod name="Firebase/Messaging" spec="10.10.0"/>
<pod name="Firebase/Performance" spec="10.10.0"/>
<pod name="Firebase/RemoteConfig" spec="10.10.0"/>
<pod name="Firebase/InAppMessaging" spec="10.10.0"/>
<pod name="Firebase/Firestore" spec="10.10.0"/>
<pod name="Firebase/Crashlytics" spec="10.10.0"/>
<pod name="Firebase/Functions" spec="10.10.0"/>
<pod name="Firebase/Installations" spec="10.10.0"/>
<pod name="FirebaseCore" spec="10.10.0"/>
<pod name="FirebaseAuth" spec="10.10.0"/>
<pod name="FirebaseMessaging" spec="10.10.0"/>
<pod name="FirebasePerformance" spec="10.10.0"/>
<pod name="FirebaseRemoteConfig" spec="10.10.0"/>
<pod name="FirebaseInAppMessaging" spec="10.10.0-beta"/>
<pod name="FirebaseFirestore" spec="10.10.0"/>
<pod name="FirebaseCrashlytics" spec="10.10.0"/>
<pod name="FirebaseFunctions" spec="10.10.0"/>
<pod name="FirebaseInstallations" spec="10.10.0"/>
<pod name="GoogleSignIn" spec="6.2.4"/>
<pod name="GoogleTagManager" spec="7.4.3"/>
</pods>
Expand Down
2 changes: 1 addition & 1 deletion scripts/ios/before_plugin_install.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function(context) {
if(platforms.includes('ios') && pluginVariables.IOS_USE_PRECOMPILED_FIRESTORE_POD==='true'){
const pluginJSON=parsePluginXml();
const iosPlatform = pluginJSON.plugin.platform.find((platform) => platform._attributes.name === 'ios');
const firestorePod = iosPlatform.podspec.pods.pod.find((pod) => pod._attributes.name === 'Firebase/Firestore');
const firestorePod = iosPlatform.podspec.pods.pod.find((pod) => pod._attributes.name === 'FirebaseFirestore');
firestorePod._attributes.tag = firestorePod._attributes.spec;
firestorePod._attributes.git = 'https://github.com/invertase/firestore-ios-sdk-frameworks.git';
delete firestorePod._attributes.spec;
Expand Down

0 comments on commit c8f137a

Please sign in to comment.