v3.2.0
v3.2.0 Changelog
NEW - Crashlytics
- We now have support for Crashlytics for both android and iOS, check out the docs for more info.
BREAKING - iOS and Cocoapods
Due to changes in React Native 0.50.0, react-native link
wasn't working properly with react-native-firebase on iOS (more info here). To resolve these issues we have moved the Podspec
file to the ios
directory.
If you are using react-native-firebase
as a Pod (which is no longer our recommended approach) you will have to update the definition in your Podfile to:
pod 'RNFirebase', :path => '../../ios/RNFirebase.podspec'
NEW - iOS use_frameworks!
support
In the past there have been issues with using react-native-firebase
when use_frameworks!
is set in your Podfile. Going forward, this is now supported but only if have linked using react-native link
and not if you are specifying react-native-firebase
in your Podfile.
Defining react-native-firebase
in your Podfile is no longer our recommended approach, so we suggest you remove references to it from your Podfile and run react-native link react-native-firebase
instead.
NOTE: We still recommend installing the underlying Firebase SDKs using Cocoapods as specified in our installation instructions
Auth
- Added support for state in email actions #611
Other
- The location of Typescript typings has been fixed
- Miscellaneous Flow type fixes
Upgrading from v3.1.x
- Install latest version from npm / yarn:
npm install react-native-firebase@latest
- iOS:
- Remove your
ios/Pods
directory and re-runpod install
.
- Remove your
- Android:
- Re-build android app via Android Studio or
react-native run-android
- Re-build android app via Android Studio or