Commit Graph

412 Commits

Author SHA1 Message Date
Salakar e2be5d678f [android][database] Fix for #1004 2018-04-21 23:27:35 +01:00
mike castleman eb75f78980 allow root project to specify dependency versions 2018-04-21 13:10:37 -04:00
Gilad Novik 15299429fe
allow using ringtones from RingtoneManager
when allowing users to pick a sound from RingtoneManager, RNFirebaseNotification should detect we are passing a Uri instead of trying to load this file from our bundle.
2018-04-16 19:38:32 +03:00
Chris Bianca 673855c510 [android] Update to use google() path 2018-04-13 12:12:25 +01:00
Chris Bianca b0abf23c6d [firestore] Add support for settings 2018-04-13 09:58:53 +01:00
Chris Bianca 1922a25198 [firestore] Add setLogLevel support 2018-04-13 08:41:57 +01:00
Chris Bianca 62706f9629 [notifications][android] Fix file:// for android notification images 2018-04-11 18:27:02 +01:00
Chris Bianca 5dbb6bc9fd [notifications][android] Support file:// urls for bitmaps 2018-04-10 16:14:06 +01:00
Chris Bianca eb91523478 [notifications][android] Fix incorrect array to arraylist cast #949 2018-04-10 16:02:42 +01:00
mjs daa8f9cbc0
fix cancelAlarm on android
I noticed that firebase.notifications().cancelAllNotifications() has no effect on android phones. All scheduled notifications still appear. The propsed change fixes this. It was "inspired" by https://stackoverflow.com/questions/35341682/cancel-the-scheduled-android-notification/35342066#35342066
2018-04-10 15:41:55 +02:00
Jimmy Mayoukou 2853d77935 Fix contentUrl in AdRequest on Android 2018-04-10 11:03:51 +02:00
Chris Bianca f5fa7436a9 [notifications] Add enableLights and enableVibration to AndroidChannel 2018-03-31 15:42:14 +01:00
Salakar 9511b567b9 sync with master 2018-03-28 16:28:19 +01:00
Chris Bianca 7f7169bd08 [build] Update to android tools 3.1.0 2018-03-28 15:51:08 +01:00
Chris Bianca d101813b5f [messaging][notifications] Make all methods return a promise where they didn’t previously 2018-03-28 11:02:39 +01:00
Chris Bianca 33cd0b0b13 [messaging] Handle Android exceptions when message priority not set correctly 2018-03-28 09:40:38 +01:00
Chris Bianca dd940b953b [firestore] Add support for enable / disable network 2018-03-27 17:31:25 +01:00
Chris Bianca 51721a950f [notifications] Ensure error is always logged 2018-03-27 17:08:21 +01:00
Chris Bianca 9f9a3da5af [auth] Fix issue with null photo URL when updating profile #911 2018-03-27 16:21:14 +01:00
Chris Bianca 6ff34f4daa [notifications] Add support for Android BigPictureStyle and BigTextStyle 2018-03-27 16:15:31 +01:00
Chris Bianca f5f08b716d [android] Upgrade to build tools 3.0.1 2018-03-27 15:32:10 +01:00
Michael Diarmid 8c55e84b26
Update build.gradle 2018-03-27 14:14:26 +01:00
Michael Diarmid ff7b64d458
Update build.gradle
to support new gradle versions
2018-03-27 14:10:47 +01:00
Chris Bianca 685fcf2137 [build] Enabled multiDex by default 2018-03-27 12:44:35 +01:00
Chris Bianca 56a1f1e84d [notifications] Better bundle/json conversion of list types 2018-03-27 10:57:53 +01:00
Tal Davidi 6084360676
[FIX] Syntax error in prior pull request
There was an extra parentheses added in the web view which caused the class to fail compilation.
2018-03-27 03:12:51 -04:00
Tal Davidi 4c11161f14
Add Integer serialization to JSON converter
Required to make vibration work for scheduled notifications. May need to add other types also. (Double off the top of my head)
2018-03-26 16:44:05 -04:00
Tal Davidi b02258b444
Update RNFirebaseNotificationManager.java
Retrieve vibration array as IntegerArray and check for null in case of improper usage.
2018-03-26 12:06:22 -04:00
Salakar e0d62f3945 Merge branch 'master' of https://github.com/invertase/react-native-firebase into bridge-detox 2018-03-23 22:24:49 +00:00
Salakar b386b2e521 [android] gradle version updates 2018-03-23 22:17:51 +00:00
Salakar 9811a7cbef [android] update gradle tool versions 2018-03-23 19:38:17 +00:00
Chris Bianca 8a9033457d [tests] Fix various test errors 2018-03-23 17:03:53 +00:00
Chris Bianca 7f90e485c8 [links] Refactor links to use builder classes 2018-03-23 13:24:31 +00:00
Chris Bianca 526ea04853 Merge branch 'ios-invites' 2018-03-23 11:47:28 +00:00
Chris Bianca e430a4f132 [invites] Tweaks 2018-03-23 11:38:59 +00:00
Chris Bianca 1a5253997d [database] Multi database check url format, and make logging static 2018-03-23 08:42:10 +00:00
Chris Bianca a605a703fb
Merge pull request #881 from pocketgems/multiple_databases_3.3.0_upstream
Implement multiple database shard support
2018-03-23 08:35:01 +00:00
Chris Bianca 2891027f25 [tests] Fix some configuration issues 2018-03-22 14:55:02 +00:00
Chris Bianca 53babb4cd9 [invites] Initial JS and Android invites functionality 2018-03-22 12:46:37 +00:00
Chris Bianca 26c3ed9a60 [notifications] Ensure android specific notification properties are populated 2018-03-22 08:48:00 +00:00
Akshet Pandey a9470e78c5 CR Changes 2018-03-21 13:08:46 -07:00
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e537955212 [notifications] Add support for android actions 2018-03-09 11:09:28 +00:00
Chris Bianca 54567620f7 [messaging] Bump background message timeout to 60s 2018-03-08 14:05:34 +00:00
Chris Bianca 7619548a2c Merge branch 'master' into fcm-rewrite
# Conflicts:
#	lib/modules/core/firebase.js
#	tests/ios/Podfile.lock
2018-03-08 09:32:57 +00:00
Chris Bianca 7ce7f5ae58 [messaging] Support FCM data-only messages in the background 2018-03-08 09:28:27 +00:00
Chris Bianca 57ffa9bd3e [notifications] Fix some android issues with local notifications 2018-03-07 18:29:53 +00:00
Chris Bianca 7b9269fec5 [notifications] Rename `onNotificationOpened` to `onNotificationOpen` 2018-03-06 18:20:49 +00:00
Chris Bianca b9df258402 [notifications] Android channel and channel group support 2018-03-05 08:28:13 +00:00
Salakar fdf3e0fb56 [android][fabric.crashlytics] update to SDK v2.9.1 (related to / fixes #847) 2018-03-05 00:34:06 +00:00
Michael Diarmid f1a7a13587
Merge branch 'master' into firestore-transactions 2018-03-05 00:05:37 +00:00
Chris Bianca bf2c31ca2d [tests] More auth tests 2018-03-02 09:47:13 +00:00
Salakar 80e9e99789 [firestore][android] update transaction handler to reset command buffer at the start of each cycle 2018-02-23 09:51:05 +00:00
Salakar dd1bbc87f5 [firestore][android] transactions working 2018-02-23 03:00:36 +00:00
Chris Bianca cd0ef4e3b7 [notifications] Continue android implementation 2018-02-15 14:59:21 +00:00
Chris Bianca 99b4b6550b [notifications] WIP Android implementation 2018-02-15 08:11:17 +00:00
Chris Bianca fb57dc5482 [notifications] First pass at notifications JS API 2018-02-09 17:00:03 +00:00
Chris Bianca 1ddc76616d [fcm] Fix getInitialMessage; Handle a few more android fields 2018-02-09 10:17:16 +00:00
Chris Bianca e329851c44 [ios] Android hasPermission method 2018-02-05 18:18:54 +00:00
Chris Bianca a460d8f809 [fcm] Work in progress iOS message support 2018-02-02 12:05:51 +00:00
Chris Bianca 850f04914f [fcm] Android instanceid and core fcm support; iOS instance and basic fcm support 2018-02-02 08:40:48 +00:00
Chris Bianca 5f3a9755d7 [auth] Add OAuthProvider 2018-01-24 15:21:52 +00:00
Chris Bianca 248885f03e [auth] Add verifyPasswordResetCode 2018-01-24 12:20:06 +00:00
Chris Bianca d370d002fb [auth] Add withData methods 2018-01-24 09:46:39 +00:00
Chris Bianca 9396b4fb31 [auth] Add metadata support 2018-01-19 16:19:15 +00:00
Chris Bianca cb28c458a8 Merge commit '637cd81424b9a18cdec9735492a21f06be4e7ccf' 2018-01-18 09:49:27 +00:00
Chris Bianca a0de480fc7 [auth] Some flow types and tidy up 2018-01-18 09:49:11 +00:00
Michael Diarmid c14d9292b0
Merge pull request #655 from invertase/auth-language
Set auth language #654
2018-01-17 15:23:41 +00:00
Chris Bianca 285e31df65 [auth] Remove superfluous getCurrentUser method which doesn’t exist in API 2018-01-16 17:39:27 +00:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Elliot Hesp 9d47709ffa Merge with master 2018-01-06 14:47:11 +00:00
Chris Bianca a03c445e0c [auth] Add support for state in email actions 2017-12-07 12:36:51 +00:00
Chris Bianca efeb24d168 [crashlytics] Add first version of crashlytics functionality 2017-12-06 17:25:17 +00:00
Marcel Friedrich 22ace9e3ed add smartbanner landscape for iOS 2017-12-03 19:15:26 +01:00
Elliot Hesp 0083ef7a66 [auth][android] Add languageCode getter 2017-11-30 11:41:40 +00:00
Elliot Hesp 8511705d8e [auth][android] Add methods to set the auth language via code or device language 2017-11-30 10:02:01 +00:00
Salakar 66a550b755 [android][database] add enableLogging warning messages if called after db usage 2017-11-28 14:47:36 +00:00
Salakar 99dfdfc982 [android][database] fix boolean issue 2017-11-28 12:27:38 +00:00
Salakar a94943bfc0 fix imports 2017-11-28 09:09:58 +00:00
Salakar 11e5bc2ae7 [android][firestore] added `enableLogging(boolean)` method 2017-11-28 07:41:37 +00:00
Akshet Pandey 802c54ade8 [android][messaging] Handle SecuritException in cancelAllLocalNotifications 2017-11-20 16:58:55 -08:00
Salakar 33e06f9b6e [android][database] misc todo 2017-11-08 16:09:39 +00:00
Salakar 621df87145 [android][database] added `enableLogging(boolean)` method 2017-11-08 15:59:55 +00:00
Salakar a4ca30a66f [android][database] added `setPersistenceCacheSizeBytes(bytes: integer);` 2017-11-08 11:43:59 +00:00
Salakar dda01cd8cf [android][database] added `enableLogging(boolean)` method 2017-11-08 11:43:03 +00:00
Chris Bianca 42987d2c4d Merge commit '8b54d964f8cec4d58f338f6aa2a1d5322a54fadf'
# Conflicts:
#	android/src/main/java/io/invertase/firebase/storage/RNFirebaseStorage.java
2017-11-03 08:04:32 +00:00
Peter Oxenham cf934908a3 Issue #572 - Refactored to get upload progress to report total bytes correctly 2017-11-03 09:44:04 +10:00
Chris Bianca 0391b2834d [android][storage] Fix for putFile with a content:// stream 2017-11-02 11:20:24 +00:00
Peter Oxenham 7dba72a377 Issue #572 - Fix for Storage.putFile() with content:// paths 2017-11-02 13:26:09 +10:00
Chris Bianca e6b8ce193c Merge branch 'v3.0.x' 2017-11-01 17:47:15 +00:00
Chris Bianca 270279551a [firestore] Correctly support dates, geopoints, DocumentSnapshots and other types in startAt, startAfter, etc 2017-10-31 22:18:07 +00:00
Chris Bianca 6ae0049338 [firestore] Correctly support dates, GeoPoints and other types in `where` clause 2017-10-31 15:32:08 +00:00
Chris Bianca 5e12700c35 Merge commit '36c936779b9badf72a0a3d789efafd2dcdb5ba36'
# Conflicts:
#	ios/RNFirebase.xcodeproj/project.pbxproj
#	package.json
2017-10-31 14:33:31 +00:00
Chris Bianca c2d25724ff [auth][android] Work around for native SDK missing phone number on provider data 2017-10-27 11:10:02 +01:00
Chris Bianca 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +01:00
Chris Bianca f467e2d904 [auth][android] Cache auto-verified credential for use on the native side 2017-10-26 18:17:49 +01:00
Chris Bianca 44278f59cc [auth][android] Make sure email field is populated for password providers 2017-10-26 17:06:34 +01:00
Chris Bianca 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca 9822cb34d4 [database] Correctly differentiate limitToLast and other similar clauses 2017-10-23 17:03:49 +01:00
Chris Bianca 3d57cdc634 Merge branch 'v3.0.x'
# Conflicts:
#	docs/modules/authentication.md
#	package.json
2017-10-23 09:24:45 +01:00
Chris Bianca 2c7c768522 [firestore][android] A further fix for date / timezone handling 2017-10-23 09:15:51 +01:00
Chris Bianca fc3fc6d0d2 [firestore][android] Correctly process date time zones 2017-10-18 14:29:37 +01:00
Omer Levy 252b879ef4 fix reference compare to null 2017-10-18 10:30:24 +01:00
Omer Levy aa36487ec1 temporary fix to the reference off bug 2017-10-18 10:30:24 +01:00
Chris Bianca 2d35514287 [firestore] Cleanup unused methods 2017-10-18 10:29:46 +01:00
Omer Levy 11de8dd5a9 fix reference compare to null 2017-10-18 11:36:16 +03:00
Omer Levy e4ae2609da temporary fix to the reference off bug 2017-10-18 11:27:55 +03:00
Chris Bianca 31854bae5b [auth] Update auth providers `providerId` to match official SDKs 2017-10-16 11:12:40 +01:00
chrisbianca 101a426307 Merge pull request #481 from rmrs/omer_links
Dynamic Links Support
2017-10-13 18:27:53 +01:00
Rajat Upadhyaya 6fb8b9812e #505 Retain timezone information while formatting serverTimestamp value 2017-10-13 15:29:45 +05:30
Chris Bianca f348ba8a8c [firestore] Support FieldValue.delete() and FieldValue.serverTimestamp() 2017-10-12 09:00:46 +01:00
Chris Bianca 7c95ceca5b [firestore][ios] Type map changes for iOS 2017-10-10 17:22:12 +01:00
Chris Bianca 76d77da2e5 [firestore][android] Finish type mapping work for Android 2017-10-10 15:36:08 +01:00
Omer Levy fbdc733d53 flatten dynamicLinkInfo to the top-level, move the mandatory keys validation to the javascript from the native modules and some minor fixes 2017-10-10 16:22:03 +03:00
Omer Levy a085733e03 move invalid parameters validation to javascript and remove validation from android 2017-10-09 03:42:57 +03:00
Chris Bianca 1c81da466c Merge commit 'bc92ace8edef9d5ae4f9e5d6af5eccb8cfca4443' into firestore-types
# Conflicts:
#	android/src/main/java/io/invertase/firebase/firestore/FirestoreSerialize.java
2017-10-08 19:44:39 +01:00
Chris Bianca fac2272ac3 [firestore][android] Start work on type conversion to support DocumentReference, GeoPoint, Date, etc 2017-10-08 19:40:46 +01:00
Salakar 9f07dfcd46 [android][firestore] `Long` type fix: #479 2017-10-08 16:36:01 +01:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Salakar a090bd3480 [android][utils] new utils() module - home of all non firebase utilities and library configuration options, including play services availability checks 2017-10-07 00:24:00 +01:00
Salakar b88d89b196 [android][firestore] log type rather than value on error 2017-10-06 22:37:27 +01:00
Salakar a26b6df623 [android][firestore] changes in type detection, as suggested by @mirkonasato 2017-10-06 21:45:54 +01:00
Salakar 99699e97bd [android] misc cleanup of redundant code / play services code 2017-10-06 16:19:37 +01:00
Omer Levy de6904e6f4 [android] validation of dynamicLinkInfo parameters, force using androidPackageName and tests fixes 2017-10-06 14:56:03 +03:00
Chris Bianca 2575fb4956 [firestore] Support all `onSnapshot` parameter options 2017-10-06 12:00:40 +01:00
Omer Levy 9e26d042d3 merge master into omer_links 2017-10-05 20:07:24 +03:00
Omer Levy 85b0886258 [android] fix link creation API and reject invalid arguments on creation 2017-10-05 17:48:54 +03:00
Chris Bianca 69debf7017 [firestore][ios] Add proper error codes 2017-10-05 10:32:14 +01:00
Chris Bianca f350c2b3ed [firestore] Add metadata and bring methods in sync with web SDK reference 2017-10-05 10:18:24 +01:00
Salakar 3ac88d7a6a Revert "Revert "[android] Remove backwards compatibility for 0.47.0""
This reverts commit 25314483d7.
2017-10-04 19:54:50 +01:00
Salakar 3d960fa7ba Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-10-04 19:20:21 +01:00
Salakar 25314483d7 Revert "[android] Remove backwards compatibility for 0.47.0"
This reverts commit f68c6d168e.
2017-10-04 19:17:41 +01:00
Chris Bianca 5d6f43a540 [firestore][android] Correctly deserialise firestore arrays 2017-10-04 18:58:48 +01:00
Chris Bianca c558af6480 Bump to final versions of Firestore iOS and Android libraries 2017-10-03 17:23:28 +01:00
Chris Bianca f68c6d168e [android] Remove backwards compatibility for 0.47.0 2017-10-03 16:02:41 +01:00
Chris Bianca 51074efdca Merge commit '49d29b53f21e530f5c918e472db93ee856947426' 2017-10-03 10:33:18 +01:00
Chris Bianca 22f7d77f54 [firestore] Add collection `onSnapshot` support 2017-10-03 10:12:25 +01:00
Chris Bianca cda1c27b5c [firestore][android][js] Add document `onSnapshot` support plus tests 2017-10-02 13:11:38 +01:00
Salakar 306b34d1e6 [auth][ios] add phone state event to supported events 2017-10-02 09:48:43 +01:00
Omer Levy 78ab8ebd1b [android] refactor link receive handling 2017-10-01 14:43:25 +03:00
Omer Levy 6c2c11ebb2 Merge branch 'master' into omer_links 2017-10-01 13:30:25 +03:00
Omer Levy 3db6a1839b merge master into omer_links 2017-10-01 02:17:22 +03:00
Salakar c9b49d4b7a [auth][android] misc cleanup/todo notes on verifyPhoneNumber 2017-09-30 20:08:02 +01:00
Salakar f3c7fa6ff7 [auth][android] working verifyPhone implementation 2017-09-30 19:21:26 +01:00
Omer Levy 6e18228ddd change initial link mechanism, pass intent to link handler fron onNewIntent and refactoring 2017-09-30 19:45:59 +03:00
Salakar fe74c36e5b [auth][android] attempt to get verificationId from writeToParcel 2017-09-29 11:34:44 +01:00
Salakar d3ea57f76d [android] add required permission annotations 2017-09-29 11:33:44 +01:00
Chris Bianca b4743ffa8b [firestore][tests] Tests for most of the current functionality 2017-09-28 17:48:13 +01:00
Chris Bianca f56435226d [firestore][android] Couple of fixes 2017-09-28 13:46:33 +01:00
Omer Levy 559b4f1329 [android] initial link - save the initial link and return it instead of returning null on repeated calls 2017-09-28 12:39:00 +03:00