Commit Graph

1946 Commits

Author SHA1 Message Date
Salakar 3668f15244 [android][auth] add support for `ForceResendingToken`, closes #721 2018-07-08 16:31:41 +01:00
Salakar 91a9c4744c [tests][android] update to com.google.firebase:firebase-messaging:17.1.0 2018-07-08 16:22:55 +01:00
Salakar 03dfbbdd47 [android][auth] add support for `ForceResendingToken`, closes #721 2018-07-08 16:22:16 +01:00
Salakar bd1da5fd70 [android] update to com.google.firebase:firebase-messaging:17.1.0 2018-07-08 14:37:14 +01:00
Michael Diarmid 67563a0a48
Update Bug_report.md 2018-07-07 04:10:04 +01:00
Salakar 9d90a99fb0 [storage][js][android] make paths consistent - without trailing slashes in `firebase.storage.Native.X` #1200 2018-07-07 03:32:57 +01:00
Salakar a8719338c0 [js][internals] cleanup old utils + add stripTrailingSlash util 2018-07-07 03:31:26 +01:00
Salakar 2bad8c9f95 misc project files 2018-07-07 03:19:29 +01:00
Salakar c13c81f36d [storage][ios] fix automatic mime/content type detection for storage meta 2018-07-07 03:10:35 +01:00
Salakar d59ee569b6 [storage][android] fix automatic mime/content type detection for storage meta 2018-07-07 03:03:14 +01:00
Salakar 259f8f8d1b [storage][js] automatically attempt to call `decodeURI` on `putFile` paths 2018-07-07 02:30:23 +01:00
Michael Diarmid be048e9d39
Update README.md 2018-07-06 11:07:50 +01:00
Michael Diarmid 654c6813d1
Merge pull request #1269 from 7kfpun/master
Update fabric tools version to 1.25.4
2018-07-03 20:13:47 +01:00
kf 6d64ae8bc3 Update fabric tools version to 1.25.4 2018-07-03 23:23:40 +08:00
Chris Bianca a79bf81418 [firestore] Add support for `GetOptions` #1248 2018-07-03 16:03:43 +01:00
Michael Diarmid 43615ffcf6
Merge pull request #869 from ovaris/master
Flow type: Modifies db Reference push() to return ThenableReference
2018-07-01 17:36:41 +01:00
Michael Diarmid 5d2c20428c
Update Bug_report.md 2018-07-01 16:41:55 +01:00
Michael Diarmid b9a01fedaa
Update Bug_report.md 2018-07-01 16:41:35 +01:00
Michael Diarmid 5d2be2885a
Update Bug_report.md 2018-07-01 14:23:38 +01:00
Michael Diarmid 39058ac186
Merge pull request #1253 from wasedaigo/master
Prevent crashes on 32bit devices
2018-06-29 14:37:06 +01:00
Daigo Sato b87c3ba7f8 Prevent crashes in 32-bit devices 2018-06-25 22:16:55 -07:00
Michael Diarmid c291623af3
Merge pull request #1193 from caseyt/android-dynamic-config
Allow Android apps to use initializeApp() to configure firebase database
2018-06-25 16:59:29 +01:00
Elliot Hesp 2726b69b50
Merge pull request #1243 from jamespearson/patch-1
Update README.md
2018-06-25 13:43:19 +01:00
James Pearson 55957a4125
Update README.md
The OCD in me couldn't have that icon out of line with the others
2018-06-24 11:54:12 +01:00
Chris Bianca afb511f968
Merge pull request #1235 from ifsnow/fix-notification-android-defaults
[Android] Fix setDefaults in Notifications.
2018-06-21 08:46:21 +01:00
ifsnow cbb35a0223 [Android] Fix setDefaults in Notifications. 2018-06-21 15:34:30 +09:00
Chris Bianca c4a11fa629 [config][types] Remove duplicate 2018-06-19 08:06:42 +01:00
Chris Bianca 3b3d013656 [config][types] Tweak types for remote config 2018-06-19 07:15:51 +01:00
Chris Bianca 90febd6f25
Merge pull request #1226 from Ken-Lim/master
Add type definition for RemoteConfig module
2018-06-19 07:13:37 +01:00
Ken Lim 1a1c91d5db Add type definition for RemoteConfig module 2018-06-19 12:08:30 +08:00
Chris Bianca d7d6124fc8
Merge pull request #1215 from ctaintor/add_instanceid_methods
adds support for getToken(string,string) and deleteToken()
2018-06-18 15:02:18 +01:00
Case Taintor 96783d46eb adds getToken(string,string) and deleteToken(string,string) to typings 2018-06-18 15:59:21 +02:00
Case Taintor 3652a05848 adds support for getToken(string,string) and deleteToken(string,string) to iid 2018-06-17 20:32:38 +02:00
Chris Bianca 88e232199b Merge branch 'master' of https://github.com/invertase/react-native-firebase 2018-06-17 16:36:12 +01:00
Chris Bianca 9e549d60b1 [firestore][typings] Add better type for DocumentChange.type #1180 2018-06-17 16:35:02 +01:00
Chris Bianca 69b2921ec2
Merge pull request #1164 from geriux/master
[Android] Support for areNotificationsEnabled
2018-06-17 16:27:03 +01:00
Chris Bianca a32cb27c43 [notifications][android] Rename variable 2018-06-17 16:19:55 +01:00
Chris Bianca fbc72dc2e3
Merge pull request #1221 from aMarCruz/drawable-resources
Adds support for drawable resources to AndroidNotification
2018-06-17 16:16:54 +01:00
Chris Bianca ab3557378e
Merge pull request #1220 from aMarCruz/importance-none
Closes #1213 : Incorrect definition of Android.Importance.None
2018-06-17 16:12:36 +01:00
Chris Bianca 00731cf10e Fix eslint error 2018-06-17 16:10:25 +01:00
Chris Bianca 8ee6e667e3
Merge pull request #1219 from aMarCruz/set-visibility
Closes #1216 : AndroidNotification.setVisibility does not exists
2018-06-17 16:09:01 +01:00
Chris Bianca cb05d63236 [auth] Update typings as per #1185 2018-06-17 16:07:23 +01:00
Chris Bianca 34545f1b6e
Merge pull request #1185 from sowdri/pr/phone-auth-listener-typings
Updated typings for PhoneAuthListener
2018-06-17 16:06:19 +01:00
Chris Bianca 3409e2d0c2 [android] Remove unnecessary rnpm post install step 2018-06-17 15:59:53 +01:00
Chris Bianca dae0645006 [android] Update to latest version of android libs; Fix compilation issues 2018-06-17 15:59:47 +01:00
aMarCruz b092ad1cd2 Adds support for drawable resources to AndroidNotification 2018-06-16 16:51:53 -05:00
aMarCruz c3c4c48ce1 Closes #1213 : Incorrect definition of Android.Importance.None 2018-06-16 15:20:18 -05:00
aMarCruz 962880518e Closes #1216 : firebase.notifications.AndroidNotification.setVisibility does not exists 2018-06-16 14:56:55 -05:00
Michael Diarmid bee7c7851f
Merge pull request #1195 from EvanBacon/@evanbacon/thread-deadlock-bug
Fixed Deadlock
2018-06-08 23:48:23 +01:00
Evan Bacon cca3c13d2d Fixed Deadlock
Running this in a detached expo app can sometimes deadlock from thread issues.
I've replaced `dispatch_sync(dispatch_get_main_queue(), ^{});`  with `RCTUnsafeExecuteOnMainQueueSync(^{});` to fix this.

I only hit the error in the `RNFirebaseStorage.m` but it seems like the `RNFirebaseAnalytics.m` and `RNFirebase.m` modules could also have this same issue.

`RCTUnsafeExecuteOnMainQueueSync` checks to see if the method is being executed on the main thread before trying to sync to the main thread. If you try to sync on the main thread whilst on the main thread, you hit a deadlock.

You can read more about it here: https://stackoverflow.com/questions/12379059/why-is-this-dispatch-sync-call-freezing?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

The only testing I did was in a seperate detached ExpoKit project. Running this function would cause the crash.
```js
await firebase
      .storage()
      .ref(uploadUri)
      .putFile(uri);
```
2018-06-08 14:44:48 -07:00