Commit Graph

3618 Commits

Author SHA1 Message Date
Mike Diarmid
67bbd30a34 chore: upgrade testing project to RN 0.62.x (#3433)
* chore: upgrade testing project to RN 0.62.x

* add placeholder flow script for CI

* update jet to fix iOS issue

* revert typedoc version (latest version not working)

* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually

* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually

* temporarily use iphone x for detox until CI servers upgraded

* -

* Update package.json

* Update on.e2e.js

* Update orderByValue.e2e.js

* Update on.e2e.js

* Update init.js

* -
2020-04-14 21:14:44 +01:00
Denzil Doyle
82c6439d84 docs(auth): fix syntax error in examples (#3442) 2020-04-14 15:52:20 +01:00
Elliot Hesp
5077ec57bf docs(*): Add note about expo support 2020-04-13 09:06:46 +01:00
Elliot Hesp
bb3d8d3de1 docs(messaging): update messaging changelog 2020-04-12 11:22:02 +01:00
Elliot Hesp
841be92f8f docs(messaging): update ios permissions 2020-04-12 11:20:25 +01:00
Lisa Oppermann
ff8b1ce12b docs: update database usage with switching database URL (#3431)
* docs: update database usage with switching database URL

I struggled a while with finding out how to switch the database URL for the [DEFAULT] firebase instance during runtime.
With version 5 it was very easy with simply passing the databaseURL to the database module.

The docs did not help unfortunately, so I tried a lot of ways which are documented in this ticket:
https://github.com/invertase/react-native-firebase/issues/3049

This PR shall help other people with the same situation too.

Furthermore, I hope to get valid feedback if the proposed implementation documented in this PR is actually correct.

* refactor: move section above firebase.json

* refactor: change section title

* refactor: remove title, fix typo

* refactor: fix typo

* refactor: feedback from review
2020-04-10 13:37:06 +01:00
Chris Anderson
adfd0777db docs: fixes typo in iOS setup docs (#3435)
this is the iOS setup page.
2020-04-10 09:47:07 +01:00
Mike Diarmid
3d55b0978a docs(messaging): fix permissions docs 2020-04-08 19:06:40 +01:00
Mike Diarmid
183b05c81a docs(functions): fix typos & tweak wording 2020-04-08 18:23:55 +01:00
Mike Diarmid
a2bb98ed95 docs(database): fix typos & tweak wording 2020-04-08 17:59:22 +01:00
Salakar
926aab83c2 docs(release): tweak v6.4.0 notes 2020-04-08 12:15:52 +01:00
ehesp
88b58eba1b docs(*): move enabling multidex to root 2020-04-08 08:43:54 +01:00
ehesp
670f0b19b1 docs(*): add app manual install pages 2020-04-07 08:55:14 +01:00
Elliot Hesp
a0c7dd35d3 Merge pull request #3398 from DipanshKhandelwal/patch-1
Update phone-auth.md
2020-04-06 22:08:34 +01:00
Dipansh Khandelwal
40c799f897 Update phone-auth.md 2020-04-06 04:13:16 +05:30
Dipansh Khandelwal
52d9cd0072 Update phone-auth.md 2020-04-06 03:36:02 +05:30
Russell Wheatley
b3be59f89b docs: v6.4.0 changelog & md formatting (#3392) 2020-04-04 03:08:19 +01:00
Mike Diarmid
12a7c75b87 docs: add legacy docs link to sidebar 2020-04-03 16:22:13 +01:00
Mike Diarmid
c6a350e70a docs: add link to legacy docs 2020-04-03 16:20:44 +01:00
Salakar
963e32cab5 chore(release): v6.4.0 2020-04-03 14:44:17 +01:00
Salakar
aa127b8444 chore(release): v6.4.0 2020-04-03 14:41:40 +01:00
Elliot Hesp
8bec525f40 Add note about v5 docs location 2020-04-03 14:32:59 +01:00
Darren Ackers
8e99b9cb90 fix(storage): fixed a bug with parsing encoded urls (#3369)
* fix(firestore-storage): fixed a bug with parsing encoded urls

* Reverted emulator name for ios

* reverted detox library
2020-04-03 14:30:24 +01:00
Sampo Juustila
eebfb04a7c fix(analytics): logEvent params can be objects, further fix for… (#3351)
* fix(analytics): pass logEvent params as-is broken in #3219
* fix(types,analytics): logEvent types for #3219
* refactor(types,analytics): simplify logEvent type
2020-04-03 14:26:56 +01:00
Justin Huntington
73511472bd fix(functions): throw UNAVAILABLE code on network IO errors (#3327) 2020-04-03 14:20:53 +01:00
Salakar
c7a02a1658 chore(docs): prettier & gen new typedocs 2020-04-03 14:12:50 +01:00
Elliot Hesp
68c6bce140 chore(docs): migrate to new docs website (#3389) 2020-04-03 14:00:59 +01:00
Salakar
432ad63a6f refactor(docs): change links to new site 2020-04-03 14:00:00 +01:00
Elliot Hesp
eddd76fced Update README.md 2020-04-03 13:01:35 +01:00
Mike Diarmid
530f8bbb51 feat(ios): allow static_framework usage via Podfile global (#3388)
First pass at addressing #3253 to allow release in 6.4.0. For v7.0.0 we should make the default value true along with the RN min version set to 0.61.x +
2020-04-02 18:29:13 +01:00
Russell Wheatley
8adef653fa fix(auth): user.metadata uses ISO strings (#3360)
* fix(auth): user.metadata uses ISO strings

* chore(auth): move code to metadata getter

* chore(auth): refactor user.metadata

* test(auth): metadata props are milliseconds
2020-03-31 07:28:56 +01:00
Russell Wheatley
b90a736fc8 fix(firestore): improve query validation (#3320)
* fix(firestore): improve validation
* chore(firestore):use toPath() method
* test(firestore):where & orderBy validation

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-03-27 17:36:45 +00:00
Russell Wheatley
ea1962270b feat(storage): made put method return Task. added snapshot API.
* feat(storage): snapshot prop on Task. put is Task

* removed this._task from StorageReference

* Apply suggestions from code review

not awaiting promise

Co-Authored-By: Mike Diarmid <mike.diarmid@gmail.com>

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-03-27 16:51:47 +00:00
Elliot Hesp
d66a6118f8 feat(messaging): ios & android messaging updates & fixes (#3339)
See PR #3339 for changes.

Co-authored-by: Salakar <mike.diarmid@gmail.com>
2020-03-27 00:06:30 +00:00
Mike Hardy
d65e6341a4 Avoid out-of-memory in Android build
Fixes #3154 by allowing gradle to have more than the default memory
Firebase dependencies are pretty heavy and the build will fail otherwise
2020-03-25 17:03:06 -05:00
Mike Diarmid
65ec7eb431 fix(types,analytics): logEvent types for #3219 2020-03-25 14:31:00 +00:00
Elliot Hesp
77a213a569 chore(analytics): remove useless type 2020-03-24 12:02:24 +00:00
Russell Wheatley
1661f6e084 fix(dynamic-links): missing 'return' statement (#3318) 2020-03-18 09:47:50 +00:00
EzlyJohnnie
54bc6f8403 fix(dynamic-links,ios): links options not correctly applied (#3316)
Co-authored-by: Johnnie Cheng <Xiaojun.Cheng@thewarehouse.co.nz>
2020-03-18 09:32:27 +00:00
Elliot Hesp
cf0bbdcaf0 feature(messaging): android messaging upgrade (#3309)
* messaging receiver updates / initial notification handling

* Attach Notification to RemoteMessage

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-03-17 11:51:36 +00:00
Kazuki
3b129dcc00 fix(messaging): allow RNFirebaseMessagingHeadlessTask to run in… (#3311) 2020-03-17 11:42:02 +00:00
russellwheatley
95ec0668d2 Merge branch 'cark1-fix-registerForRemoteNotif...' 2020-03-12 18:06:47 +00:00
russellwheatley
ea66c683ca fix(messaging): registerRemoteNotifictions 2020-03-12 18:04:57 +00:00
Pablo Kebees
5cf7314811 Merge pull request #3087 from invertase/@phaen/fiestore-type-parameters
Added Firestore type parameters
2020-03-12 15:57:17 +01:00
Pablo Kebees
df0a4589d0 Merge branch 'master' into @phaen/fiestore-type-parameters 2020-03-12 15:42:14 +01:00
Ely Alvarado
bd4dc06a05 fix(messaging): fix remote notification tokens
* Don't abort registerForRemoteNotifications

The native call to `registerForRemoteNotifications` shouldn't be aborted even if `isRegisteredForRemoteNotifications` returns `true`. This is because after successful registration on the first boot, on successive boots the app `isRegisteredForRemoteNotifications` will return true, and then `registerForRemoteNotifications` won't be called again and therefore the APNSToken will never be set (because it is only set on the `didRegisterForRemoteNotificationsWithDeviceToken` swizzled by the `FIRMessagingRemoteNotificationsProxy`)

* Set APNSToken on didRegisterForRemoteNotificationsWithDevicetoken

This is what `FIRMessagingRemoteNotificationsProxy` does, and doing it here seems to avoid the race condition caused by `didRegisterForRemoteNotificationsWithDeviceToken` here being executed first and resolving the promise before the token is set (at least on iOS 12). It doesn't do any damage anyway to do it here first anyway.

Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>
2020-03-12 14:27:19 +00:00
Pablo Kebees
0f7bf3cafa Removed Typescript from example 2020-03-12 13:10:46 +01:00
Pablo Kebees
d67c099fc9 Merge pull request #3234 from svbutko/patch-1
Convert ShortLinkType to enum from interface
2020-03-12 10:47:26 +01:00
Pablo Kebees
c6949d0830 Merge branch 'master' into patch-1 2020-03-12 10:19:55 +01:00
ehesp
bf5271ef46 chore(firestore) remove "HTML" tags from comment blocks 2020-03-04 15:41:35 +00:00