Socket
Socket
Sign inDemoInstall

expo-firebase-analytics

Package Overview
Dependencies
642
Maintainers
21
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expo-firebase-analytics

A universal module that interfaces with the native firebase analytics API


Version published
Weekly downloads
3.6K
decreased by-7.78%
Maintainers
21
Install size
6.08 MB
Created
Weekly downloads
 

Changelog

Source

48.0.0 — 2023-02-09

📚 3rd party library updates

  • Updated @stripe/stripe-react-native from 0.19.0 to 0.23.3. (#20964 by @aleqsio, #21117 by @kudo)
  • Updated react-native-webview from 11.23.1 to 11.26.0. (#20933 by @aleqsio)
  • Updated react-native-gesture-handler from 2.8.0 to 2.9.0. (#20930 by @tsapeta)
  • Updated react-native-shared-element from 0.8.4 to 0.8.7. (#20593 by @ijzerenhein)
  • Updated @react-native-async-storage/async-storage from 1.17.3 to 1.17.11. (#20780 by @kudo)
  • Updated react-native-reanimated from 2.12.0 to 2.14.4. (#20798 by @kudo, #20990 by @tsapeta)
  • Updated @shopify/react-native-skia from 0.1.157 to 0.1.172. (#20857, #21014 by @kudo)
  • Updated react-native-safe-area-context from 4.4.1 to 4.5.0. (#20899 by @gabrieldonadel)
  • Updated react-native-screens from 3.18.0 to 3.20.0. (#20938 by @lukmccall, #21186 by @tsapeta)
  • Updated react-native-pager-view from 6.0.1 to 6.1.2. (#20932 by @gabrieldonadel)
  • Updated @react-native-community/slider from 4.2.4 to 4.4.2. (#20903 by @gabrieldonadel, #21055 by @kudo)
  • Updated react-native-shared-element from 0.8.7 to 0.8.8. (#20929 by @byCedric)
  • Updated @react-native-community/datetimepicker from 6.5.2 to 6.7.3. (#20926 by @byCedric)
  • Updated @shopify/flash-list from 1.3.1 to 1.4.0. (#20927 by @lukmccall)

🛠 Breaking changes

  • expo-contacts
    • Remove deprecated and legacy contact fields constants. (#20269 by @Simek)
  • expo-keep-awake
    • KeepAwake.activateKeepAwake has been deprecated in favor of KeepAwake.activateKeepAwakeAsync. (#15826 by @EvanBacon)
  • expo-linking
    • Removed the deprecated Linking.removeEventListener. (#20832 by @kudo)

🎉 New features

🐛 Bug fixes

  • expo-asset
  • expo-av
  • expo-barcode-scanner
    • Fix import issue on case-sensitive file systems (#20141 by @hirbod)
  • expo-blur
    • Add -webkit-backdrop-filter to support blurring on Safari. (#21003 by @EvanBacon)
  • expo-clipboard
    • Fixed clipboard listener is called twice on Android. (#19723 by @lukmccall)
    • Fixed clipboard listener can crash the application during initialization on Android. (#19723 by @lukmccall)
    • Fixed the ImageFormat or the StringFormat not working in the release builds on Android. (#20155 by @lukmccall)
  • expo-constants
  • expo-camera
    • Fix import issue on case-sensitive file systems (#20141 by @hirbod)
    • Fix path where simulator saves photos (#20872 by @pettomartino)
    • Fixed Cannot set prop 'barCodeScannerSettings' on view 'class expo.modules.camera.ExpoCameraView' on Android. (#21033 by @lukmccall)
  • expo-file-system
  • expo-gl
    • Fixed build errors when testing on React Native nightly builds. (#19805 by @kudo)
    • Fixed error for duplicated META-INF files when building on Android. (#20251 by @kudo)
    • Added React Native 0.71 support. (#20470 by @kudo)
  • expo-haptics
    • Fixed rare crash on iOS when using Feedback Generator's API not on the main thread. (#19819 by @AntonGolikov)
  • expo-image-picker
  • expo-mail-composer
    • Fix composeAsync not resolving promise after sending/ discarding email. (#20869 by @keith-kurak)
  • expo-media-library
  • expo-modules-core
    • Added a list of the acceptable enum values to the conversion error on Android. (#19895 by @lukmccall)
    • Fixed new NativeEventEmitter() was called with a non-null argument without the required addListener method. warnings on Android with JSC. (#19920 by @kudo)
    • Fixed views are not correctly initialized after reloading on Android. (#20063 by @lukmccall)
    • Fixed threading crash issue when running with Hermes on iOS. (#20506 by @kudo)
    • Fixed build errors when testing on React Native nightly builds. (#19805 by @kudo)
    • Fixed failed resolution of 'java.nio.file.Path' on Android. (#20037 by @lukmccall)
    • Fixed libraries using the ViewDefinitionBuilder crashes when ProGuard or R8 is enabled on Android. (#20197 by @lukmccall)
    • Fixed Either types not supporting non-primitive types on iOS. (#20247 by @tsapeta)
    • Fixed Function not supporting certain arities on Android. (#20419 by @motiz88)
    • Added React Native 0.71 support. (#20470 by @kudo)
    • Fixed the SharedObject initializer being inaccessible due to internal protection level. (#20588 by @tsapeta)
    • Fixed boost build error on Android. (#20719 by @kudo)
    • Fix view prop setter not being called when its new value is null or undefined. (#20755 & #20766 by @tsapeta & @lukmccall) (#20755, #20766 by @tsapeta, @lukmccall)
    • Fixed "Tried to register two views with the same name" error on fast refresh. (#20788 by @tsapeta)
    • Fix crash when reloading app while expo-av video is playing. (#21118 by @janicduplessis)
  • expo-location
  • expo-print
    • Fix printAsync not reflecting custom width/ height, useMarkupFormatter option preventing custom width/ height/ margin from being reflected. (#18873 by @keith-kurak) (#20046 by)
  • expo-sensors
  • expo-web-browser

💡 Others

  • expo-asset
  • expo-application
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-auth-session
  • expo-background-fetch
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-av
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-barcode-scanner
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-branch
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-brightness
    • Deprecate useSystemBrightnessAsync and add it as renamed restoreSystemBrightnessAsync method to avoid violating Rules of Hooks. (#19701 by @Simek)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-cellular
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-calendar
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-clipboard
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-constants
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-contacts
  • expo-crypto
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-battery
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-device
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-document-picker
  • expo-camera
    • Use correct type for videoStabilizationMode option. (#20130 by @simek)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-error-recovery
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-file-system
    • Extract nested object definitions to the separate types, which adds: DeletingOptions, InfoOptions, RelocatingOptions and MakeDirectoryOptions types. (#20103 by @Simek)
    • Simplify the way in which types are exported from the package. (#20103 by @Simek)
    • Rename UploadProgressData totalByteSent field to totalBytesSent. (#20804 by @gabrieldonadel)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-font
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-face-detector
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-gl
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-haptics
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-image-manipulator
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-image-loader
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-keep-awake
    • Define KeepAwakeOptions type, update the doc comments. (#20489 by @Simek)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-linear-gradient
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-intent-launcher
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-local-authentication
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-linking
  • expo-image-picker
  • expo-localization
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-mail-composer
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-media-library
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-modules-core
    • Exposed coroutines related packages on Android. (#19896 by @lukmccall)
    • Rephrased the message of ArgumentCastException to use ordinal numbers. (#19912 by @tsapeta)
    • [iOS] Make Enumerable protocol implement CaseIterable to get rid of operating on unsafe pointers. (#20640 by @tsapeta)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-location
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-network
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-print
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-random
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-permissions
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-screen-capture
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-notifications
    • Update getExpoPushTokenAsync to make projectId required. (#20833 by @gabrieldonadel)
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
    • Add JSDoc comments, perform type changes related to documentation autogeneration. (#21002 by @Simek)
    • Export getExpoPushTokenAsync parameter type. (#21104 by @Simek)
  • expo-sharing
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-screen-orientation
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-sms
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-sensors
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-store-review
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-secure-store
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-speech
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-sqlite
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-task-manager
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-video-thumbnails
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • expo-web-browser
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)
  • unimodules-app-loader
    • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)

⚠️ Notices

  • expo-image-picker
    • Removed deprecated fields from pick result type and deprecated UIImagePickerPresentationStyle enum values. (#21078 by @Simek)
  • expo-random

Readme

Source

expo-firebase-analytics

This is the only Firebase Analytics package for React Native that has universal platform support (iOS, Android, Web, and Electron).

expo-firebase-analytics enables the use of native Google Analytics for Firebase. Google Analytics for Firebase is a free app measurement solution that provides insight on app usage and user engagement. Learn more in the official Firebase Docs.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

expo install expo-firebase-analytics

Configure for iOS

Run npx pod-install after installing the npm package.

Setup native Firebase

Follow the "Setup Native Firebase" guide in the docs to get started using native Firebase SDK features.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords

FAQs

Last updated on 25 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc