Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ v6.0.0 ✨ #2025

Closed
Salakar opened this issue Apr 4, 2019 · 159 comments
Closed

✨ v6.0.0 ✨ #2025

Salakar opened this issue Apr 4, 2019 · 159 comments
Assignees

Comments

@Salakar
Copy link
Member

Salakar commented Apr 4, 2019

Hey everybody 💛

Super excited to announce that we're just over halfway through our v5 -> v6 migration + overhaul, and; there are so many great things there already for you to try out. We say this every time but really; this is our 'largest release yet' x💯

So please 🙏 check out the changelog and if all the Firebase services that you use are already listed there then you are good to migrate to the new individual npm packages. They are only released as patch versions for now until all packages are ready - at which point they'll be published as v6.0.0 - I'd recommend locking your package versions until this time.

Instructions can be found on the changelog. Please bare with us well we work towards v6, you have not been forgotten.

I will update this issue with currently being worked on modules and modules next in line, so subscribe to be notified of that and other announcements.

Blog posts about v6.0.0


React Native Firebase is built and maintained with 💛 by Invertase.


@Salakar Salakar added the v6 label Apr 4, 2019
@Salakar Salakar self-assigned this Apr 4, 2019
@Salakar Salakar pinned this issue Apr 4, 2019
@Salakar

This comment has been minimized.

@Salakar Salakar changed the title [v6] Come get your Shinies ✨ [v6] ✨ Come get your Shinies ✨ Apr 4, 2019
@Salakar
Copy link
Member Author

Salakar commented Apr 5, 2019

New Website

We also have a new documentation hub/website that we're hoping to have open to early public feedback in a couple of weeks. We'll update this comment as & when it becomes available.

🎉 EDIT: 🎉 It's up - see the comment below. #2025 (comment)

@Salakar
Copy link
Member Author

Salakar commented Apr 5, 2019

Temporary Discord Server

We have a Discord Server up temporarily to discuss v6.0.0 and post announcements to without the noise of the main Discord server.

If you'd like to join and discuss it please do so: https://discord.gg/rHjpxts

@paolospag

This comment has been minimized.

@Salakar

This comment has been minimized.

@paolospag

This comment has been minimized.

@Salakar Salakar changed the title [v6] ✨ Come get your Shinies ✨ ✨ v6.0.0 ✨ Apr 10, 2019
@Salakar

This comment has been minimized.

@loga4

This comment has been minimized.

@Salakar

This comment has been minimized.

@mazenchami

This comment has been minimized.

@Salakar

This comment has been minimized.

@pratikadyalkar

This comment has been minimized.

@Salakar

This comment has been minimized.

@mazenchami

This comment has been minimized.

@Salakar

This comment has been minimized.

@mazenchami

This comment has been minimized.

@Salakar

This comment has been minimized.

@invertase invertase deleted a comment from mikehardy Apr 26, 2019
@invertase invertase deleted a comment from mikehardy Apr 26, 2019
@invertase invertase deleted a comment from mikehardy Apr 26, 2019
@invertase invertase deleted a comment from mikehardy Apr 26, 2019
@invertase invertase deleted a comment from mikehardy Apr 26, 2019
@Salakar
Copy link
Member Author

Salakar commented Apr 26, 2019

Hey everyone 👋

I think we're in a comfortable place to open up the new site.

URL: https://invertase.io/oss/react-native-firebase

There's still on-going work to improve it and a lot of content missing (or needs re-working); however, we're making it public so that we can get your feedback and also open it up to anyone wanting to submit content (PRs 💯)

Submitting Feedback

If you have any feedback please either submit it here, on the RNFB v6 discord or using the Send Feedback button that appears on most pages:

image

The more detail you provide the better.

Contributing

If you'd like to contribute to the documentation here's a quick overview of how it works.

  • General Documentation: All pages have an Edit page button at the top that will quickly take you to the relevant markdown file that generates the content of the page - feel free to fork the repo and edit these and send up a PR.
    image
  • Reference documentation: All Reference documentation is generated from the index.d.ts type definition file for each module e.g. packages/analytics/index.d.ts, if you'd like to add examples, parameter descriptions, method descriptions for anything that is lacking them, please also send a PR that adds code comments to the index.d.ts files (many of these are missing annotations and need going through).

