cordova-plugin-firebasex
Advanced tools
Comparing version
@@ -0,1 +1,10 @@ | ||
# Version 18.0.0 | ||
* (iOS & Android) BREAKING change: Notification payloads received while the app is in the background or inactive are now queued by default, instead of delivered immediately to the application. | ||
* This is to ensure the application is ready to receive the notification payload when it is delivered. | ||
* This DOES NOT affect notifications that are tapped on by the user, which are always delivered immediately. | ||
* Merged from PR [#902](https://github.com/dpa99c/cordova-plugin-firebasex/pull/902) | ||
* (ios) fix: explicitly specify FirebaseCoreExtension version in Podfile so it aligns with other component versions | ||
* (ios) Document and check if SKIP_FIREBASE_FIRESTORE_SWIFT environment variable is set if plugin variable IOS_USE_PRECOMPILED_FIRESTORE_POD is set to true | ||
* (iOS) Document deprecation of `cli_build` branch | ||
# Version 17.0.0 | ||
@@ -2,0 +11,0 @@ * (ios) BREAKING: Update pinned Firebase SDK versions to [v11.2.0](https://firebase.google.com/support/release-notes/ios#version_1120_-_september_10_2024) and updated related dependencies: GoogleSignIn v7.0.0, GoogleTagManager v8.0.0 |
{ | ||
"name": "cordova-plugin-firebasex", | ||
"version": "17.0.0", | ||
"version": "18.0.0", | ||
"description": "Cordova plugin for Google Firebase", | ||
@@ -5,0 +5,0 @@ "types": "./types/index.d.ts", |
@@ -164,3 +164,3 @@ #!/usr/bin/env node | ||
utilities.log('Updating installed Pods'); | ||
execSync('pod install', { | ||
execSync('pod install --repo-update', { | ||
cwd: path.resolve(PLATFORM.IOS.platformDir), | ||
@@ -167,0 +167,0 @@ encoding: 'utf8' |
@@ -95,3 +95,9 @@ var fs = require("fs"); | ||
files: [], | ||
inputPaths: ['"' + '$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)' + '"'], | ||
inputPaths: [ | ||
'"' + '${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}' + '"', | ||
'"' + '${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${PRODUCT_NAME}' + '"', | ||
'"' + '${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist' + '"', | ||
'"' + '$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/GoogleService-Info.plist' + '"', | ||
'"' + '$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)' + '"', | ||
], | ||
name: comment, | ||
@@ -425,7 +431,11 @@ outputPaths: [], | ||
if(pluginVariables['IOS_USE_PRECOMPILED_FIRESTORE_POD'] === 'true'){ | ||
var standardFirestorePodMatches = podFileContents.match(standardFirestorePodRegEx); | ||
if(standardFirestorePodMatches){ | ||
podFileContents = podFileContents.replace(standardFirestorePodMatches[0], prebuiltFirestorePodTemplate.replace('{version}', standardFirestorePodMatches[1])); | ||
podFileModified = true; | ||
utilities.log("Configured Podfile for pre-built Firestore pod"); | ||
if(process.env.SKIP_FIREBASE_FIRESTORE_SWIFT){ | ||
var standardFirestorePodMatches = podFileContents.match(standardFirestorePodRegEx); | ||
if(standardFirestorePodMatches){ | ||
podFileContents = podFileContents.replace(standardFirestorePodMatches[0], prebuiltFirestorePodTemplate.replace('{version}', standardFirestorePodMatches[1])); | ||
podFileModified = true; | ||
utilities.log("Configured Podfile for pre-built Firestore pod"); | ||
} | ||
}else{ | ||
throw new Error("The environment variable SKIP_FIREBASE_FIRESTORE_SWIFT is not set. This is required to use the pre-built Firestore pod.") | ||
} | ||
@@ -432,0 +442,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
829729
0.64%6416
0.56%5237
0.34%9
12.5%