Erik Haider Forsén 04fba7900a Corrects flow return type (#1703)
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request properly. -->
<!-- If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged. -->
<!-- Please esure you've also read the `/CONTRIBUTING.md` guide. -->

### Summary
Using `firebase.links().createShortLink()` returns a promise with a string wrapper object. As far as I can tell, there is no reason it can not be a string literal, witch (to me) seems more logical (it is also the return type of the underlying function call).
### Checklist

- [x] Supports `Android`
- [x] Supports `iOS`
- [ ] `e2e` tests added or updated in [/tests/e2e/\*](/tests/e2e)
- [ ] Updated the documentation in the [docs repo](https://github.com/invertase/react-native-firebase-docs)
  - **LINK TO DOCS PR HERE**
- [x] Flow types updated
- [ ] Typescript types updated

### Test Plan
Tested locally, works for me. 
<!-- Demonstrate the code is solid. -->
<!-- Example: The exact testing commands you ran and their final output (e.g. screenshot of test summary). -->
<!-- Example: Screenshots / videos if the pull request changes UI related code such as Notifications or Admob -->

### Release Plan

<!-- Help reviewers and the release process by writing your own release notes. See below for examples. -->

[TYPES][ENHANCEMENT] [LINKS] - Corrects flow return type to string literal instead of string wrapper

<!--
  **INTERNAL tagged notes will not be included in the next version's release notes.**

    CATEGORY
  [----------]      TYPE
  [ TYPES    ] [-------------]       LOCATION
  [ JS       ] [ BREAKING    ] [------------------]
  [ GENERAL  ] [ BUGFIX      ] [ {FirebaseModule} ]
  [ INTERNAL ] [ ENHANCEMENT ] [ {Filename}       ]
  [ IOS      ] [ FEATURE     ] [ {Directory}      ]   |-----------|
  [ ANDROID  ] [ MINOR       ] [ {Framework}      ] - | {Message} |
  [----------] [-------------] [------------------]   |-----------|

 EXAMPLES:

 [IOS] [ANDROID] [BREAKING] [AUTHENTICATION] - Change a thing that breaks other things
 [ANDROID] [BUGFIX] [FIRESTORE] - Did a thing to fix a thing with a Firestore thing
 [JS] [BREAKING] - Remove a deprecated thing
 [TYPES] [ENHANCEMENT] [NOTIFICATIONS] - Update flow types for a thing in notifications
 [JS] [ENHANCEMENT] - Expose export of a internal thing utility for public usage
 [INTERNAL] [FEATURE] [./utils] - Added an internal util to make doing a thing easier
-->

---

Think `react-native-firebase` is great? Please consider supporting the project with any of the below:

- 👉 Donate via [Open Collective](https://opencollective.com/react-native-firebase/donate)
- 👉 Follow [`React Native Firebase`](https://twitter.com/rnfirebase) and [`Invertase`](https://twitter.com/invertaseio) on Twitter
- 👉 Star this repo on GitHub ️
- 👉 Contribute; see our [contributing guide](/CONTRIBUTING.md)

🔥
2018-11-23 13:56:50 +00:00
2018-10-25 18:51:40 +01:00
2018-08-25 14:35:11 +01:00
2018-11-19 11:24:16 +00:00
2018-11-23 13:56:50 +00:00
2018-09-03 19:14:18 +01:00
2018-09-04 13:23:16 +01:00
2018-09-25 18:55:15 +01:00
2018-01-17 18:05:54 +00:00
2018-09-07 15:18:37 +01:00
2018-10-22 17:43:30 +01:00
2018-01-06 13:53:46 +00:00
2018-11-05 17:10:43 +00:00
2018-08-25 19:21:07 +01:00
2018-11-05 19:34:21 +00:00
2018-09-21 00:02:05 +01:00


React Native Firebase

NPM downloads NPM version License Backers on Open Collective Sponsors on Open Collective Chat Follow on Twitter

Introduction

React Native Firebase is a light-weight javascript layer connecting you to the native Firebase SDKs for both iOS and Android which aimes to mirror the offical Firebase Web SDK as closely as possible.

Although the official Firebase JS SDK will work with React Native; it is mainly built for the web and has a limited feature-set compared to native.

Using the native Firebase SDKs with React Native Firebase allows you to consume device SDKs which don't exist on the Firebase JS SDK - for example; Remote Config, Performance Monitoring, Dynamic Links, Analytics and more (see the feature table below for comparison).


Supported Firebase Features

The Web SDK column indicates what modules/functionality from the Web SDK are usable within React Native.

'?' indicates partial support

Firebase Features v5.x.x Web SDK
AdMob
Analytics            
App Indexing          
Authentication
-- Phone Auth
Core
-- Multiple Apps
Cloud Firestore
Cloud Messaging (FCM)
Crashlytics          
Dynamic Links
Functions Callable                  
Invites
Instance ID         
Performance Monitoring
Realtime Database
-- Offline Persistence ?
Remote Config
Storage

Supported versions - React Native / Firebase

The table below shows the supported versions of React Native and the Firebase SDKs for different versions of react-native-firebase.

3.3.x 4.3.x 5.x.x
React Native 0.50-52 0.52-55 ^0.56 - ^0.57
Play Services Android SDK 11.8.0 + 15.0.1 ^16.0.1
Firebase iOS SDK 4.7.0 + 5.3.0 ^5.10.0 - ^5.11.0

Documentation

To check out our latest docs, visit https://invertase.io/oss/react-native-firebase

Questions

For questions and support please use our Discord chat or Stack Overflow. The issue list of this repo is exclusively for bug reports.

Issues

Please make sure to complete the issue template before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Feature Requests

For feature requests please visit our Feature Request Board.

Changelog

Detailed changes for each release are documented in the releases notes.


Supporting RNFirebase

RNFirebase is an Apache-2.0 licensed open source project. It's an independent project with its ongoing development made possible entirely thanks to the support by these awesome sponsors and backers. If you'd like to join them, please consider:

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Backers

Thank you to all our backers! 🙏 [Become a backer]

Contributing

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who have already contributed to RNFirebase!


License

Description
No description provided
Readme 20 MiB
Languages
JavaScript 44.6%
Java 31.8%
Objective-C 23.3%
Ruby 0.2%
Starlark 0.1%