If you have any questions or queries on how to contribute please get in touch, we'd be happy to help or mentor if required.

@Salakar
Copy link
Member Author

Salakar commented May 3, 2019

Cloud Storage is now up, published in alpha10.

[View the Cloud Storage changelog]

@Salakar
Copy link
Member Author

Salakar commented Sep 19, 2019

@mikehardy With the important caveat that I think Crashlytics didn't get rid of the UIWebView references receiving "we'll reject your app soon" warnings from the Apple Store, with the community-best-guess indicating they will start rejecting apps for real when iOS 13 is released, which I think is...today https://firebase.google.com/support/releases#september_10_2019

👏 yes definitely a big caveat.

I've updated the docs to show all the overridable settings now; https://github.com/invertase/react-native-firebase/blob/docs/pages/guides/overriding-native-sdk-versions.md (will be on the site shortly)

@kaioduarte
Copy link

I just received this warning while using Cloud Storage:

Unknown option dependency.platforms.android.buildPatch with value ""implementation project(':@react-native-firebase_storage')"" was found

 "dependencies": {
    "@react-native-firebase/app": "^6.0.0-alpha.25",
    "@react-native-firebase/storage": "^6.0.0-alpha.25",
    "react": "16.9.0",
    "react-native": "0.61.0-rc.3"
  }

Any thoughts? Maybe related to #2194.

@pistou
Copy link
Contributor

pistou commented Sep 20, 2019

@kaioduarte According to this answer, I believe ^6.0.0-alpha.25 is deprecated and you should use ^0.5.2 which is the latest version at the moment.

