UNPKG

cordova-plugin-firebasex

Version:

Backward-compatible wrapper that installs all cordova-plugin-firebasex modular plugins

619 lines (554 loc) 67.2 kB
# Version 20.0.1 (android) Fix plugin variables and pinned dependency versions. (ios) update inappmessaging plugin to use IOS_FIREBASE_SDK_BETA_VERSION to separate beta and release versions. # Version 20.0.0 **DEPRECATION NOTICE**: This original monolithic `cordova-plugin-firebasex` plugin is now deprecated and will no longer receive updates. Please migrate to the new modular plugins as soon as possible. See the [migration guide](./MIGRATION.md) for more information. # Version 19.1.0 * (ios) Update `getXcodeProjectPath` to support cordova-ios 8.x. * Merged from PR [#964](https://github.com/dpa99c/cordova-plugin-firebasex/pull/964) * fix unable to uninstall the plugin via `cordova plugin rm cordova-plugin-firebasex` * Merged from PR [#966](https://github.com/dpa99c/cordova-plugin-firebasex/pull/966) * (android) Factorise magic connection timeout number into documented constant * (android) fix typos in native strings * (ios) Fix typo in log message for language code * (types) add missing property and method definitions * (android) Remove `jcenter()` from Gradle config because JCenter was retired in 2021 and the `jcenter()` shortcut method was deprecated in Gradle 7.0 and completely removed in Gradle 8.0 and newer. * (android&ios) Document all native functions in code. * (android) Migration from Google Sign In to Credential Manager. * Resolves [#958](https://github.com/dpa99c/cordova-plugin-firebasex/issues/958) * (android) Bump pinned Firebase SDK versions to BoM v34.9.0 - 05 Feb 2026: https://firebase.google.com/support/release-notes/android#2026-02-05 * (ios) Bump pinned Firebase SDK versions to v12.9.0 - 03 Feb 2026: https://firebase.google.com/support/release-notes/ios#version_1290_-_february_3_2026 * (ios) Fix `GIDSignIn` method signature in `authenticateUserWithGoogle` to use `signInWithPresentingViewController:` due to removal of deprecated `signInWithConfiguration:` in Firebase iOS SDK v12.9.0 # Version 19.0.1 * (ios) fix: Migrate to new Firebase Analytics module structure for SDK >= 11.14.0 * Merged from PR [#960](https://github.com/dpa99c/cordova-plugin-firebasex/pull/960) * Resolves [#959](https://github.com/dpa99c/cordova-plugin-firebasex/issues/959) # Version 19.0.0 * (ios) BREAKING: Update pinned default Firebase iOS SDK version from v11.8.0 to v12.3.0 - September 15, 2025 * https://firebase.google.com/support/release-notes/ios#version_1230_-_september_15_2025 * Changes minimum iOS deployment version from 13.0 to 15.0. * Also updated: * GoogleSignIn from v7.1.0 to v9.0.0 * GoogleTagManager from v8.0.0 to v9.0.0 * (android) Update pinned default Firebase Android SDK versions to BOM v34.3.0 - September 18, 2025 * https://firebase.google.com/support/release-notes/android#2025-09-18 * (android) bugfix: Plugin raises error on some devices at startup if ID token is refreshed before plugin is initialized. * Merged from PR [#954](https://github.com/dpa99c/cordova-plugin-firebasex/pull/954) * Resolves [#925](https://github.com/dpa99c/cordova-plugin-firebasex/issues/925) * (android) bugfix: Wait for plugin to be initialized before executing pending JS calls. * Merged from PR [#942](https://github.com/dpa99c/cordova-plugin-firebasex/pull/942) * (ios) bugfix: Add isContentAvailable check before displaying foreground notification so it's not shown twice * (ios) Fix detection of content-available key in APNS payload * Resolves [#938](https://github.com/dpa99c/cordova-plugin-firebasex/issues/938) and [#624](https://github.com/dpa99c/cordova-plugin-firebasex/issues/624) # Version 18.0.7 * (android) fix: remove Google Services plugin configuration so it doesn't conflict with `cordova-android@14` and use Cordova config to enable the plugin instead. * Resolves [#931](https://github.com/dpa99c/cordova-plugin-firebasex/issues/931) # Version 18.0.6 * (ios) bugfix: Force token refresh when calling getClaims * Merged from PR [#919](https://github.com/dpa99c/cordova-plugin-firebasex/pull/919) * (ios) bugfix: notification payload not delivered by onMessageReceived when app is launched from cold start by tapping system notification. * Resolves [#917](https://github.com/dpa99c/cordova-plugin-firebasex/issues/917) * (ios) chore: Update pinned Firebase SDK version to latest version v11.8.0 (3 Feb 2025) * https://firebase.google.com/support/release-notes/ios#version_1180_-_february_3_2025 * (ios) chore: Update pinned GoogleSignIn SDK to v7.1.0 * Resolves [#921](https://github.com/dpa99c/cordova-plugin-firebasex/issues/921) * (android) chore: Update pinned Firebase SDK to latest versions: BoM version 33.9.0 (6 Feb 2025) * https://firebase.google.com/support/release-notes/android#2025-02-06 # Version 18.0.5 * (android) bugfix: Handle notification exceptions when sending pending notifications * Merged from PR [#913](https://github.com/dpa99c/cordova-plugin-firebasex/pull/913) * fix: Integration with GoogleTagManager * Merged from PR [#906](https://github.com/dpa99c/cordova-plugin-firebasex/pull/906) * (ios) feat: Turn on debug view for debug builds by default * Merged from PR [#910](https://github.com/dpa99c/cordova-plugin-firebasex/pull/910) * (ios) fix: Enabled access to `FIRAuthErrorUserInfoUpdatedCredentialKey` on `linkUserWithCredential` auth/credential-already-in-use error * Merged from PR [#916](https://github.com/dpa99c/cordova-plugin-firebasex/pull/916) * (ios) Update pinned Firebase SDK versions to [v11.5.0](https://firebase.google.com/support/release-notes/ios#version_1150_-_november_11_2024) * * (android) Update pinned Firebase SDK component versions to [BoM v33.6.0 (15 November 2024)](https://firebase.google.com/support/release-notes/android#2024-11-15) # Version 18.0.4 * bugfix: remove unused cordova-ios import that breaks projects without ios platform * Merged from PR [#912](https://github.com/dpa99c/cordova-plugin-firebasex/pull/912) # Version 18.0.3 * (ios) bugfix: fix invalid cordova hook interface use * Resolves [#908](https://github.com/dpa99c/cordova-plugin-firebasex/issues/908) * Merged from PR [#909](https://github.com/dpa99c/cordova-plugin-firebasex/pull/909) # Version 18.0.2 * bugfix: only apply new logic for cordova-ios@8 if platform is ios - Resolves [#907](https://github.com/dpa99c/cordova-plugin-firebasex/issues/907) - Introduced by [#896](https://github.com/dpa99c/cordova-plugin-firebasex/pull/896) # Version 18.0.1 * feat(ios): prepare for cordova-ios 8 support - corrected app name * Merged from PR [#896](https://github.com/dpa99c/cordova-plugin-firebasex/pull/896) * (ios) Explicitly allow 8.0.0-beta.1 in cordova-ios version requirements as >=5 does not allow it * (ios) Gracefully handle missing Podfile when running hook scripts * (ios) Ensure plist files exist before attempting to access their contents. Gracefully fail if they are missing. * (ios) Gracefully fail if Google App ID is not found in Google plist * (ios) fix: ensure IOS_FIREBASE_SDK_VERSION is applied to pre-built Firestore pod version if IOS_USE_PRECOMPILED_FIRESTORE_POD=true * (ios) Update pinned Firebase SDK versions to [v11.4.0](https://firebase.google.com/support/release-notes/ios#version_1140_-_october_21_2024) * (android) Update pinned Firebase SDK component versions to [BoM v33.5.1 (23 October 2024)](https://firebase.google.com/support/release-notes/android#2024-10-23) # 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 * (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 * Firebase iOS SDK v11 supports iOS 13+ * BREAKING: drops support for iOS 12 which was supported by Firebase iOS SDK v10 * Resolves [#892](https://github.com/dpa99c/cordova-plugin-firebasex/issues/892) * (ios) Update to use Google Sign-In SDK v7 signatures. * Resolves [#809](https://github.com/dpa99c/cordova-plugin-firebasex/issues/809) * (ios) bugfix: gracefully handle missing iOS deployment target in Podfile. * Resolves [#868](https://github.com/dpa99c/cordova-plugin-firebasex/issues/868) * (ios) Add support for `IOS_FIREBASE_IN_APP_MESSAGING_VERSION` plugin variable to enable specifying a different version of the InappMessaging SDK component from the other Firebase iOS SDK components * (Android) update: Pin latest Firebase SDK component versions to [Bom v33.3.0](https://firebase.google.com/support/release-notes/android#bom_v33-3-0) as of [12 Sep 2024](https://firebase.google.com/support/release-notes/android#2024-09-12) * fix: Queue global JS executions if plugin is not yet initialized to prevent calling functions on the plugin JS API before Cordova has loaded the plugin JS namespace. * Resolves [#888](https://github.com/dpa99c/cordova-plugin-firebasex/issues/888) # Version 16.5.0 * (Android) update: Pin latest Firebase SDK component versions as of [11 Apr 2024](https://firebase.google.com/support/release-notes/android#2024-04-11) * (iOS) update: Pin latest Firebase SDK components v10.24.0 as of [9 Apr 2024](https://firebase.google.com/support/release-notes/ios#version_10240_-_april_9_2024) * feat: Add unlinkUserWithProvider() * Based on PR [#821](https://github.com/dpa99c/cordova-plugin-firebasex/pull/821) * (android) fix: support minSDK 24+ - remove trailing comma * Merged from PR [#860](https://github.com/dpa99c/cordova-plugin-firebasex/pull/860) * doc: Add information to enable the Analytics debug_mode * Merged from PR [#820](https://github.com/dpa99c/cordova-plugin-firebasex/pull/820) * Add Consent Mode v2 * Merged from PR [#878](https://github.com/dpa99c/cordova-plugin-firebasex/pull/878) * (ios) docs: Update IOS_NOTIFICATION_SERVICE.md * Merged from PR [#814](https://github.com/dpa99c/cordova-plugin-firebasex/pull/814) # Version 16.4.0 * (doc) Add note about xmlns:android attribute for config.xml Merged from PR [#840](https://github.com/dpa99c/cordova-plugin-firebasex/pull/840) * (doc) Clarify how to set plugin variables * (iOS) fix matching of pod versions so IOS_FIREBASE_SDK_VERSION variable is applied to Podfile. * Resolves [#838](https://github.com/dpa99c/cordova-plugin-firebasex/issues/838) * (iOS) Support optional patch version when specifying iOS deployment target version. * Resolves [#822](https://github.com/dpa99c/cordova-plugin-firebasex/issues/822) * (Android) bugfix: when grantPermission is called on Android 12 or below, ensure success callback is invoked. * Resolves [#819](https://github.com/dpa99c/cordova-plugin-firebasex/issues/819) * (iOS & Android) feat: Implement authenticateUserWithOAuth() to authenticate with OAuth providers * (ios) Return idToken in credential result when authentication with Apple is successful. * Partially resolves [#857](https://github.com/dpa99c/cordova-plugin-firebasex/issues/857) # Version 16.3.0 * (Android) apply FIREBASE_ANALYTICS_WITHOUT_ADS plugin variable to disable AD ID data collection and remove AD ID permission from manifest * (iOS) build: apply FIREBASE_ANALYTICS_WITHOUT_ADS and IOS_ON_DEVICE_CONVERSION_ANALYTICS plugin variables to plugin.xml using npm post_install script * (doc) Explain additional step required for post-install plugin variables * (iOS) feat: Add `initiateOnDeviceConversionMeasurement()` to support on-device conversion measurement * Implements [#843](https://github.com/dpa99c/cordova-plugin-firebasex/pull/843) * (iOS) fix: add FirebaseAnalytics pod * Merged from PR [#848](https://github.com/dpa99c/cordova-plugin-firebasex/pull/848) # Version 16.2.0 * (iOS) add npm post_install script to apply IOS_USE_PRECOMPILED_FIRESTORE_POD plugin variable to plugin.xml before the plugin config is loaded by Cordova * (iOS) use product pods for firebase packages * Merged from PR [#811](https://github.com/dpa99c/cordova-plugin-firebasex/pull/811) * (iOS) Fix plugin imports using product-level CocoaPods * Merged from PR [#812](https://github.com/dpa99c/cordova-plugin-firebasex/pull/812) * (Android) Fix ambiguity between bigLargeIcon(Bitmap) and bigLargeIcon(Icon) on API 34 * Merged from PR [#836](https://github.com/dpa99c/cordova-plugin-firebasex/pull/836) * (build) Gracefully handle error if read/write package.json fails. * Resolves [#832](https://github.com/dpa99c/cordova-plugin-firebasex/issues/832) * Merged from PR [#833](https://github.com/dpa99c/cordova-plugin-firebasex/pull/833) * feat: Add `registerAuthIdTokenChangeListener` to monitor changes in auth ID token. * Resolves [#831](https://github.com/dpa99c/cordova-plugin-firebasex/issues/831) * (iOS) update: Pin latest Firebase SDK component version (v10.17.0) as of [30 Oct 2023](https://firebase.google.com/support/release-notes/ios#version_10170_-_oct_30_2023) * (Android) update: Pin latest Firebase SDK component versions as of [30 Oct 2023](https://firebase.google.com/support/release-notes/android#2023-10-30) # Version 16.1.0 * (iOS) feat: add support for IOS_FCM_ENABLED variable to allow disabling FCM functionality on iOS * Merged from PR [#797](https://github.com/dpa99c/cordova-plugin-firebasex/pull/797) * (types) feat: add support for lastUpdate and created in Firestore operations * Merged from PR [#793](https://github.com/dpa99c/cordova-plugin-firebasex/pull/793) * (iOS) doc: Tutorial to make the necessary configurations to send images in notifications * Merged from PR [#798](https://github.com/dpa99c/cordova-plugin-firebasex/pull/798) * (iOS) Fix foreground notifications not being displayed after calling grantPermission when permissions haven't been previously granted * Merged from PR [#800](https://github.com/dpa99c/cordova-plugin-firebasex/pull/800) * doc: add server side verification documentation to authenticateUserWithGoogle() * Merged from PR [#805](https://github.com/dpa99c/cordova-plugin-firebasex/pull/805) * (iOS) build: Use precompiled FirebaseFirestore on first pod install * Merged from PR [#752](https://github.com/dpa99c/cordova-plugin-firebasex/pull/752) * (iOS) feat: Add registerApplicationDidBecomeActiveListener() and registerApplicationDidEnterBackgroundListener() methods to expose native iOS app delegate methods * (Android) build: Add support for `cordova-android@12` - use cordova-android config variable version * Merged from PR [#807](https://github.com/dpa99c/cordova-plugin-firebasex/pull/807) * (Android) update: Pin latest Firebase SDK component versions as of [01 May 2023](https://firebase.google.com/support/release-notes/android#2023-05-01) * (iOS) update: Pin latest Firebase SDK component version (v10.10.0) as of [23 May 2023](https://firebase.google.com/support/release-notes/ios#version_10100_-_may_23_2023) # Version 16.0.0 * (iOS & Android) **BREAKING CHANGE**: Changed signature of `verifyPhoneNumber()` to pass optional arguments as an object. * (iOS & Android) feat: Add support for multi-factor authentication * Added `enrollSecondAuthFactor()`, `verifySecondAuthFactor()`, `listEnrolledSecondAuthFactors()`, `unenrollSecondAuthFactor()`, `verifyBeforeUpdateEmail()` * Resolves [#714](https://github.com/dpa99c/cordova-plugin-firebasex/issues/714) * (iOS & Android) feat: Add `authenticateUserWithFacebook()` * Resolves [#526](https://github.com/dpa99c/cordova-plugin-firebasex/issues/526) # Version 15.0.0 * (Android) Update pinned Firebase SDK component versions to [BOM v31.1.0 - November 17, 2022](https://firebase.google.com/support/release-notes/android#2022-11-17) * (iOS) Update pinned version of Firebase SDK to [v10.2.0 - November 15, 2022](https://firebase.google.com/support/release-notes/ios#version_1020_-_november_15_2022) - **BREAKING CHANGE**: Minimum supported iOS version is now v11.0 (with Firebase SDK v9 it was v10.0) - [see here](https://firebase.google.com/support/release-notes/ios#version_1000_-_october_10_2022) - Update pinned versions of Google Sign In and Google Tag Manager libraries to latest to align with Firebase SDK v10 * (iOS) fix: Fix CLI builds with Xcode 14 and Cordova CLI. * Resolves [#766](https://github.com/dpa99c/cordova-plugin-firebasex/issues/766) * (iOS) feat: Add `IOS_GOOGLE_SIGNIN_VERSION` AND `IOS_GOOGLE_TAG_MANAGER_VERSION` plugin vars to enable overriding default pinned versions at plugin install time. * (iOS) feat: Add the authorization code to the credential object returned after authentication via Sign in with Apple * Merged from PR [#761](https://github.com/dpa99c/cordova-plugin-firebasex/pull/761) * (Android) fix: Notification opening app for Android 12 * Resolves [#763](https://github.com/dpa99c/cordova-plugin-firebasex/issues/763), [#764](https://github.com/dpa99c/cordova-plugin-firebasex/issues/764) * Merged from PR [#765](https://github.com/dpa99c/cordova-plugin-firebasex/pull/765) * (Android) feat: Add support for Android push notification localization in foreground notifications * Merged from PR [#772](https://github.com/dpa99c/cordova-plugin-firebasex/pull/772) * (Android) feat: Handle checking/requesting POST_NOTIFICATIONS runtime permission on Android 13+. * Resolves [#777](https://github.com/dpa99c/cordova-plugin-firebasex/issues/777) # Version 14.2.1 * (iOS) bugfix: remove openURL delegate that was erroneously re-added by merge error. * Re-implements PR [#731](https://github.com/dpa99c/cordova-plugin-firebasex/pull/731) * Resolves [#718](https://github.com/dpa99c/cordova-plugin-firebasex/issues/718) # Version 14.2.0 * (Android) bugfix: Fix no notifications on Android 12 and above * Merged from PR [#747](https://github.com/dpa99c/cordova-plugin-firebasex/pull/747) * Resolves [#746](https://github.com/dpa99c/cordova-plugin-firebasex/issues/746) * (iOS & Android) feat: Add support to optionally specify timestamp when updating documents in a Firestore collection * Merged from PR [#743](https://github.com/dpa99c/cordova-plugin-firebasex/pull/743) * (iOS) bugfix: Use standard pod for Firestore by default but add `IOS_USE_PRECOMPILED_FIRESTORE_POD` plugin variable to switch to using pre-built version. * Resolves [#735](https://github.com/dpa99c/cordova-plugin-firebasex/issues/735) * (iOS) feat: add support for `IOS_FIREBASE_SDK_VERSION` plugin variable to override the Firebase iOS SDK versions specified in `plugin.xml` # Version 14.1.0 * (Doc) bugfix: Fix markdown issue caused by unescaped HTML tags. * Resolves [#707](https://github.com/dpa99c/cordova-plugin-firebasex/issues/707) * (Android) bugfix: Fix null pointer exception when missing notification image * Merged from PR [#709](https://github.com/dpa99c/cordova-plugin-firebasex/pull/709) * (iOS) bugfix: Cordova-compliant external URL handling * Merged from PR [#731](https://github.com/dpa99c/cordova-plugin-firebasex/pull/731) * (iOS & Android) feat: Add support for getClaims * Merged from PR [#723](https://github.com/dpa99c/cordova-plugin-firebasex/pull/723) * (Types) bugfix: Correctly declare FirebasePlugin as global * Resolves [#715](https://github.com/dpa99c/cordova-plugin-firebasex/issues/715) * Merged from PR [#716](https://github.com/dpa99c/cordova-plugin-firebasex/pull/716) * (Android) chore: bump pinned Firebase SDK component versions to [BOM 30.0.2 (May 19, 2022)](https://firebase.google.com/support/release-notes/android#2022-05-19) * (iOS) chore: Update Firebase Apple SDK to [Version 9.1.0 - May 24, 2022](https://firebase.google.com/support/release-notes/ios#version_910_-_may_24_2022) * Major version increase from v8.1.0 but no breaking changes directly affect this plugin * (iOS) bugfix: Ensure new FCM token is issued after calling unregister() when autoinit is enabled. * Resolves [#732](https://github.com/dpa99c/cordova-plugin-firebasex/issues/732) * (iOS & Android) feat: Add support for FIREBASE_FCM_AUTOINIT_ENABLED plugin variable to set FCM autoinit on app startup at configuration time # Version 14.0.0 * (iOS) chore: Minor version update to Firebase iOS SDK to latest ([Version 8.11.0 - January 18, 2022](https://firebase.google.com/support/release-notes/ios#version_8110_-_january_18_2022)) * BREAKING CHANGE: Requires Cocoapods v1.11.2+ * (Android) chore: Update pinned Firebase Android SDK dependencies to latest ((January 25, 2022)[https://developers.google.com/android/guides/releases#january_25_2022]) * (iOS) bugfix: Update to GoogleSignIn v6 and update plugin for breaking API changes. * Resolves [#678](https://github.com/dpa99c/cordova-plugin-firebasex/issues/678) * (Android) bugfix: Fix an error getting the providerId that could cause `getCurrentUser()` to fail. * Merged from PR [#706](https://github.com/dpa99c/cordova-plugin-firebasex/pull/706) * (iOS & Android) feat: Include actionCodeSettings in the `sendUserEmailVerification()` function * (iOS) feat: Implement authorization request for critical alerts * Merged from PR [#693](https://github.com/dpa99c/cordova-plugin-firebasex/pull/693) * Resolves [#572](https://github.com/dpa99c/cordova-plugin-firebasex/issues/572) * (Types) bugfix: Fix return type for `didCrashOnPreviousExecution` * Merged from PR [#692](https://github.com/dpa99c/cordova-plugin-firebasex/pull/692) * (Android) bugfix: Use OAuthProvider when available during `linkUserWithCredential()` * Merged from PR [#687](https://github.com/dpa99c/cordova-plugin-firebasex/pull/687) * (Types) bugfix: Add missing type for `authenticateUserWithEmailAndPassword()` * Merged from PR [#686](https://github.com/dpa99c/cordova-plugin-firebasex/pull/686) * (iOS & Android) feat: Support Firebase Authentication emulator * Merged from PR [#685](https://github.com/dpa99c/cordova-plugin-firebasex/pull/685) * (Android) feat: Support html attributes in body notifications * Merged from PR [#668](https://github.com/dpa99c/cordova-plugin-firebasex/pull/668) * (Android) feat: Improved notification image support * Merged from PR [#667](https://github.com/dpa99c/cordova-plugin-firebasex/pull/667) * (Doc) bugfix: Fix `setUserProperty` parameters in `README.md` * Merged from PR [#638](https://github.com/dpa99c/cordova-plugin-firebasex/pull/638) * (Android) bugfix: Specify version of GRPC OKHTTP and enable version override via plugin variable and bump Android Gradle build tool versions. * Based on PR [#696](https://github.com/dpa99c/cordova-plugin-firebasex/pull/696) * Resolves [#695](https://github.com/dpa99c/cordova-plugin-firebasex/issues/695) * (Android) bugfix: add `android:exported` element * Merged from PR [#702](https://github.com/dpa99c/cordova-plugin-firebasex/pull/702) * (iOS) bugfix: Return user's full name if present in Apple sign in response. * Resolves [#479](https://github.com/dpa99c/cordova-plugin-firebasex/issues/479) # Version 13.0.1 * (iOS) Fix `onTokenRefresh` to return FCM token (not installation auth token). * Resolves [#637](https://github.com/dpa99c/cordova-plugin-firebasex/issues/637) * (Android): Increment pinned version of Crashlytics Gradle plugin to [v2.7.1](https://firebase.google.com/support/release-notes/android#crashlytics_gradle_plugin_v2-7-1) to resolve build issues with Gradle v7. * This resolves build issues with `cordova-android@10.0.0` which defaults to Gradle v7.1.1 * Resolves [#643](https://github.com/dpa99c/cordova-plugin-firebasex/issues/643) * (iOS) Bump pinned Firebase SDK components to [v8.4.0 - July 20, 2021](https://firebase.google.com/support/release-notes/ios#version_840_-_july_20_2021) * (Android): Update pinned Firebase Android SDK versions from BoM v28.1.0 to ([v28.2.1 - July 09, 2021](https://firebase.google.com/support/release-notes/android#bom_v28-2-1)) # Version 13.0.0 * (iOS) BREAKING CHANGE: Major version update to Firebase iOS SDK from v7 to v8 ([Version 8.1.1 - June 11, 2021](https://firebase.google.com/support/release-notes/ios#version_811_-_june_11_2021)) * Remove/replace references to previously-deprecated Firebase IID SDK component which is removed in SDK v8 with Firebase Installations SDK * (Android) BREAKING CHANGE: Major version update to Firebase Android BOM from v26 to v28 ([v28.1.0 - June 03, 2021](https://firebase.google.com/support/release-notes/android#2021-06-03)) * Remove/replace references to previously-deprecated Firebase IID SDK component which is removed in SDK BOM v28 with Firebase Installations SDK * Add explicit dependency on deprecated `firebase-iid` because latest version `firebase-functions:20.0.0` [depends on an older version](https://mvnrepository.com/artifact/com.google.firebase/firebase-functions/20.0.0) and so causes duplicate class conflicts with latest `firebase-messaging:22.0.0` * (Android) doc: Add note regarding creating new notification channels for each new sound. * Relates to [#560](https://github.com/dpa99c/cordova-plugin-firebasex/issues/560). * doc: Add note regarding allowed values for `logEvent` * Merged from PR [#619](https://github.com/dpa99c/cordova-plugin-firebasex/pull/619). * (Android) bugfix: Fix sound configuration per channel * Merged from PR [#625](https://github.com/dpa99c/cordova-plugin-firebasex/pull/625). * (iOS & Android) feature(auth): add idToken on signIn w/ Google response * Merged from PR [#633](https://github.com/dpa99c/cordova-plugin-firebasex/pull/633). * (iOS) feature: support for `AppNotificationSettingsButton` * Merged from PR [#577](https://github.com/dpa99c/cordova-plugin-firebasex/pull/577). * (iOS) bugfix: Check `content-available` key is present before casting it. * Resolves [#624](https://github.com/dpa99c/cordova-plugin-firebasex/issues/624) * (iOS & Android) bugfix: Convert references to their path strings when fetching data from Firestore to avoid crashes due to circular references. * Resolves [#617](https://github.com/dpa99c/cordova-plugin-firebasex/issues/617) # Version 12.1.0 * (iOS & Android) feature: Add support for Firebase Installations SDK. * Resolves [#603](https://github.com/dpa99c/cordova-plugin-firebasex/issues/603) * (iOS) feature: Implement [Firebase Functions](https://firebase.google.com/docs/functions/callable) * Relates to PR [#509](https://github.com/dpa99c/cordova-plugin-firebasex/pull/509). # Version 12.0.0 * (iOS) BREAKING CHANGE: Major version update to Firebase iOS SDK from v6 to v7 ([v7.8.1 - 12 March 2021](https://firebase.google.com/support/release-notes/ios#version_781_-_march_12_2021)) * Requires `cocoapods@1.10` (previously `cocoapods@1.9`) * Removes `developerModeEnabled` property from `getInfo()` Remote Config response as this was removed in the latest Firebase SDK * Removes direct channel support for Firebase Messaging as no longer supported by Firebase iOS SDK v7. * Resolves [#561](https://github.com/dpa99c/cordova-plugin-firebasex/issues/561). * (Android) BREAKING CHANGE: Major version update to Firebase Android BOM from v25 to v26 ([v26.7.0 - 11 March 2021](https://firebase.google.com/support/release-notes/android#bom_v26-7-0)) * Removes `developerModeEnabled` property from `getInfo()` Remote Config response as this was removed in the latest Firebase SDK * (iOS) Bugfix: Fix conflict with [cordova-plugin-local-notifications](https://github.com/katzer/cordova-plugin-local-notifications) to enable both remote notifications via this plugin and local notifications via that plugin to work simultaneously in the same app. * Merged from PR [#573](https://github.com/dpa99c/cordova-plugin-firebasex/pull/573). * Resolves [#230](https://github.com/dpa99c/cordova-plugin-firebasex/issues/230). * (Android) Feature: add support for calling [Firebase Functions](https://firebase.google.com/docs/functions/callable) * Merged from PR [#509](https://github.com/dpa99c/cordova-plugin-firebasex/pull/509). * (iOS) Bugfix: Add base class to `FirebasePluginMessageReceiverManager` to prevent Xcode build error * Merged from PR [#579](https://github.com/dpa99c/cordova-plugin-firebasex/pull/579). * (Android) Bugfix: Fix GSON serialization of `NaN` values in Firestore * Merged from PR [#584](https://github.com/dpa99c/cordova-plugin-firebasex/pull/584). * (Android) Bugfix: Fix serialization of JSON arrays and objects in `logEvent()` for Analytics * Merged from PR [#598](https://github.com/dpa99c/cordova-plugin-firebasex/pull/598). * (iOS) Bugfix: Fix reading of all Remote Config keys in `getAll()` by falling back if default source is empty. * (iOS) Bugfix: Register notification delegate during didFinishLaunching to ensure notifications are ready when app starts. * Resolves [#542](https://github.com/dpa99c/cordova-plugin-firebasex/issues/542). * (iOS) Bugfix: Make interaction with firestoreListeners thread-safe. * Resolves [#574](https://github.com/dpa99c/cordova-plugin-firebasex/issues/574). * (iOS) Bugfix: Ensure traces array is always defined before referencing it. * Resolves [#602](https://github.com/dpa99c/cordova-plugin-firebasex/issues/602). * (iOS) Bugfix: Gracefully handle sending empty error message to logError. * Resolves [#555](https://github.com/dpa99c/cordova-plugin-firebasex/issues/555). * (iOS) Bugfix: Gracefully handle errors in fetching token data when returning user info. * (Android) Bugfix: Gracefully handle errors when attempting to retrieve ID token when fetching current user info. * Resolves [#566](https://github.com/dpa99c/cordova-plugin-firebasex/issues/566). # Version 11.0.3 * (Android) Make Firebase Performance Monitoring Gradle plugin optional (disabled by default) via `ANDROID_FIREBASE_PERFORMANCE_MONITORING` plugin variable due to increased build times/memory usage when it's included. * (Android) Add defensive code in `handleExceptionWithContext()` to prevent app crashes. * Resolves [#535](https://github.com/dpa99c/cordova-plugin-firebasex/issues/535). * (iOS) Fix `setConfigSettings` implementation. * Merged from PR [#534](https://github.com/dpa99c/cordova-plugin-firebasex/pull/534). # Version 11.0.2 * (iOS) Check if file contents for `pn-actions.json` exists before attempting to use it. * Resolves [#512](https://github.com/dpa99c/cordova-plugin-firebasex/issues/512). * Bug introduced by PR [#482](https://github.com/dpa99c/cordova-plugin-firebasex/pull/482). * (Android) Add the Firebase Performance Monitoring Gradle plugin to monitor network traffic. * Resolves [#520](https://github.com/dpa99c/cordova-plugin-firebasex/issues/520). * (Feature): Add setLanguageCode method for Firebase Auth * Merged from PR [#527](https://github.com/dpa99c/cordova-plugin-firebasex/pull/527). * (iOS): Bump podspec versions for Firebase iOS SDK to v6.33.0. * Resolves [#530](https://github.com/dpa99c/cordova-plugin-firebasex/issues/530). * (Android): Bump pinned Firebase SDK dependencies to latest release versions. * (Types) Export interfaces in types definition. * Resolves [#529](https://github.com/dpa99c/cordova-plugin-firebasex/issues/529). # Version 11.0.1 * (iOS) Set the Sign In with Apple capability based on the `IOS_ENABLE_APPLE_SIGNIN` plugin variable. * Resolves [#511](https://github.com/dpa99c/cordova-plugin-firebasex/issues/511). # Version 11.0.0 * (Android & iOS): Bump pinned Firebase SDK component versions to latest releases. * Added support for `didCrashOnPreviousExecution()` and `setCrashlyticsCustomKey()` * Merged from PR [#492](https://github.com/dpa99c/cordova-plugin-firebasex/pull/492). * (Doc) Clarify requirements for parameters passed to `logEvent()`. * Resolves [#491](https://github.com/dpa99c/cordova-plugin-firebasex/issues/491). * Implement Remote Config v2 API * Add new methods: `fetchAndActivate()`, `resetRemoteConfig()`, `getAll()` * *BREAKING CHANGE:* Change API signature and implementations for `setConfigSettings()` and `setDefaults()` on Android, and implement for iOS. * Resolves [#155](https://github.com/dpa99c/cordova-plugin-firebasex/issues/155). * (Android) *BREAKING CHANGE:* Remove dependency on `cordova-plugin-androidx` and `cordova-plugin-androidx-adapter` * Add support for Firestore real-time listeners: `listenToDocumentInFirestoreCollection()`, `listenToFirestoreCollection()`, `removeFirestoreListener()` * (Types) Update typedef for recent API changes * (iOS) Set Sign In with Apple entitlement automatically. * Resolves [#485](https://github.com/dpa99c/cordova-plugin-firebasex/issues/485). * Add `authenticateUserWithEmailAndPassword()` * Resolves [#486](https://github.com/dpa99c/cordova-plugin-firebasex/issues/486). * (iOS) Remove superfluous braces from `FirebasePluginMessageReceiver.h` * Resolves [#493](https://github.com/dpa99c/cordova-plugin-firebasex/issues/493). * Support optional `valueType` parameter when filtering Firestore collections. * Resolves [#496](https://github.com/dpa99c/cordova-plugin-firebasex/issues/496). * (iOS) Add support for foreground and destructive `UNNotificationActionOptions` * Cherrypicked from PR [#487](https://github.com/dpa99c/cordova-plugin-firebasex/pull/487) # Version 10.2.0 * (iOS) Fix crashes on receiving push notifications on iOS due to delegate chaining. * Resolves [#385](https://github.com/dpa99c/cordova-plugin-firebasex/issues/385). * Reverts commit 4e9a0f4a1fd4ceb871af40629e1ddf146f287ca8 "co-existence with cordova-plugin-local-notification on iOS" * Since upon testing, this plugin does not work with `cordova-plugin-local-notification` present in the same project even with this code in place. * And the conflict between the 2 plugins will need to be addressed separately under [#230](https://github.com/dpa99c/cordova-plugin-firebasex/issues/230). * (iOS) Add support for iOS actionable notifications * Merged from PR [#482](https://github.com/dpa99c/cordova-plugin-firebasex/pull/482). * (Android): Handle task outcomes where task is not successful but exception is null. * Resolves [#473](https://github.com/dpa99c/cordova-plugin-firebasex/issues/473). * (Android) Add missing Inapp Messaging component. * Resolves [#478](https://github.com/dpa99c/cordova-plugin-firebasex/issues/478). * (iOS): Bump minimum required Cocoapods version to v1.9.1 due to requirement by Firestore v6.28.1 * (Android) (Bug fix) Fix all cases where task outcomes are being incorrectly handled. * (iOS) Update remote config to use `activateWithCompletion` instead of deprecated `activateWithCompletionHandler` for activating remote config. * (iOS) (Bug fix) Use regex to extract cocoapods from stdout when verifying cocoapods version during plugin install. * Resolves [#462](https://github.com/dpa99c/cordova-plugin-firebasex/issues/462). * (Android, iOS): Support custom locations for Firebase config files * Merged from PR [#465](https://github.com/dpa99c/cordova-plugin-firebasex/pull/465). * Resolves [#452](https://github.com/dpa99c/cordova-plugin-firebasex/issues/452). # Version 10.1.2 * (iOS): Bump Firebase SDK versions to v6.28.1 to resolve build freeze issue. * Resolves [#460](https://github.com/dpa99c/cordova-plugin-firebasex/issues/460). # Version 10.1.1 * (iOS) Fix regression bug in `getToken()` introduced by [35a2a68e8db3808723c9f2fcb6aa176021f6c77a](https://github.com/dpa99c/cordova-plugin-firebasex/commit/35a2a68e8db3808723c9f2fcb6aa176021f6c77a). * Resolves [#456](https://github.com/dpa99c/cordova-plugin-firebasex/issues/456). * (iOS) Update to use Firebase SDK v6.28.0 * Resolves [#453](https://github.com/dpa99c/cordova-plugin-firebasex/issues/453). # Version 10.1.0 * (iOS) Use precompiled pod for Firestore to reduce build times. * *BREAKING CHANGE:* Requires `cocoapods>=1.9` (previously `cocoapods>=1.8`). * Adds hook script to check local cocoapods version during plugin install. * Based on PR [#440](https://github.com/dpa99c/cordova-plugin-firebasex/pull/440). * Resolves [#407](https://github.com/dpa99c/cordova-plugin-firebasex/issues/407). * (Android) Fixed regression bug related to default Crashlytics permission. * See [this comment](https://github.com/dpa99c/cordova-plugin-firebasex/issues/335#issuecomment-651218052). * (iOS) Bump pinned Firebase SDK versions to latest 6.27.0 * See [release notes](https://firebase.google.com/support/release-notes/ios#version_6270_-_june_16_2020) * (Android): Bump Firebase SDK versions to latest for Analytics, Cloud Messaging & Inapp Messaging. # Version 10.0.0 * *BREAKING CHANGE:* (Android, iOS) Migrate from Fabric Crashlytics SDK to Firebase Crashlytics SDK. ** Based on [this commit](https://github.com/vickydlion/cordova-plugin-firebasex/commit/0dfb5753edcd9fc19a0e7a52fdd4fc79d6d976ea) in [PR #432](https://github.com/dpa99c/cordova-plugin-firebasex/pull/432). ** Resolves [#335](https://github.com/dpa99c/cordova-plugin-firebasex/issues/335). ** Removes `isCrashlyticsCollectionCurrentlyEnabled()` as it's no longer necessary to manually init Crashlytics and a runtime method exists to enable/disable it. ** For more info see the [Firebase Crashlytics SDK upgrade documentation](https://firebase.google.com/docs/crashlytics/upgrade-sdk). * (iOS) Fix exception raised if another plugin as already configured Firebase * Merged from PR [#419](https://github.com/dpa99c/cordova-plugin-firebasex/pull/419). * (iOS) Handle case where LD_RUNPATH_SEARCH_PATHS is an array. Resolves [#344](https://github.com/dpa99c/cordova-plugin-firebasex/issues/344). * (Android, iOS): Avoid collection state getting out of sync & remove restriction to override config defaults. * Merged from PR [#423](https://github.com/dpa99c/cordova-plugin-firebasex/pull/423). * (iOS) Fix escaping already escaped json. * Merged from PR [#430](https://github.com/dpa99c/cordova-plugin-firebasex/pull/430). * Further resolves [#401](https://github.com/dpa99c/cordova-plugin-firebasex/issues/401). * (Android): Fix parsing of existing `colors.xml` when it contains multiple existing `<color>` to prevent overwriting the existing values. * Resolves [#436](https://github.com/dpa99c/cordova-plugin-firebasex/issues/436). * (Android, iOS): Return success/failure result when subscribing/unsubscribing from topics. * Resolves [#422](https://github.com/dpa99c/cordova-plugin-firebasex/issues/422). # Version 9.1.2 * (Android) Fix retrieval of auth provider ID - [see here for more info](https://github.com/firebase/FirebaseUI-Android/issues/329#issuecomment-564409912) * (iOS) Align retrieval of auth provider ID with Android. * (Typing): correct return type of a method * Merged from PR [#390](https://github.com/dpa99c/cordova-plugin-firebasex/pull/390). * (Documentation) Update guidance and requirements when opening issues * (iOS): Fix escaping of line endings in multi-line log messages being sent from native iOS implementation to JS console. * Resolves [#401](https://github.com/dpa99c/cordova-plugin-firebasex/issues/401). * (iOS): Set shouldEstablishDirectChannel via a plugin variable which defaults to false. Resolves [#406](https://github.com/dpa99c/cordova-plugin-firebasex/issues/406). * Bump androidx plugin version dependencies. Resolves [#418](https://github.com/dpa99c/cordova-plugin-firebasex/issues/418). # Version 9.1.1 * (iOS): Bump Firebase SDK components to v6.23.0. * Relates to [#373](https://github.com/dpa99c/cordova-plugin-firebasex/issues/373). * See https://firebase.google.com/support/release-notes/ios#version_6230_-_april_21_2020. * (Android) Bump Firebase SDK (and other Gradle dependencies) to latest versions. * See https://firebase.google.com/support/release-notes/android#2020-04-23 # Version 9.1.0 * (Android & iOS) *BREAKING CHANGE*: Add support for filters to `fetchDocumentInFirestoreCollection()` * *BREAKING CHANGE* to function signature. * Merged from PR [#367](https://github.com/dpa99c/cordova-plugin-firebasex/pull/367). # Version 9.0.3 * (Android & iOS) Add `reloadCurrentUser()` * (Doc) `createChannel()` suggestion for multiple sounds * Merged from PR [#225](https://github.com/dpa99c/cordova-plugin-firebasex/pull/225). * (iOS) Implement `getInfo()` for iOS. * Merged from PR [#363](https://github.com/dpa99c/cordova-plugin-firebasex/pull/363). * (Android & iOS) Add `signInUserWithCustomToken()` AND `signInUserAnonymously()` auth methods * Merged from PR [#359](https://github.com/dpa99c/cordova-plugin-firebasex/pull/359). # Version 9.0.2 * (Android): Don't display app icon for large notification icon on Android. Resolves [#343](https://github.com/dpa99c/cordova-plugin-firebasex/issues/343). * (Android & iOS) Sign out of Google signing out of Firebase. Resolves [#353](https://github.com/dpa99c/cordova-plugin-firebasex/issues/353). * (Android & iOS) Add `documentExistsInFirestoreCollection()` and fix resolution of `fetchDocumentInFirestoreCollection()`. # Version 9.0.1 * Re-add Firebase Inapp Messaging SDK component to master branch. * Document `cli_build` branch. See [#326](https://github.com/dpa99c/cordova-plugin-firebasex/issues/326). # Version 9.0.0 * *BREAKING CHANGE*: Change method signature of `setCrashlyticsCollectionEnabled()` to `(enabled, success, error)` (from `()`) to allow enabling/disabling of Crashlytics at runtime and align it with `setPerformanceCollectionEnabled()` and `setAnalyticsCollectionEnabled()` * Add `isCrashlyticsCollectionEnabled()` and `isCrashlyticsCollectionCurrentlyEnabled()` to respectively check if persistent Crashlytics setting is enabled and if Crashlytics is enabling during the current app session. * Add `isAnalyticsCollectionEnabled()` and `isPerformanceCollectionEnabled()` to check if persistent settings are enabled. * *BREAKING CHANGE*: Remove Firebase Inapp Messaging SDK component due to causing Cordova CLI build issues. * Resolves [#326](https://github.com/dpa99c/cordova-plugin-firebasex/issues/326). * (iOS) Override CDVPlugin class abstract method `handleOpenURL` instead of implementing app delegate method `application:openURL:options` to prevent conflicts with other plugins. * Resolves [#328](https://github.com/dpa99c/cordova-plugin-firebasex/issues/328). * (Android) Fix parsing of existing `colors.xml` when it only contains a single `<color>` to prevent overwriting the existing value. * Fixes [#284](https://github.com/dpa99c/cordova-plugin-firebasex/issues/284). # Version 8.1.1 * (Doc) Document custom FCM message handling. * (Doc) Rationalise heading levels. * (iOS) Implement message receiver mechanism (equivalent to existing Android mechanism) to enable custom handling of specific message types. * (Android) Extend custom receiver to handle payload obtained from system notification message bundle received while in background/not running. * (Android) Ignore invocation of auth state change listener at app start (same as on iOS) to prevent error due to race condition with plugin initialisation. # Version 8.1.0 * Add support for Firebase inapp messaging * Merged from PR [#312](https://github.com/dpa99c/cordova-plugin-firebasex/pull/312). * Add support for Firestore realtime database. Resolves [#190](https://github.com/dpa99c/cordova-plugin-firebasex/issues/190). * (Doc) Add note regarding persistence of data collection settings. Resolves [#315](https://github.com/dpa99c/cordova-plugin-firebasex/issues/315). * (iOS) Added missing Google Tag Manager Pod for iOS. * Merged from PR [#318](https://github.com/dpa99c/cordova-plugin-firebasex/pull/318). * (iOS) Don't set `FirebaseScreenReportEnabled=false` in app list when `FIREBASE_ANALYTICS_COLLECTION_ENABLE=false`. Resolves [#317](https://github.com/dpa99c/cordova-plugin-firebasex/issues/317). * (Android) Disable strict version check in Google Services plugin for Gradle as it causes erroneous build failures. # Version 8.0.1 * Add `registerAuthStateChangeListener()` to support invocation of a callback function on the Firebase Authentication state changing. Resolves [#311](https://github.com/dpa99c/cordova-plugin-firebasex/issues/311). * (Android) Bump Firebase SDK dependency versions to latest releases. Resolves [#279](https://github.com/dpa99c/cordova-plugin-firebasex/issues/279). * (iOS) Bump podspec versions for Firebase SDK components to [latest release (v6.17.0)](https://firebase.google.com/support/release-notes/ios#version_6170_-_february_11_2020) # Version 8.0.0 * *BREAKING CHANGE*: Rework `verifyPhoneNumber()` to preserve and reference the native credentials object (rather than attempting to extract and parse its properties to JS). Fixes [#176](https://github.com/dpa99c/cordova-plugin-firebasex/issues/176). * Add other Firebase Authentication methods: Google Sign In, Sign In with Apple, email/password sign in, and authentication utility methods. Partially resolves [#208](https://github.com/dpa99c/cordova-plugin-firebasex/issues/208). * (Android) Add check `google-services` plugin does not already exist. Fixes [#282](https://github.com/dpa99c/cordova-plugin-firebasex/issues/282). * (iOS) Update pinned Firebase SDK versions to latest v6.13.0. Resolves [#232](https://github.com/dpa99c/cordova-plugin-firebasex/issues/232). # Version 7.0.2 * (Android) Fix error caused by local variable * Merged from PR [#229](https://github.com/dpa99c/cordova-plugin-firebasex/pull/229). * (iOS Hook) Fix retrieving Xcode project path * Merged from PR [#234](https://github.com/dpa99c/cordova-plugin-firebasex/pull/234). * (Android) Check google-services plugin doesn't already exist in Gradle script * Merged from PR [#281](https://github.com/dpa99c/cordova-plugin-firebasex/pull/281). # Version 7.0.1 * (Android) Replace references to cordovaActivity with applicationContext when app is not running and therefore cordovaActivity doesn't exist. Resolves [#165](https://github.com/dpa99c/cordova-plugin-firebasex/issues/165). * Fix .forEach is not a function. Merged from PR [#219](https://github.com/dpa99c/cordova-plugin-firebasex/pull/219). Resolves [#213](https://github.com/dpa99c/cordova-plugin-firebasex/issues/213). * (Android) Parse this plugin's `plugin.xml` to extract default values for plugin variables not explicitly set at plugin install time. Fixes [#218](https://github.com/dpa99c/cordova-plugin-firebasex/issues/218). * (iOS) Fix after_prepare hook to run on multiple platforms so if they are added in one operation using `cordova prepare`, both platforms are processed. Fixes [#221](https://github.com/dpa99c/cordova-plugin-firebasex/issues/221). * (Typedef) Update the typedef for recent plugin API changes. # Version 7.0.0 * (iOS) Update Firebase SDK to [v6.11.0 released 22 Oct 2019](https://firebase.google.com/support/release-notes/ios#version_6110_-_october_22_2019) * (Android) Update pinned Firebase SDK versions to latest as of [25 Oct 2019](https://firebase.google.com/support/release-notes/android#2019-10-25) Resolves [#207](https://github.com/dpa99c/cordova-plugin-firebasex/issues/207) * (Doc) Document parameter types in API functions. Resolves [#140](https://github.com/dpa99c/cordova-plugin-firebasex/issues/140) * (Doc) fix `onMessageReceived()` code sample. Merged from PR [#142](https://github.com/dpa99c/cordova-plugin-firebasex/pull/142). * (Doc) Example sound name for custom Android notification sound. Resolves [#160](https://github.com/dpa99c/cordova-plugin-firebasex/issues/160) * (Feat): add Typescript declaration Merged from PR [#166](https://github.com/dpa99c/cordova-plugin-firebasex/pull/166). * (Doc) Fix `createChannel()` examples. Merged from PR [#167](https://github.com/dpa99c/cordova-plugin-firebasex/pull/167). * (Android) Expose `description` notification channel field. Merged from PR [#168](https://github.com/dpa99c/cordova-plugin-firebasex/pull/168). * (iOS) Update CocoaPods spec url to new CDN. Merged from PR [#173](https://github.com/dpa99c/cordova-plugin-firebasex/pull/173). * (Doc) Fix code example for default android icon. Merged from PR [#174](https://github.com/dpa99c/cordova-plugin-firebasex/pull/174). * (iOS) Support iOS 13 APNS format token change. Merged from PR [#177](https://github.com/dpa99c/cordova-plugin-firebasex/pull/177). * (Hook) Remove check for presence of platform in `config.xml` Merged from PR [#185](https://github.com/dpa99c/cordova-plugin-firebasex/pull/185). * (Feat) Expose Firebase Messaging autoinit API functions to allow enabling/disabling/checking of autoinit. * If disabled and `unregister()` is called, a new token will not be automatically allocated. * Resolves [#147](https://github.com/dpa99c/cordova-plugin-firebasex/issues/147). * (iOS) Fix `logEvent()` so it doesn't generated warning message in console. Fixes [#154](https://github.com/dpa99c/cordova-plugin-firebasex/issues/154). * (iOS) Handle notification messages that contain `"content-available":1` which wakes up the app while in the background to deliver the message payload immediately when the message arrives (without requiring user interaction by tapping the system notification). Fixes [#158](https://github.com/dpa99c/cordova-plugin-firebasex/issues/158). * (Android)(Do) Clarify Android custom notification icons example. Resolves [#183](https://github.com/dpa99c/cordova-plugin-firebasex/issues/183). * (Doc) Add example of using