Commit Graph

393 Commits

Author SHA1 Message Date
Salakar
c35ec3f9bc update notices 2019-02-05 04:50:07 +00:00
Salakar
bf6755e100 [config] create package 2019-02-05 04:37:29 +00:00
Salakar
90d0553c5b [crashlytics] create package 2019-02-05 04:33:29 +00:00
Salakar
296c4e4e0f [utils] create package 2019-02-05 04:31:01 +00:00
Salakar
d47830b702 [tests] initialise default app natively to work around Firebase Perf hard requirement on default app plist/json setup 2019-02-05 02:36:50 +00:00
Salakar
51e83a0adc [tests] misc 2019-02-04 18:52:25 +00:00
Salakar
074c0ec5c2 [tests] integrate perf package 2019-02-04 18:38:15 +00:00
Salakar
9b34783097 [perf] create package 2019-02-04 18:18:00 +00:00
Salakar
b095c044a5 [tests] integrate iid package 2019-02-04 18:09:05 +00:00
Salakar
c67f816701 [dev] add create firebase module from template script 2019-02-04 17:33:27 +00:00
Salakar
2787d4413e [tests] publish alpha.2 2019-02-02 12:01:09 +00:00
Salakar
e01298af22 [ios] temporarily add Firebase/Auth to podspec to work around https://github.com/firebase/firebase-ios-sdk/issues/2292 2019-02-02 11:49:49 +00:00
Salakar
666027a188 [tests] cleanup after hook 2019-02-01 11:15:01 +00:00
Salakar
cb4764c3a1 [tests] cleanup legacy helpers & tests 2019-02-01 11:14:12 +00:00
Michael Diarmid
17d778cf66 Refactor into monorepo for v6 (#1837)
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
2019-02-01 10:37:48 +00:00
Salakar
376fc52163 [tests] update pod lock 2019-01-22 06:46:58 +00:00
Salakar
4be1ae70de [tests] remove functions project 2019-01-08 20:59:02 +00:00
Salakar
e519956ca7 [ios] update native Firebase SDK versions 2019-01-04 22:22:04 +00:00
Salakar
1ebdc20d2b [android] update native Firebase SDK versions 2019-01-04 22:21:51 +00:00
Salakar
51c26282bb [tests] 2019-01-04 21:37:21 +00:00
Salakar
b73372cd2a [tests][firestore] additional tests for arrayUnion & arrayRemove 2019-01-04 21:05:40 +00:00
Salakar
6bc668c8ab [tests][firestore] added tests for #1439 #1437 #1573 #1552 - unable to reproduce 2019-01-04 18:27:45 +00:00
Salakar
d5fd178841 [ios][messaging] hasPermission now correctly returns true/false instead of 1/0 - fixes #1547 2019-01-04 13:10:43 +00:00
Salakar
a05a8c97b3 [tests][firestore] update path tests 2019-01-04 00:31:30 +00:00
Michael Diarmid
1d83962f26 [messaging] getToken/deleteToken/onTokenRefresh improvements (#1805)
[IOS] [BUGFIX] [MESSAGING] fix getToken() always returning initialToken (#1510)

[ANDROID] [NOTICE] [MESSAGING] deprecate RNFirebaseInstanceIdService in favour of FirebaseMessagingService's onNewToken event. Remove this service from your AndroidManifest.xml

[IOS] [ANDROID] [INTERNAL] [MESSAGING] getToken & deleteToken now use Firebase InstanceID token management apis (with an FCM scope).
2019-01-03 17:01:51 +00:00
Michael Diarmid
fa7b98895e Re-configure Android CI (#1488)
* [tests][wip] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] disable gradle daemon

* [tests] misc

* [tests] misc

* misc ci

* ci

* ci

* ci

* ci

* ci

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* switch to rnfb docker image

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [ios][auth] cleanup and add new auth error codes

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]
2018-12-09 19:37:11 +01:00
Michael Diarmid
831362838a [tests] iOS Firebase SDK v5.14.0 (#1735)
* Update Podfile

* Delete Podfile.lock

* Update config.yml

* Update config.yml

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]
2018-12-08 05:42:23 +01:00
Tim Wang
1ab8439748 Add enableCrashlyticsCollection to Crashlytics (#1718)
* Add enableCrashlyticsCollection to Crashlytics

* Fix typo

* Add e2e test

* Update e2e test

* Add program mark for fabric

* Update config.yml

increment yarn caching version - eslint bug

* Delete yarn.lock

* update yarn lock

* update Podfile.lock

* update Podfile.lock / yarn.lock

* update cache versions

* [tests] update podfile

* [tests][ci] remove pods cache =/

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]
2018-12-06 18:31:28 +01:00
Michael Diarmid
96aa7035ce [typescript][storage] export storage statics - fixes #1706 (#1709) 2018-11-26 14:04:39 +01:00
Rakan Nimer
a19ed879a9 Increase test coverage of Realtime Database (#1694)
Add more tests for Realtime Database

### Summary

Increases test coverage, which should be helpful when starting work on v6.

### Checklist

- [x] `e2e` tests added or updated in [/tests/e2e/\*](/tests/e2e)

### Release Plan

[TESTING][ENHANCEMENT][Database] - More tests

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-20 14:53:15 +02:00
Salakar
5b0282ed28 [core][android][ios] add app.delete() support 2018-11-05 16:46:06 +00:00
Michael Diarmid
5120121797 [ios][android] Authentication improvements (#1663)
* [internals][js] nativeWithArgs wrapper incorrectly wrapping NativeModule constants - should only wrap functions

* [ios][android][js][auth] ensure user login state is consistent across RN reloads + tests

* remove test focus

* [android][auth] clear all auth state and id token listeners between React Native reloads

* [ios][auth] clear all auth state and id token listeners between React Native reloads

* [ios][auth] cleanup and add new auth error codes
2018-11-04 04:06:40 +00:00
Salakar
424d1e8f60 [tests][ios] update Firebase pods to ~>5.11.0 2018-11-01 13:39:42 +00:00
Salakar
a734d7b706 [android] update Firebase SDK dependencies 2018-11-01 13:12:17 +00:00
Michael Diarmid
d3b9b24cca [android][database] database improvements (#1619)
- [ANDROID] [BUGFIX] [DATABASE] - Database listeners now correctly tearing down between RN reloads. (Fixes #1498 #1611 #1609)
 - [JS] [BUGFIX] [DATABASE] - Fixed an issue where `Reference.toString()` incorrectly contains `//` instead of `/` when joining the parent and child paths.
 - [JS] [BUGFIX] [DATABASE] - Rework `.push()` behaviour to match WebSDK and correctly return a Reference instance in all scenarios. (Fixes #893 #1464 #1572)
 - [JS] [ENHANCEMENT] [UTILS] - Added a `firebase.utils().database.cleanup()` utility method which removes all database listeners.
2018-10-27 05:34:09 +01:00
Andrzej Lewandowski
44c7c92acf [Android][IOS][Firestore] add arrayRemove and arrayUnion to FieldValue (#1624)
### Summary

Add methods arrayRemove and arrayUnion to work with arrays in firestore.

Fixes #1389

### Checklist
* [x]  Supports `Android`
* [x]  Supports `iOS`
* [x]  `e2e` tests added or updated in [/tests/e2e/*](/tests/e2e)
* [x]  Updated the documentation in the [docs repo](https://github.com/invertase/react-native-firebase-docs)

https://github.com/invertase/react-native-firebase-docs/pull/134

* [x]  Flow types updated
* [x]  Typescript types updated
2018-10-23 13:40:11 +01:00
Michael Diarmid
1f4f9f68b6 Update README.md 2018-10-22 13:16:46 +01:00
Felipe Waku
bf3f5001a0 Returning null as downloadUrl in upload task (#1620)
solves: #1591 using the first solution:

> 1. Still consider the invocation a success, providing downloadURL as null.

Can some maintainer help me with the new test case? I need a file with permission to upload but not to download.
2018-10-20 00:55:01 +01:00
Salakar
1b538d800f [tests] update deps 2018-10-17 19:24:55 +01:00
Salakar
b4ac1ab7b0 [tests][ios] switch to iPhone X device type for detox 2018-10-16 18:16:45 +01:00
Salakar
f7b0acdada [tests][ios] misc firestore transactions 2018-10-16 18:15:18 +01:00
Salakar
4b8d840648 [ios][notifications] fix completion crash: #1576 2018-10-16 18:14:32 +01:00
Salakar
4b0486e58a [tests][ios] update podfile.lock 2018-10-15 20:38:38 +01:00
Salakar
5b8e9763c4 [ios][firestore] transactions re-work 2018-10-15 20:14:48 +01:00
Salakar
7992f6e359 [ios] update project file
[ios] update firebase sdks to v5.10.0
2018-10-14 16:43:29 +01:00
Salakar
af4b2f8681 [android] update firebase sdk dependencies 2018-10-12 18:09:43 +01:00
Salakar
3eea8dd011 [android][tests] update gradle to 4.6 2018-10-12 18:09:01 +01:00
Salakar
35a393fcc9 [tests] misc 2018-09-27 09:59:04 +01:00
Salakar
ed68f29178 [ios][tests] update to v5.9.0 iOS SDKs 2018-09-25 22:40:56 +01:00
Salakar
6ac1ae8e88 [tests][auth] remove fetchProvidersForEmail usage - fn no longer exists 2018-09-25 19:03:00 +01:00