please change all your @react-native-firebase/* packages to version ^0.4.0 - we moved the v6 alphas to <1.0.0 patch & minor releases so we could partially gate any breaking changes between the alpha behind versions (wasn't so flexible when using tags)

@kevinvugts
Copy link

@kevinvugts I just deployed v0.5.2 to NPM of the pre-release packages; which now allow you to override the Fabric & Crashlytics versions we use internally, update your packages and add this to the top of your Podfile

$FabricSDKVersion = '1.6.0'
$CrashlyticsSDKVersion = '3.1.0'

Documentation will be added here alongside the other available overrides.

Note that using early versions of the SDKs means we've not tested they function correctly, so it's at your own risk but should generally be ok.

I am receiving the following error:

[!] No podspec found for `RNFBAnalytics` in `../node_modules/@react-native-firebase/analytics/ios

But the path seems to be correct tho. I also tried to remove node_modules and reinstall package.json. But no result.

@Ehesp
Copy link
Member

Ehesp commented Sep 23, 2019

@kevinvugts can you try ensuring the CLI is up to date?

@kevinvugts
Copy link

kevinvugts commented Sep 23, 2019

CLI

My Expo CLI?

update

I removed the /ios extension on the end and now it is coming a bit further. Now the following error appears:

To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.8.0.beta.2

Analyzing dependencies
Fetching podspec for `EXAppLoaderProvider` from `../node_modules/expo-app-loader-provider/ios`
Fetching podspec for `EXBlur` from `../node_modules/expo-blur/ios`
Fetching podspec for `EXConstants` from `../node_modules/expo-constants/ios`
Fetching podspec for `EXFileSystem` from `../node_modules/expo-file-system/ios`
Fetching podspec for `EXFont` from `../node_modules/expo-font/ios`
Fetching podspec for `EXKeepAwake` from `../node_modules/expo-keep-awake/ios`
Fetching podspec for `EXLinearGradient` from `../node_modules/expo-linear-gradient/ios`
Fetching podspec for `EXLocalization` from `../node_modules/expo-localization/ios`
Fetching podspec for `EXLocation` from `../node_modules/expo-location/ios`
Fetching podspec for `EXPermissions` from `../node_modules/expo-permissions/ios`
Fetching podspec for `EXSQLite` from `../node_modules/expo-sqlite/ios`
Fetching podspec for `EXWebBrowser` from `../node_modules/expo-web-browser/ios`
Fetching podspec for `RNFBAnalytics` from `../node_modules/@react-native-firebase/analytics`
Fetching podspec for `RNFBApp` from `../node_modules/@react-native-firebase/app`
Fetching podspec for `RNFBCrashlytics` from `../node_modules/@react-native-firebase/crashlytics`
RNFBCrashlytics: Using user specified Fabric SDK version '1.6.0'
RNFBCrashlytics: Using user specified Crashlytics SDK version '3.1.0'
Fetching podspec for `RNFBPerf` from `../node_modules/@react-native-firebase/perf`
Fetching podspec for `React` from `../node_modules/react-native`
Fetching podspec for `UMBarCodeScannerInterface` from `../node_modules/unimodules-barcode-scanner-interface/ios`
Fetching podspec for `UMCameraInterface` from `../node_modules/unimodules-camera-interface/ios`
Fetching podspec for `UMConstantsInterface` from `../node_modules/unimodules-constants-interface/ios`
Fetching podspec for `UMCore` from `../node_modules/@unimodules/core/ios`
Fetching podspec for `UMFaceDetectorInterface` from `../node_modules/unimodules-face-detector-interface/ios`
Fetching podspec for `UMFileSystemInterface` from `../node_modules/unimodules-file-system-interface/ios`
Fetching podspec for `UMFontInterface` from `../node_modules/unimodules-font-interface/ios`
Fetching podspec for `UMImageLoaderInterface` from `../node_modules/unimodules-image-loader-interface/ios`
Fetching podspec for `UMPermissionsInterface` from `../node_modules/unimodules-permissions-interface/ios`
Fetching podspec for `UMReactNativeAdapter` from `../node_modules/@unimodules/react-native-adapter/ios`
Fetching podspec for `UMSensorsInterface` from `../node_modules/unimodules-sensors-interface/ios`
Fetching podspec for `UMTaskManagerInterface` from `../node_modules/unimodules-task-manager-interface/ios`
Fetching podspec for `yoga` from `../node_modules/react-native/ReactCommon/yoga`
[!] CocoaPods could not find compatible versions for pod "Fabric":
  In snapshot (Podfile.lock):
    Fabric (= 1.10.2, ~> 1.10.2, ~> 1.6)

  In Podfile:
    ExpoKit/Core (from `http://github.com/expo/expo.git`, tag `ios/2.12.4`) was resolved to 34.0.0, which depends on
      Fabric (~> 1.6)

    RNFBCrashlytics (from `../node_modules/@react-native-firebase/crashlytics`) was resolved to 0.5.4, which depends on
      Fabric (= 1.6.0)

It seems like you've changed the constraints of dependency `Fabric` inside your development pod `RNFBCrashlytics`.
You should run `pod update Fabric` to apply changes you've made.```

@Ehesp
Copy link
Member

Ehesp commented Sep 23, 2019

Try running pod install --repo-update

@kevinvugts
Copy link

Try running pod install --repo-update

I used that script.

@Ehesp
Copy link
Member

Ehesp commented Sep 23, 2019

Please can we see your Podfile, looks like auto-linking isn't working for some reason... Did you manually add the pods?

@kevinvugts
Copy link

kevinvugts commented Sep 23, 2019

Please can we see your Podfile, looks like auto-linking isn't working for some reason... Did you manually add the pods?

I add them manually yes. Here is the pod file:

https://pastebin.com/4z2PGFi3

Update

When I removed the fixed versions, it installed the podfile succesfully. huh?!

@Ehesp

Right now I am experiencing the following issue:

info Opening /Users/kevin/Enorm/xclsv-500/node_modules/@react-native-firebase/app/lib/internal/RNFBNativeEventEmitter.js with atom
LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810.

@pistou
Copy link
Contributor

pistou commented Sep 23, 2019

Right now I am experiencing the following issue:

info Opening /Users/kevin/Enorm/xclsv-500/node_modules/@react-native-firebase/app/lib/internal/RNFBNativeEventEmitter.js with atom
LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810.

This looks like an error with Atom IDE, maybe Atom#3093?

@radik
Copy link

radik commented Sep 23, 2019

Is there any progress on Notifications package?
Is there any way how I can help?

@technoplato
Copy link

@radik See: #2566

TLDR Not really a way to help, but progress is being made.

@jwaldrip
Copy link

jwaldrip commented Sep 24, 2019

How will this be supported with web. The previous version was the same API as the official package from google. How will that work in 6.0.0?

@Ehesp
Copy link
Member

Ehesp commented Sep 24, 2019

How will this be supported with web. The previous version was the same API as the official package from google. How will that work in 6.0.0?

@jwaldrip What do you mean by "supported with web"?

v6 follows the web SDK too where applicable, and for newer modules such as ML Kit we have developed the API into JavaScript based on the native platforms.

@Salakar
Copy link
Member Author

Salakar commented Sep 26, 2019

Hey all, v6.0.0 is here 🎉 see: https://invertase.io/blog/react-native-firebase-v6

@Salakar Salakar closed this as completed Sep 26, 2019
@Salakar Salakar unpinned this issue Sep 26, 2019
@pistou
Copy link
Contributor

pistou commented Sep 26, 2019

@Salakar Congrats on the launch (and the shootout at Firebase Summit 💯 ) 🎉

@r0b0t3d
Copy link
Contributor

r0b0t3d commented Sep 27, 2019

Hi, thanks for your hard work to make v6 available.
I'm working with typescript and I got problem with auto complete

import database from '@react-native-firebase/database';

const usersRef = database().ref('users');

vscode can not determine the type of usersRef.

@mikehardy
Copy link
Collaborator

@r0b0t3d this does sound like a problem - can you open a fresh issue with the appropriate version details, explaining the same? It will likely not get attention on this one

@r0b0t3d
Copy link
Contributor

r0b0t3d commented Sep 27, 2019

@mikehardy Thanks. Issue created #2648

@kevinvugts
Copy link

kevinvugts commented Sep 30, 2019

@Salakar

I integrated a few of the v 6.0.0 RNFirebase libraries. (perf, app, analytics and crashlytics)

My pod file looks as following:

  pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'
  pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'
  pod 'RNFBCrashlytics', :path => '../node_modules/@react-native-firebase/crashlytics

However crashlytics does not seem to connect to firebase. I don't receive anything in my console. I have imported crashlytics and performance in my main entry point App.js like so:

import perf from '@react-native-firebase/perf';
perf().setPerformanceCollectionEnabled(true);
crashlytics().setCrashlyticsCollectionEnabled(true);

What am I doing wrong? All libraries work except for crashlytics.

@maxKimoby
Copy link

Hello guys, great work. Need notifications package though... why not release all at once... :)

@pistou
Copy link
Contributor

pistou commented Oct 1, 2019

@maxKimoby According to the v6 annoucement

We're almost complete migrating the notifications package, please bear with us. As each module is now its own npm package we did not want to hold up the rest of the React Native Firebase modules any longer than necessary because of the notifications package, we're hoping to publish the notifications package in the next 2-3 weeks, stay tuned!

@mikehardy
Copy link
Collaborator

I know right? I totally want my free stuff faster. And no excuses, sleep is for weenies, but @maxKimoby no PRs in this repo? 🤔 - I'm not being mean though I swear, just pointing out the reality. It's a mountain of work and can always use more contributors.

More useful than that prattle though - I made a tracking issue for that last package here for news #2566

@maxKimoby
Copy link

maxKimoby commented Oct 1, 2019

Everyone in this repo worked really hard, we love it, we use it, we respect the work and will wait, as we all do for any open source project. I don't think I have the knowledge or experience to contribute to this repo right now, might have in the future! Thank you for your answer.

At first glance, this version incredibly clearer and simpler to install and use. Great work and sorry @mikehardy if I my message seemed passive-aggressive, was not the case. I had trouble googling the needed information which you provided me.

@arashkevich25
Copy link

Currently i have error:
`CocoaPods could not find compatible versions for pod "Crashlytics":
In Podfile:
Crashlytics (~> 3.13.2)

RNFBCrashlytics (from '../node_modules/@react-native-firebase/crashlytics)' was resolved to 6.0.0, which depends on
  Crashlytics (~> 3.12.0)

Specs satisfying the 'Crashlytics (> 3.13.2), Crashlytics (> 3.12.0)' dependency were found, but they required a higher minimum deployment target.
`

Who know what is wrong ?

@Ehesp
Copy link
Member

Ehesp commented Oct 3, 2019

Please create a new issue if you're having issues, following the issue template so we can help.

Locking the thread.

@invertase invertase locked as resolved and limited conversation to collaborators Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests